The aimed date and time this leg ends.
The aimed date and time this leg starts.
For ride legs, the service authority used for this legs. For non-ride legs, null.
This sums the direct durations of each leg. Be careful about using this, as it is not equal to the duration between startTime and endTime. See the directDuration documentation on Leg.
The distance traveled while traversing the leg in meters.
Duration of the trip, in seconds.
The expected, realtime adjusted date and time this leg ends.
EstimatedCall for the quay where the leg originates.
The Place where the leg originates.
For ride legs, estimated calls for quays between the Place where the leg originates and the Place where the leg ends. For non-ride legs, empty list.
For ride legs, the line. For non-ride legs, undefined.
The mode of transport or access (e.g., foot) used when traversing this leg.
For ride legs, the operator used for this legs. For non-ride legs, null.
Whether there is real-time data about this leg or not
For ride legs, the service journey. For non-ride legs, null.
All relevant situations for this leg
EstimatedCall for the quay where the leg ends.
The Place where the leg ends.
The transport sub mode (e.g., localBus or expressBus) used when traversing this leg. Null if leg is not a ride
Generated using TypeDoc
The JourneyPlanner v2 queries and types are deprecated. Write your own GraphQL queries for JourneyPlanner v3. Write your own types or use those from JourneyPlannerTypes where applicable.