package spells type extractionResponse struct { SpellCasts []spellCastResponse `json:"spell_casts"` } type spellCastResponse struct { Caster string `json:"caster"` Spell string `json:"spell"` Effect string `json:"effect"` NarrativeDescription string `json:"narrative_description"` SourceRefs []spellSourceRefResponse `json:"source_refs"` } type spellSourceRefResponse struct { StartUnitID int `json:"start_unit_id"` EndUnitID int `json:"end_unit_id"` }