Weather.gov · Schema

ObservationStation

ObservationStation schema from weather.gov API

WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Properties

Name Type Description
@context object
geometry object
@id string
@type string
elevation object
stationIdentifier string
name string
timeZone string
provider string The data provider for this station. E.g., "ASOS," "MesoWest," etc.
subProvider string The sub-provider of for this station. E.g., "FAA," "DOT," etc.
forecast string A link to the NWS public forecast zone containing this station.
county string A link to the NWS county zone containing this station.
fireWeatherZone string A link to the NWS fire weather forecast zone containing this station.
distance object
bearing object
View JSON Schema on GitHub

JSON Schema

weather-gov-observation-station-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-observation-station-schema.json",
  "title": "ObservationStation",
  "description": "ObservationStation schema from weather.gov API",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeometryString"
    },
    "@id": {
      "type": "string",
      "format": "uri"
    },
    "@type": {
      "enum": [
        "wx:ObservationStation"
      ],
      "type": "string"
    },
    "elevation": {
      "$ref": "#/components/schemas/QuantitativeValue"
    },
    "stationIdentifier": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "timeZone": {
      "type": "string",
      "format": "iana-time-zone-identifier"
    },
    "provider": {
      "type": "string",
      "description": "The data provider for this station. E.g., \"ASOS,\" \"MesoWest,\" etc."
    },
    "subProvider": {
      "type": "string",
      "description": "The sub-provider of for this station. E.g., \"FAA,\" \"DOT,\" etc."
    },
    "forecast": {
      "type": "string",
      "description": "A link to the NWS public forecast zone containing this station.",
      "format": "uri"
    },
    "county": {
      "type": "string",
      "description": "A link to the NWS county zone containing this station.",
      "format": "uri"
    },
    "fireWeatherZone": {
      "type": "string",
      "description": "A link to the NWS fire weather forecast zone containing this station.",
      "format": "uri"
    },
    "distance": {
      "$ref": "#/components/schemas/QuantitativeValue"
    },
    "bearing": {
      "$ref": "#/components/schemas/QuantitativeValue"
    }
  },
  "additionalProperties": false
}