maas-schemas

agencyOptions Schema

http://maasglobal.com/core/components/agencyOptions.json

Options that can be used for available booking options

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden core/components/agencyOptions.json

Schema Hierarchy

agencyOptions Properties

Property Type Required Nullable Defined by
agencyId string Optional No agencyOptions (this schema)
endTime integer Optional No agencyOptions (this schema)
from string Optional No agencyOptions (this schema)
fromAddress string Optional No agencyOptions (this schema)
fromName string Optional No agencyOptions (this schema)
fromRadius number Optional No agencyOptions (this schema)
mode travel-mode Optional No agencyOptions (this schema)
startTime integer Optional No agencyOptions (this schema)
to string Optional No agencyOptions (this schema)
toAddress string Optional No agencyOptions (this schema)
toName string Optional No agencyOptions (this schema)
toRadius number Optional No agencyOptions (this schema)

agencyId

agencyId

agencyId Type

string

endTime

POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time

endTime

endTime Type

integer

from

Geographic latitude-longitude number-pair as a string in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System

from

from Type

string

^[+-]?\d{1,3}(\.\d+)?,[+-]?\d{1,3}(\.\d+)?$

fromAddress

Componentized from address

fromAddress

fromAddress Type

string

fromAddress 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"

fromName

The human understandable name for ‘from’

fromName

fromName Type

string

fromRadius

Distance in meters

fromRadius

fromRadius Type

number

mode

mode

mode Type

startTime

POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time

startTime

startTime Type

integer

to

Geographic latitude-longitude number-pair as a string in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System

to

to Type

string

^[+-]?\d{1,3}(\.\d+)?,[+-]?\d{1,3}(\.\d+)?$

toAddress

Componentized to address

toAddress

toAddress Type

string

toAddress 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"

toName

The human understandable name for ‘to’

toName

toName Type

string

toRadius

Distance in meters

toRadius

toRadius Type

number