Observation

A single weather, climate, ocean, or lightning observation returned by the DMI Open Data API as a GeoJSON Feature.

ClimateEnvironmentLightningMeteorologicalOceanOpen DataWeather

Properties

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

JSON Schema

observation.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/danish-meteorological-institutes/refs/heads/main/json-schema/observation.json",
  "title": "Observation",
  "description": "A single weather, climate, ocean, or lightning observation returned by the DMI Open Data API as a GeoJSON Feature.",
  "type": "object",
  "required": ["type", "geometry", "properties"],
  "properties": {
    "type": {
      "type": "string",
      "const": "Feature"
    },
    "id": {
      "type": "string"
    },
    "geometry": {
      "type": "object",
      "properties": {
        "type": {"type": "string"},
        "coordinates": {"type": "array"}
      }
    },
    "properties": {
      "type": "object",
      "properties": {
        "stationId": {"type": "string"},
        "parameterId": {"type": "string"},
        "observed": {"type": "string", "format": "date-time"},
        "value": {"type": "number"}
      },
      "additionalProperties": true
    }
  }
}