Weather.gov · JSON Structure

Weather Gov Zone Forecast Structure

An object representing a zone area forecast.

Type: object Properties: 5
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

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

Properties

@context geometry zone updated periods

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-forecast-structure.json",
  "name": "ZoneForecast",
  "description": "An object representing a zone area forecast.",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeometryString"
    },
    "zone": {
      "type": "uri",
      "description": "An API link to the zone this forecast is for."
    },
    "updated": {
      "type": "datetime",
      "description": "The time this zone forecast product was published."
    },
    "periods": {
      "type": "array",
      "items": {
        "required": [
          "number",
          "name",
          "detailedForecast"
        ],
        "type": "object",
        "properties": {
          "number": {
            "type": "int32",
            "description": "A sequential identifier number."
          },
          "name": {
            "type": "string",
            "description": "A textual description of the period.",
            "examples": [
              "This Afternoon"
            ]
          },
          "detailedForecast": {
            "type": "string",
            "description": "A detailed textual forecast for the period."
          }
        },
        "additionalProperties": false
      },
      "description": "An array of forecast periods."
    }
  },
  "additionalProperties": false
}