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": "Matching stations, up to `limit`",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "abbreviation": {
+ "description": "Official station abbreviation (e.g. \"SMA\")",
+ "type": "string"
+ },
+ "canton": {
+ "description": "Canton abbreviation (e.g. \"ZH\")",
+ "type": "string"
+ },
+ "coordinates": {
+ "additionalProperties": false,
+ "description": "WGS84 coordinates of the station",
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "data_since": {
+ "description": "Date the station started reporting data",
+ "type": "string"
+ },
+ "elevation": {
+ "description": "Elevation in metres above sea level",
+ "type": "number"
+ },
+ "name": {
+ "description": "Station name",
+ "type": "string"
+ }
+ },
+ "required": [
+ "abbreviation",
+ "name",
+ "canton",
+ "elevation",
+ "coordinates",
+ "data_since"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "description": "Total number of stations matching the filter",
+ "type": "number"
+ }
+ },
+ "required": [
+ "total",
+ "stations",
+ "source"
+ ],
+ "type": "object"
+}