# getZoningCodes

List the zoning codes available for a location (by state + city id or county FIPS). Returns a plain list of zoning-code strings.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getZoningCodes", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `state`: `StateEnum` (one of `AL`, `AK`, `AZ`, `AR`, `AS`, `CA`, `CO`, `CT`, `DE`, `DC`, `FL`, `GA`, `GU`, `HI`, `ID`, `IL`, `IN`, `IA`, `KS`, `KY`, `LA`, `ME`, `MD`, `MA`, `MI`, `MN`, `MS`, `MO`, `MT`, `NE`, `NV`, `NH`, `NJ`, `NM`, `NY`, `NC`, `ND`, `MP`, `OH`, `OK`, `OR`, `PA`, `PR`, `RI`, `SC`, `SD`, `TN`, `TX`, `TT`, `UT`, `VT`, `VA`, `VI`, `WA`, `WV`, `WI`, `WY`)
- `cityId`: `String`
- `countyFips`: `String`

## Response (data, an example)

```json
{
  "property": {
    "getZoningCodesByLocation": [
      "…"
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getZoningCodes",
    "variables": {}
  }'
```
