maas-schemas

partialFavoriteLocation Schema

http://maasglobal.com/core/partialFavoriteLocation.json

Customer’s favorite location

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Develop No Forbidden Permitted core/partialFavoriteLocation.json

Schema Hierarchy

partialFavoriteLocation Properties

Property Type Required Nullable Defined by
agencyId string Optional No partialFavoriteLocation (this schema)
city string Optional No partialFavoriteLocation (this schema)
country string Optional No partialFavoriteLocation (this schema)
id number Optional No partialFavoriteLocation (this schema)
identityId complex Optional No partialFavoriteLocation (this schema)
lineId string Optional No partialFavoriteLocation (this schema)
location object Optional No partialFavoriteLocation (this schema)
name string Optional No partialFavoriteLocation (this schema)
stopId string Optional No partialFavoriteLocation (this schema)
streetName string Optional No partialFavoriteLocation (this schema)
streetNumber string Optional No partialFavoriteLocation (this schema)
type enum Optional No partialFavoriteLocation (this schema)
zipCode string Optional No partialFavoriteLocation (this schema)
* any Additional Yes this schema allows additional properties

agencyId

agencyId

agencyId Type

string

city

Alphabetic city name

city

city Type

string

country

Alphabetic country name

country

country Type

string

id

id

id Type

number

identityId

identityId

identityId Type

Any following options needs to be fulfilled.

Option 1

string

All instances must conform to this regular expression

^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$

Option 2

string

All instances must conform to this regular expression

^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$

identityId Examples

"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"

lineId

lineId

lineId Type

string

location

Geographic latitude-longitude object in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System

location

location Type

object with following properties:

Property Type Required
lat   Required
lon   Required

lat

lat

lat Type

lon

lon

lon Type

name

name

name Type

string

stopId

stopId

stopId Type

string

streetName

Place name (given in autocomplete)

streetName

streetName Type

string

streetNumber

streetNumber

streetNumber Type

string

type

type

The value of this property must be equal to one of the known values below.

type Known Values

Value Description
ADDRESS  
STOP  

zipCode

Numeric zip code, see https://en.wikipedia.org/wiki/Postal_code

zipCode

zipCode Type

string