{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "notarius.dnd.spells.llm", "type": "object", "additionalProperties": false, "required": ["spell_casts"], "properties": { "spell_casts": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "caster", "spell", "source_refs" ], "properties": { "caster": { "type": "string", "description": "Canonical in-world character or creature that casts the spell, never the human player, transcript speaker, or GM when the in-world caster can be identified." }, "spell": { "type": "string", "description": "Canonical spell name from the provided spell-name catalog." }, "source_refs": { "type": "array", "description": "Transcript ranges offered as evidence for the caster, spell name, and casting event in this spell-cast object.", "items": { "type": "object", "additionalProperties": false, "required": ["start_unit_id", "end_unit_id"], "properties": { "start_unit_id": { "type": "integer" }, "end_unit_id": { "type": "integer" } } } } } } } } }