Weather.gov · JSON Structure

Weather Gov Relative Location Structure

RelativeLocation schema from weather.gov API

Type: object Properties: 4
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

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

Properties

city state distance bearing

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-relative-location-structure.json",
  "name": "RelativeLocation",
  "description": "RelativeLocation schema from weather.gov API",
  "type": "object",
  "properties": {
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "distance": {
      "$ref": "#/components/schemas/QuantitativeValue"
    },
    "bearing": {
      "$ref": "#/components/schemas/QuantitativeValue"
    }
  }
}