{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://raidcli.dev/schema/v1/raid-repo.schema.json",
    "title": "Raid Repository Configuration",
    "description": "Configuration for a single repository.",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "name": {
            "type": "string",
            "description": "The name of the repository"
        },
        "branch": {
            "type": "string",
            "description": "The branch to checkout"
        },
        "environments": {
            "$ref": "https://raidcli.dev/schema/v1/raid-defs.schema.json#/properties/environments"
        },
        "install": {
            "$ref": "https://raidcli.dev/schema/v1/raid-defs.schema.json#/properties/install"
        },
        "commands": {
            "$ref": "https://raidcli.dev/schema/v1/raid-defs.schema.json#/properties/commands"
        },
        "verify": {
            "$ref": "https://raidcli.dev/schema/v1/raid-defs.schema.json#/$defs/verifyArray"
        }
    },
    "required": ["name","branch"]
}
