{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/latest.json",
  "title": "ProActions AI-Kit Configuration Schema",
  "description": "Schema for ProActions AI-Kit configuration files",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/em-al-wi/proactions-schema/main/schema/ai-kit.schema.json",
    "sourceSha256": "1251eafdc90ad800ae9bccb28e3e9b7fabdf7b2fb21c4cf099571bd6b3bb5672",
    "fileMatch": [
      "*.ai-kit.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "AI_KIT": {
      "type": "object",
      "description": "Root configuration object for AI-Kit",
      "properties": {
        "SERVICES": {
          "oneOf": [
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-services.schema.json"
            },
            {
              "type": "string",
              "description": "Path to an external services file using !include directive"
            }
          ]
        },
        "TEXT_MENU": {
          "oneOf": [
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-floatingMenu.schema.json"
            },
            {
              "type": "string",
              "description": "Path to an external text menu file using !include directive"
            }
          ]
        },
        "ONECLICK_MENU": {
          "oneOf": [
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-floatingMenu.schema.json"
            },
            {
              "type": "string",
              "description": "Path to an external oneclick menu file using !include directive"
            }
          ]
        },
        "SLASH_MENU": {
          "oneOf": [
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-floatingMenu.schema.json"
            },
            {
              "type": "string",
              "description": "Path to an external slash menu file using !include directive"
            }
          ]
        },
        "TEMPLATES": {
          "oneOf": [
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-templates.schema.json"
            },
            {
              "type": "string",
              "description": "Path to an external file using !include directive"
            }
          ]
        },
        "SECTIONS": {
          "type": "array",
          "description": "Sections defining the grouping of actions in the UI",
          "items": {
            "oneOf": [
              {
                "$ref": "https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-section.schema.json"
              },
              {
                "type": "string",
                "description": "Path to an external file using !include directive"
              }
            ]
          }
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "AI_KIT"
  ]
}
