Close out the D&D combat turn extraction roadmap

This commit is contained in:
2026-07-21 07:49:57 -05:00
parent a1f5dce405
commit 110593ece1
15 changed files with 318 additions and 804 deletions

View File

@@ -13,66 +13,54 @@
"required": ["actor", "turn_kind", "round", "actions", "summary", "source_refs"],
"properties": {
"actor": {
"type": "string",
"minLength": 1
"type": "string"
},
"turn_kind": {
"type": "string",
"enum": ["turn", "reaction", "legendary_action", "lair_action", "other"]
"type": "string"
},
"round": {
"type": ["integer", "null"],
"minimum": 1
"type": ["integer", "null"]
},
"actions": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["category", "declaration", "targets", "resolution"],
"properties": {
"category": {
"type": "string",
"enum": ["attack", "spell", "movement", "item", "ability_check", "saving_throw", "condition", "other"]
"type": "string"
},
"declaration": {
"type": "string",
"minLength": 1
"type": "string"
},
"targets": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
"type": "string"
}
},
"resolution": {
"type": ["string", "null"],
"minLength": 1
"type": ["string", "null"]
}
}
}
},
"summary": {
"type": "string",
"minLength": 1
"type": "string"
},
"source_refs": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["start_unit_id", "end_unit_id"],
"properties": {
"start_unit_id": {
"type": "integer",
"minimum": 1
"type": "integer"
},
"end_unit_id": {
"type": "integer",
"minimum": 1
"type": "integer"
}
}
}