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
object
object
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/address
agencyId
http://maasglobal.com/core/components/station.json#/definitions/agencyId
city
http://maasglobal.com/core/components/station.json#/definitions/city
code
string
country
http://maasglobal.com/core/components/station.json#/definitions/country
Station 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/location
name
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/platformCode
What 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.json
Timetable 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
string
string
A flag indicating whether this transport mode is realtime or not
isRealtime
boolean
boolean
longName
string
string
mode
http://maasglobal.com/core/components/travel-mode.json
name
string
string
realtime
http://maasglobal.com/core/components/units.json#/definitions/time
schedule
http://maasglobal.com/core/components/units.json#/definitions/time
Geofencing zone defined by provider that the station is within
zone
http://maasglobal.com/core/components/station.json#/definitions/zone