{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://example.local/structured_events.schema.json", "type": "object", "required": ["summary", "events"], "properties": { "summary": { "type": "string", "minLength": 1 }, "events": { "type": "array", "minItems": 1, "items": { "type": "object", "required": ["title", "type"], "properties": { "title": {"type": "string", "minLength": 1}, "type": {"type": "string", "enum": ["combat", "social", "travel", "discovery", "other"]}, "notes": {"type": "string"} }, "additionalProperties": false } } }, "additionalProperties": false }