http://maasglobal.com/tsp/stations-retrieve/response.json
MaaS stations query response schema
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | No | Develop | No | Forbidden | Permitted | tsp/stations-retrieve/response.json |
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| station | object |
Optional | No | response (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
Detailed station schema, coming as stations-retrieve response
station
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
address |
Optional | |
agencyId |
Required | |
city |
Optional | |
code |
string | Optional |
country |
Optional | |
facilities |
array | Optional |
id |
string | Required |
location |
Required | |
name |
string | Optional |
openingHours |
object | Optional |
platformCode |
anyOf | Optional |
services |
array | Optional |
timetables |
array | Optional |
zone |
anyOf | Optional |
address
http://maasglobal.com/core/components/station.json#/definitions/addressagencyId
http://maasglobal.com/core/components/station.json#/definitions/agencyIdcity
http://maasglobal.com/core/components/station.json#/definitions/citycode
string
country
http://maasglobal.com/core/components/station.json#/definitions/countryStation facilities, including services and features
facilities
Array type: facilities
All items must be of the type: string
id
string
location
http://maasglobal.com/core/components/station.json#/definitions/locationname
string
Opening hour of the station, object format is left for TSP to decide
openingHours
object with following properties:
| Property | Type | Required | | ——– | —- | ——– |
Platform number
platformCode
http://maasglobal.com/core/components/station.json#/definitions/platformCodeWhat agency and mode of transport will occupy this station
services
Array type: services
All items must be of the type:
http://maasglobal.com/core/components/travel-mode.jsonTimetable for passing by / originating transports
timetables
Array type: timetables
All items must be of the type: object with following properties:
| Property | Type | Required |
|---|---|---|
id |
string | Optional |
isRealtime |
boolean | Optional |
longName |
string | Optional |
mode |
Optional | |
name |
string | Optional |
realtime |
Optional | |
schedule |
Optional |
id
stringstring
A flag indicating whether this transport mode is realtime or not
isRealtime
booleanboolean
longName
stringstring
mode
http://maasglobal.com/core/components/travel-mode.jsonname
stringstring
realtime
http://maasglobal.com/core/components/units.json#/definitions/timeschedule
http://maasglobal.com/core/components/units.json#/definitions/timeGeofencing zone defined by provider that the station is within
zone
http://maasglobal.com/core/components/station.json#/definitions/zone