package locationregistry type extractionResponse struct { Locations []locationResponse `json:"locations"` } type locationResponse struct { Name string `json:"name"` SourceRefs []locationSourceRefResponse `json:"source_refs"` } type locationSourceRefResponse struct { StartUnitID int `json:"start_unit_id"` EndUnitID int `json:"end_unit_id"` }