diff --git a/schemas/api/stations/nearest-stations.json b/schemas/api/stations/nearest-stations.json new file mode 100644 index 0000000..32588a9 --- /dev/null +++ b/schemas/api/stations/nearest-stations.json @@ -0,0 +1,19 @@ +{ + "$id": "https://schema.owlboard.info/api/stations/nearestStations.schema.json", + "$schema": "https://json-schema.org/draft-07/schema#", + "title": "StationsNearestStations", + "description": "Nearest Stations API Resonse. Returned as an Array of the object. Response array will be sorted - nearest first", + "type": "object", + "properties": { + "c": { + "type": "string", + "name": "CRS" + }, + "n": { + "type": "string", + "name": "Station Name" + } + }, + "required": ["c", "n"], + "additionalProperties": false +} \ No newline at end of file