{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://streamwizard.de/.well-known/ai-index.schema.json",
  "title": "StreamWizard AI Knowledge Index Schema",
  "type": "object",
  "required": [
    "id",
    "name",
    "version",
    "last_updated",
    "publisher",
    "agent_guidance",
    "discovery_documents",
    "canonical_entities",
    "public_pages",
    "intent_routing",
    "answer_policy",
    "excluded_paths"
  ],
  "properties": {
    "id": { "type": "string", "format": "uri" },
    "name": { "type": "string" },
    "version": { "type": "string" },
    "last_updated": { "type": "string", "format": "date" },
    "publisher": { "type": "object" },
    "purpose": { "type": "string" },
    "agent_guidance": { "type": "object" },
    "discovery_documents": { "type": "object" },
    "canonical_entities": { "type": "array", "items": { "type": "object" } },
    "public_pages": { "type": "array", "items": { "type": "object" } },
    "intent_routing": { "type": "array", "items": { "type": "object" } },
    "answer_policy": { "type": "object" },
    "excluded_paths": { "type": "array", "items": { "type": "string" } },
    "schema_org_graph": { "type": "object" }
  },
  "additionalProperties": true
}
