Weather.gov · JSON Structure

Weather Gov Office Weather Story Structure

OfficeWeatherStory schema from weather.gov API

Type: Properties: 0 Required: 9
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

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

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-office-weather-story-structure.json",
  "name": "OfficeWeatherStory",
  "description": "OfficeWeatherStory schema from weather.gov API",
  "required": [
    "startTime",
    "endTime",
    "updateTime",
    "title",
    "description",
    "altText",
    "priority",
    "order",
    "download"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/NWSConnectDocumentMetadata"
    },
    {
      "type": "object",
      "properties": {
        "altText": {
          "type": "string",
          "description": "Alternative text description of the content of the image for assistive technology."
        },
        "order": {
          "maximum": 7,
          "minimum": 1,
          "type": "int32",
          "description": "The order in which a weather story should be displayed. Unique for each object."
        }
      }
    }
  ]
}