Weather.gov · Schema

Office

Office schema from weather.gov API

WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Properties

Name Type Description
@context object
@type string
@id string
id string
name string
address object
telephone string
faxNumber string
email string
sameAs string
nwsRegion string
parentOrganization string
responsibleCounties array
responsibleForecastZones array
responsibleFireZones array
approvedObservationStations array
View JSON Schema on GitHub

JSON Schema

weather-gov-office-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-office-schema.json",
  "title": "Office",
  "description": "Office schema from weather.gov API",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "@type": {
      "enum": [
        "GovernmentOrganization"
      ],
      "type": "string"
    },
    "@id": {
      "type": "string",
      "format": "uri"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "address": {
      "type": "object",
      "properties": {
        "@type": {
          "enum": [
            "PostalAddress"
          ],
          "type": "string"
        },
        "streetAddress": {
          "type": "string"
        },
        "addressLocality": {
          "type": "string"
        },
        "addressRegion": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "telephone": {
      "type": "string"
    },
    "faxNumber": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "sameAs": {
      "type": "string",
      "format": "uri"
    },
    "nwsRegion": {
      "type": "string"
    },
    "parentOrganization": {
      "type": "string",
      "format": "uri"
    },
    "responsibleCounties": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "responsibleForecastZones": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "responsibleFireZones": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "approvedObservationStations": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    }
  },
  "additionalProperties": false
}