Weather.gov · Schema

GeoJsonFeature

A GeoJSON feature. Please refer to IETF RFC 7946 for information on the GeoJSON format.

WeatherGovernmentUnited StatesForecastingAlertsOpen Data

Properties

Name Type Description
@context object
id string
type string
geometry object
properties object
View JSON Schema on GitHub

JSON Schema

weather-gov-geo-json-feature-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-geo-json-feature-schema.json",
  "title": "GeoJsonFeature",
  "description": "A GeoJSON feature. Please refer to IETF RFC 7946 for information on the GeoJSON format.",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "#/components/schemas/JsonLdContext"
    },
    "id": {
      "type": "string",
      "format": "uri"
    },
    "type": {
      "enum": [
        "Feature"
      ],
      "type": "string"
    },
    "geometry": {
      "$ref": "#/components/schemas/GeoJsonGeometry"
    },
    "properties": {
      "type": "object"
    }
  },
  "required": [
    "type",
    "geometry",
    "properties"
  ],
  "additionalProperties": false
}