mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
42 lines
No EOL
1.5 KiB
JSON
42 lines
No EOL
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"title": "SearchContext",
|
|
"description": "Search context",
|
|
"properties": {
|
|
"include": {
|
|
"type": "array",
|
|
"description": "List of repositories to include in the search context. Expected to be formatted as a URL without any leading http(s):// prefix (e.g., 'github.com/sourcebot-dev/sourcebot'). Glob patterns are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"examples": [
|
|
[
|
|
"github.com/sourcebot-dev/**",
|
|
"gerrit.example.org/sub/path/**"
|
|
]
|
|
]
|
|
},
|
|
"exclude": {
|
|
"type": "array",
|
|
"description": "List of repositories to exclude from the search context. Expected to be formatted as a URL without any leading http(s):// prefix (e.g., 'github.com/sourcebot-dev/sourcebot'). Glob patterns are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"examples": [
|
|
[
|
|
"github.com/sourcebot-dev/sourcebot",
|
|
"gerrit.example.org/sub/path/**"
|
|
]
|
|
]
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Optional description of the search context that surfaces in the UI."
|
|
}
|
|
},
|
|
"required": [
|
|
"include"
|
|
],
|
|
"additionalProperties": false
|
|
} |