2026-07-08 10:43:39 -05:00
{
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
2026-08-05 14:59:03 +00:00
"$id" : "notarius.dnd.spells.llm" ,
2026-07-08 10:43:39 -05:00
"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" ,
2026-07-20 20:25:23 -05:00
"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."
2026-07-08 10:43:39 -05:00
} ,
"spell" : {
"type" : "string" ,
2026-07-20 20:25:23 -05:00
"description" : "Canonical spell name from the provided spell-name catalog."
2026-07-08 10:43:39 -05:00
} ,
"source_refs" : {
"type" : "array" ,
2026-07-22 19:01:58 +00:00
"description" : "Transcript ranges offered as evidence for the caster, spell name, and casting event in this spell-cast object." ,
2026-07-08 10:43:39 -05:00
"items" : {
"type" : "object" ,
"additionalProperties" : false ,
"required" : [ "start_unit_id" , "end_unit_id" ] ,
"properties" : {
"start_unit_id" : {
2026-07-22 14:38:35 +00:00
"type" : "integer"
2026-07-08 10:43:39 -05:00
} ,
"end_unit_id" : {
2026-07-22 14:38:35 +00:00
"type" : "integer"
2026-07-08 10:43:39 -05:00
}
}
}
}
}
}
}
}
}