maas-schemas

MODE_RAIL Schema

http://maasglobal.com/core/modes/MODE_RAIL.json

Schema for MODE_RAIL meta field

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

MODE_RAIL Properties

Property Type Required Nullable Defined by
deliveryMethod object Optional No MODE_RAIL (this schema)
outward object Optional No MODE_RAIL (this schema)
return object Optional No MODE_RAIL (this schema)
* any Additional Yes this schema allows additional properties

deliveryMethod

deliveryMethod

deliveryMethod Type

object with following properties:

Property Type Required
alternativeCollections string Optional
name string Optional
stationId string Optional

alternativeCollections

alternativeCollections

alternativeCollections Type

string

name

name

name Type

string

stationId

stationId

stationId Type

string

outward

outward

outward Type

object with following properties:

Property Type Required
from place Required
id string Optional
to place Required

from

from

from Type

id

Arbitrary outward journey id given by either TSP or map provider

id

id Type

string

to

to

to Type

return

return

return Type

object with following properties:

Property Type Required
from place Required
id string Optional
to place Required

from

from

from Type

id

Arbitrary return journey id given by either TSP or map provider

id

id Type

string

to

to

to Type