maas-schemas

place Schema

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

A place, as a location-name pair with name and address

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

Schema Hierarchy

place Properties

Property Type Required Nullable Defined by
address componentAddress Optional No place (this schema)
facilities string[] Optional No place (this schema)
lat number Required No units-geo
localeAddress string Optional No place (this schema)
lon number Required No units-geo
name placeName Optional No place (this schema)
openingHours openingHours Optional No place (this schema)
stationId string Optional No place (this schema)
stopCode string Optional No place (this schema)
stopId string Optional No place (this schema)
zone zone Optional No place (this schema)
* any Additional Yes this schema allows additional properties

address

address

address Type

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

name

name Type

openingHours

openingHours

openingHours Type

stationId

stationId

stationId Type

string

stopCode

stopCode

stopCode Type

string

stopId

stopId

stopId Type

string

zone

zone

zone Type

All of the following requirements need to be fulfilled.

Requirement 1

Requirement 2

object with following properties:

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

address

address

address Type

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

name

name Type

openingHours

openingHours

openingHours Type

stationId

stationId

stationId Type

string

stopCode

stopCode

stopCode Type

string

stopId

stopId

stopId Type

string

zone

zone

zone Type