Add nearest stations schema
All checks were successful
Generate and Release Protos / release (push) Successful in 32s
All checks were successful
Generate and Release Protos / release (push) Successful in 32s
This commit is contained in:
19
schemas/api/stations/nearest-stations.json
Normal file
19
schemas/api/stations/nearest-stations.json
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user