maas-schemas

stop Schema

http://maasglobal.com/core/stop.json
Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Permitted core/stop.json

Schema Hierarchy

stop Properties

Property Type Required Nullable Defined by
address string Optional No place
facilities string[] Optional No place
lat number Optional No place
localeAddress string Optional No place
lon number Optional No place
name string Optional No place
openingHours object Optional No place
startTime time Optional No stop (this schema)
stationId string Optional No place
stopCode string Optional No place
stopId string Optional No place
zone complex Optional No place
* any Additional Yes this schema allows additional properties

address

Encoded address components. Check the regexr examples. Check https://regexr.com/4ofcq. In streetNumber, there are 2 dashes - they have 2 different unicodes, do not remove

address

address Type

string

address Examples

"state:Tōkyō-to|district:Kanda Nishikichō 3-chōme|streetNumber:4-パレステュディオ御茶ノ水駿河台参番館|zipCode:101-0054|city:Chiyoda-City|country:Japan"
"streetName:Tarkk'ampujänkätu|city:Helsinki|country:Finland|state:Uusimaa|streetNumber:1|zipCode:00100|district:Tapiola"
"streetName:Hämeentie Töölöntori Lähettilääntie Tarkk'ampujänkätu"
"streetName:Brädgårdsgatan"
"streetName:Żółkiewskiego"
"streetName:Øster Allé"
"streetName:شارع حمدان بن محمد"
"streetName:Karl-Marx-Straße"
"streetName:Küçük Ayasofya|city:İstanbul|district:Fatih"
"streetName:11 Avenue d’Ostende"
"streetName:Küçük Ayasofya, Küçük Ayasofya Cami Sk."
"streetName:Kasumi'gaseki"
"streetName:St Martin's Lane"
"country:Åland"
"country:Puerto Rico"
"country:français"
"country:skandinavisk"
"streetNumber:1-1"
"streetNumber:1/2-d2"

facilities

facilities

facilities Type

Array type: string[]

All items must be of the type: string

lat

No-numeric precision version of MaaS core latitude

lat

lat Type

number

localeAddress

Country specific formatted address

localeAddress

localeAddress Type

string

lon

No-numeric precision version of MaaS core longitude

lon

lon Type

number

name

Place name (given in autocomplete)

name

name Type

string

openingHours

Opening hour of the station, object format is left for TSP to decide

openingHours

openingHours Type

object with following properties:

| Property | Type | Required | | ——– | —- | ——– |

startTime

startTime

startTime Type

stationId

stationId

stationId Type

string

stopCode

stopCode

stopCode Type

string

stopId

stopId

stopId Type

string

zone

Geofencing zone defined by provider that the station is within

zone

zone Type

Any following options needs to be fulfilled.

Option 1

number

Option 2

string

All of the following requirements need to be fulfilled.

Requirement 1

Requirement 2

object with following properties:

Property Type Required
address string Optional
facilities array Optional
lat number Optional
localeAddress string Optional
lon number Optional
name string Optional
openingHours object Optional
startTime   Optional
stationId string Optional
stopCode string Optional
stopId string Optional
zone anyOf Optional

address

Encoded address components. Check the regexr examples. Check https://regexr.com/4ofcq. In streetNumber, there are 2 dashes - they have 2 different unicodes, do not remove

address

address Type

string

address Examples
state:Tōkyō-to|district:Kanda Nishikichō 3-chōme|streetNumber:4-パレステュディオ御茶ノ水駿河台参番館|zipCode:101-0054|city:Chiyoda-City|country:Japan
streetName:Tarkk'ampujänkätu|city:Helsinki|country:Finland|state:Uusimaa|streetNumber:1|zipCode:00100|district:Tapiola
streetName:Hämeentie Töölöntori Lähettilääntie Tarkk'ampujänkätu
streetName:Brädgårdsgatan
streetName:Żółkiewskiego
streetName:Øster Allé
streetName:شارع حمدان بن محمد
streetName:Karl-Marx-Straße
streetName:Küçük Ayasofya|city:İstanbul|district:Fatih
streetName:11 Avenue d’Ostende
streetName:Küçük Ayasofya, Küçük Ayasofya Cami Sk.
streetName:Kasumi'gaseki
streetName:St Martin's Lane
country:Åland
country:Puerto Rico
country:français
country:skandinavisk
streetNumber:1-1
streetNumber:1/2-d2

facilities

facilities

facilities Type

Array type: string[]

All items must be of the type: string

lat

No-numeric precision version of MaaS core latitude

lat

lat Type

number

localeAddress

Country specific formatted address

localeAddress

localeAddress Type

string

lon

No-numeric precision version of MaaS core longitude

lon

lon Type

number

name

Place name (given in autocomplete)

name

name Type

string

openingHours

Opening hour of the station, object format is left for TSP to decide

openingHours

openingHours Type

object with following properties:

| Property | Type | Required | | ——– | —- | ——– |

startTime

startTime

startTime Type

stationId

stationId

stationId Type

string

stopCode

stopCode

stopCode Type

string

stopId

stopId

stopId Type

string

zone

Geofencing zone defined by provider that the station is within

zone

zone Type

Any following options needs to be fulfilled.

Option 1

number

Option 2

string