Weather.gov · Schema

GridpointHourlyForecast

An hourly forecast for a 2.5km grid square.

WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Properties

Name Type Description
@context object
geometry object
units object
forecastGenerator string The internal generator class used to create the forecast text (used for NWS debugging).
generatedAt string The time this forecast data was generated.
updateTime string The last update time of the data this forecast was generated from.
validTimes object
elevation object
periods array An array of forecast periods.
View JSON Schema on GitHub

JSON Schema

weather-gov-gridpoint-hourly-forecast-schema.json Raw ↑
{
  "$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-gridpoint-hourly-forecast-schema.json",
  "title": "GridpointHourlyForecast",
  "description": "An hourly forecast for a 2.5km grid square.",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeometryString"
    },
    "units": {
      "$ref": "#/components/schemas/GridpointForecastUnits"
    },
    "forecastGenerator": {
      "type": "string",
      "description": "The internal generator class used to create the forecast text (used for NWS debugging)."
    },
    "generatedAt": {
      "type": "string",
      "description": "The time this forecast data was generated.",
      "format": "date-time"
    },
    "updateTime": {
      "type": "string",
      "description": "The last update time of the data this forecast was generated from.",
      "format": "date-time"
    },
    "validTimes": {
      "$ref": "#/components/schemas/ISO8601Interval"
    },
    "elevation": {
      "$ref": "#/components/schemas/QuantitativeValue"
    },
    "periods": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GridpointHourlyForecastPeriod"
      },
      "description": "An array of forecast periods."
    }
  },
  "additionalProperties": false
}