NOAA · Schema

Zone

NOAA NWS API schema for Zone

WeatherClimateForecastAlertsOceanTidesAviation WeatherGovernmentOpen DataEnvironmental

Properties

Name Type Description
@context object
geometry object
@id string
@type string
id object
type object
name string
effectiveDate string
expirationDate string
state object
forecastOffice string
gridIdentifier string
awipsLocationIdentifier string
cwa array
forecastOffices array
timeZone array
observationStations array
radarStation string
View JSON Schema on GitHub

JSON Schema

noaa-nws-zone.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/noaa/main/json-schema/noaa-nws-zone.json",
  "title": "Zone",
  "description": "NOAA NWS API schema for Zone",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeometryString"
    },
    "@id": {
      "type": "string",
      "format": "uri"
    },
    "@type": {
      "enum": [
        "wx:Zone"
      ],
      "type": "string"
    },
    "id": {
      "$ref": "#/components/schemas/NWSZoneID"
    },
    "type": {
      "$ref": "#/components/schemas/NWSZoneType"
    },
    "name": {
      "type": "string"
    },
    "effectiveDate": {
      "type": "string",
      "format": "date-time"
    },
    "expirationDate": {
      "type": "string",
      "format": "date-time"
    },
    "state": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/StateTerritoryCode"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "forecastOffice": {
      "type": "string",
      "format": "uri"
    },
    "gridIdentifier": {
      "type": "string"
    },
    "awipsLocationIdentifier": {
      "type": "string"
    },
    "cwa": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/NWSForecastOfficeId"
      },
      "deprecated": true
    },
    "forecastOffices": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "deprecated": true
    },
    "timeZone": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "iana-time-zone-identifier"
      }
    },
    "observationStations": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "radarStation": {
      "type": "string",
      "nullable": true
    }
  },
  "additionalProperties": false
}