Add D&D location occurrence extractor

This commit is contained in:
2026-08-04 00:18:16 +00:00
parent 7715baa1f6
commit 06170e1f65
15 changed files with 994 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package locationoccurrences
type extractionResponse struct {
Occurrences []occurrenceResponse `json:"occurrences"`
}
type occurrenceResponse struct {
LocationID string `json:"location_id"`
Name string `json:"name"`
Kind string `json:"kind"`
SourceRefs []occurrenceSourceRefResponse `json:"source_refs"`
}
type occurrenceSourceRefResponse struct {
StartUnitID int `json:"start_unit_id"`
EndUnitID int `json:"end_unit_id"`
}