Weather.gov · JSON Structure

Weather Gov Zone Structure

Zone schema from weather.gov API

Type: object Properties: 18
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Zone is a JSON Structure definition published by Weather.gov, describing 18 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

@context geometry @id @type id type name effectiveDate expirationDate state forecastOffice gridIdentifier awipsLocationIdentifier cwa forecastOffices timeZone observationStations radarStation

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weather-gov/refs/heads/main/json-structure/weather-gov-zone-structure.json",
  "name": "Zone",
  "description": "Zone schema from weather.gov API",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeometryString"
    },
    "@id": {
      "type": "uri"
    },
    "@type": {
      "enum": [
        "wx:Zone"
      ],
      "type": "string"
    },
    "id": {
      "$ref": "#/components/schemas/NWSZoneID"
    },
    "type": {
      "$ref": "#/components/schemas/NWSZoneType"
    },
    "name": {
      "type": "string"
    },
    "effectiveDate": {
      "type": "datetime"
    },
    "expirationDate": {
      "type": "datetime"
    },
    "state": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/StateTerritoryCode"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "forecastOffice": {
      "type": "uri"
    },
    "gridIdentifier": {
      "type": "string"
    },
    "awipsLocationIdentifier": {
      "type": "string"
    },
    "cwa": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/NWSForecastOfficeId"
      },
      "deprecated": true
    },
    "forecastOffices": {
      "type": "array",
      "items": {
        "type": "uri"
      },
      "deprecated": true
    },
    "timeZone": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "iana-time-zone-identifier"
      }
    },
    "observationStations": {
      "type": "array",
      "items": {
        "type": "uri"
      }
    },
    "radarStation": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}