changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "source": {
+ "description": "Data attribution",
+ "type": "string"
+ },
+ "stations": {
+ "description": "One entry per pollen station",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "pollen": {
+ "description": "One entry per measured species — every known species always appears",
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "measured",
+ "type": "string"
+ },
+ "type": {
+ "description": "Pollen species (e.g. \"birch\", \"grasses\")",
+ "type": "string"
+ },
+ "unit": {
+ "description": "Concentration unit (particles/m³)",
+ "type": "string"
+ },
+ "value": {
+ "description": "Concentration reading",
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "status",
+ "value",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "no-current-data",
+ "description": "No current reading for this species (e.g. out of season) — explicit, not omitted",
+ "type": "string"
+ },
+ "type": {
+ "description": "Pollen species (e.g. \"birch\", \"grasses\")",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "status"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "station": {
+ "additionalProperties": false,
+ "properties": {
+ "abbreviation": {
+ "description": "Pollen station abbreviation (e.g. \"PZH\")",
+ "type": "string"
+ },
+ "coordinates": {
+ "additionalProperties": false,
+ "description": "WGS84 coordinates of the station",
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "description": "Pollen station name",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "abbreviation",
+ "coordinates"
+ ],
+ "type": "object"
+ },
+ "timestamp": {
+ "description": "Measurement timestamp (ISO 8601)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "station",
+ "timestamp",
+ "pollen"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stations",
+ "source"
+ ],
+ "type": "object"
+}