Files
notarius/internal/modules/dnd/extract/npcs/model.go

16 lines
333 B
Go
Raw Normal View History

2026-07-21 02:24:26 +00:00
package npcs
type extractionResponse struct {
NPCs []npcResponse `json:"npcs"`
}
type npcResponse struct {
2026-07-22 18:51:26 +00:00
Name string `json:"name"`
SourceRefs []npcSourceRefResponse `json:"source_refs"`
2026-07-21 02:24:26 +00:00
}
type npcSourceRefResponse struct {
2026-07-22 14:38:35 +00:00
StartUnitID int `json:"start_unit_id"`
EndUnitID int `json:"end_unit_id"`
2026-07-21 02:24:26 +00:00
}