Added subfolders to the schemas subtree

This commit is contained in:
2026-05-15 08:59:00 -05:00
parent 77daefce5b
commit 7f76534af0

View File

@@ -0,0 +1,27 @@
{
"$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
}