http://maasglobal.com/core/itinerary.json
OpenTripPlanner itinerary, augmented with leg bookings per leg
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | core/itinerary.json |
http://maasglobal.com/core/itinerary.json
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| bookings | booking | Optional | No | itinerary (this schema) |
| co2 | number |
Optional | No | itinerary (this schema) |
| endTime | integer |
Required | No | itinerary (this schema) |
| fares | fare | Optional | No | itinerary (this schema) |
| id | id | Optional | No | itinerary (this schema) |
| identityId | complex | Optional | No | itinerary (this schema) |
| isOvertaken | boolean |
Optional | No | itinerary (this schema) |
| legs | leg | Required | No | itinerary (this schema) |
| productOptions | product-option | Optional | No | itinerary (this schema) |
| signature | string |
Optional | No | itinerary (this schema) |
| sourcePlanId | string |
Optional | No | itinerary (this schema) |
| startTime | integer |
Required | No | itinerary (this schema) |
| state | enum |
Optional | No | itinerary (this schema) |
| type | enum |
Optional | No | itinerary (this schema) |
bookings
Array type: booking
All items must be of the type:
http://maasglobal.com/core/booking.jsonGrams of CO2 as a byproduct by the trip
co2
numbernumber
0POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
endTime
integerinteger
14516064009007199254740991fares
Array type: fare
All items must be of the type:
http://maasglobal.com/core/components/fare.jsonid
http://maasglobal.com/core/components/units.json#/definitions/uuididentityId
Any following options needs to be fulfilled.
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}$
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}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
isOvertaken
booleanboolean
legs
0 items in the arrayArray type: leg
All items must be of the type:
http://maasglobal.com/core/leg.jsonproductOptions
0 items in the arrayArray type: product-option
All items must be of the type:
http://maasglobal.com/core/product-option.jsonSignature of a signed object
signature
stringstring
Universally unique identifier, see https://en.wikipedia.org/wiki/Universally_unique_identifier
sourcePlanId
stringstring
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"4828507e-683f-41bf-9d87-689808fbf958"
POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
startTime
integerinteger
14516064009007199254740991The life-cycle state of an itinerary
state
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
START |
|
PLANNED |
|
PAID |
|
ACTIVATED |
|
CANCELLED |
|
CANCELLED_WITH_ERRORS |
|
FINISHED |
type
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
outward |
|
return |