{
    "$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/**"
                ]
            ]
        },
        "includeConnections": {
            "type": "array",
            "description": "List of connections to include in the search context.",
            "items": {
                "type": "string"
            }
        },
        "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/**"
                ]
            ]
        },
        "excludeConnections": {
            "type": "array",
            "description": "List of connections to exclude from the search context.",
            "items": {
                "type": "string"
            }
        },
        "description": {
            "type": "string",
            "description": "Optional description of the search context that surfaces in the UI."
        }
    },
    "additionalProperties": false
}