{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/the-driscoll-com/json-schema/the-driscoll-com-knowledge-response-schema.json",
  "title": "KnowledgeResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/the-driscoll-com-openapi.json#/components/schemas/KnowledgeResponse",
  "type": "object",
  "required": [
    "gateway",
    "sectionIndex",
    "knowledge"
  ],
  "properties": {
    "gateway": {
      "$ref": "#/$defs/GatewayMetadata"
    },
    "sectionIndex": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SectionIndexItem"
      }
    },
    "knowledge": {
      "type": "object"
    }
  },
  "$defs": {
    "GatewayMetadata": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "schemaVersion",
        "gatewayVersion",
        "catalogueVersion",
        "classification",
        "readOnly",
        "authenticationRequired",
        "directBooking",
        "actionsAvailable",
        "liveAvailabilityIncluded"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "1.0.0"
        },
        "gatewayVersion": {
          "type": "string",
          "const": "2.4.3"
        },
        "catalogueVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Reference version from the root llms-full.txt, not the plugin release version; SHA-256 identifier when no reference version is declared."
        },
        "classification": {
          "type": "string",
          "const": "static-public-knowledge"
        },
        "readOnly": {
          "type": "boolean",
          "const": true
        },
        "authenticationRequired": {
          "type": "boolean",
          "const": false
        },
        "directBooking": {
          "type": "boolean",
          "const": false
        },
        "actionsAvailable": {
          "type": "boolean",
          "const": false
        },
        "liveAvailabilityIncluded": {
          "type": "boolean",
          "const": false
        }
      }
    },
    "SectionIndexItem": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "kind",
        "title",
        "url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "property",
            "support",
            "resources",
            "policy"
          ]
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}