{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "KnowledgeBaseEntry",
"type": "object",
"required": ["id", "title", "description", "category", "tags", "host_targets", "complexity", "card"],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9-]+(/[a-z0-9-]+)*$"
},
"title": { "type": "string", "minLength": 3, "maxLength": 120 },
"description": { "type": "string", "maxLength": 500 },
"category": { "type": "string", "minLength": 1, "maxLength": 60 },
"tags": {
"type": "array",
"items": { "type": "string" },
"minItems": 1
},
"use_cases": {
"type": "array",
"items": { "type": "string" }
},
"host_targets": {
"type": "array",
"items": {
"enum": ["generic", "teams", "outlook", "webchat", "windows", "viva_connections", "webex"]
},
"minItems": 1
},
"complexity": { "enum": ["basic", "intermediate", "advanced"] },
"card": { "type": "object" },
"notes": { "type": "string", "maxLength": 2000 }
}
}