Add D&D item event extractor

This commit is contained in:
2026-07-25 21:49:24 +00:00
parent f320c2fcee
commit f51b22bea7
16 changed files with 966 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "notarius.dnd.item_events.llm",
"type": "object",
"additionalProperties": false,
"required": ["events"],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name", "kind", "source_refs"],
"properties": {
"name": {"type": "string"},
"kind": {"type": "string"},
"quantity": {"type": "integer"},
"from": {"type": "string"},
"to": {"type": "string"},
"source_refs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["start_segment", "end_segment"],
"properties": {
"start_segment": {"type": "integer"},
"end_segment": {"type": "integer"}
}
}
}
}
}
}
}
}