Weather.gov · Schema
ZoneForecast
An object representing a zone area forecast.
WeatherGovernmentUnited StatesForecastingAlertsOpen Data
Properties
| Name | Type | Description |
|---|---|---|
| @context | object | |
| geometry | object | |
| zone | string | An API link to the zone this forecast is for. |
| updated | string | The time this zone forecast product was published. |
| periods | array | An array of forecast periods. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/weather-gov/refs/heads/main/json-schema/weather-gov-zone-forecast-schema.json",
"title": "ZoneForecast",
"description": "An object representing a zone area forecast.",
"type": "object",
"properties": {
"@context": {
"$ref": "#/components/schemas/JsonLdContext"
},
"geometry": {
"$ref": "#/components/schemas/GeometryString"
},
"zone": {
"type": "string",
"description": "An API link to the zone this forecast is for.",
"format": "uri"
},
"updated": {
"type": "string",
"description": "The time this zone forecast product was published.",
"format": "date-time"
},
"periods": {
"type": "array",
"items": {
"required": [
"number",
"name",
"detailedForecast"
],
"type": "object",
"properties": {
"number": {
"type": "integer",
"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
}