{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/raid-repo-configuration/latest.json",
  "title": "Raid Repository Configuration",
  "description": "Configuration for a single repository.",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/8bitAlex/raid/main/schemas/raid-repo.schema.json",
    "sourceSha256": "6b580cfee6475e9d76d6a68079477df8d03771bfa2612aabd06787a4269d8e3f",
    "fileMatch": [
      "raid.yaml",
      "raid.yml",
      "raid.json"
    ],
    "parsers": [
      "json",
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the repository"
    },
    "branch": {
      "type": "string",
      "description": "The branch to checkout"
    },
    "environments": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/raid-repo-configuration/_shared/latest--raid-defs.schema.json#/properties/environments"
    },
    "install": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/raid-repo-configuration/_shared/latest--raid-defs.schema.json#/properties/install"
    },
    "commands": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/raid-repo-configuration/_shared/latest--raid-defs.schema.json#/properties/commands"
    }
  },
  "required": [
    "name",
    "branch"
  ],
  "additionalProperties": false
}
