Trip Object
Trip is a specific occurance of a pattern, usually identified by route, direction on the route and exact departure time.
Fields
#
alerts
By default, list of alerts which have directly an effect on just the trip. It's also possible to return other relevant alerts through defining types.
blockId
directionId
Direction code of the trip, i.e. is this the outbound or inbound trip of a
pattern. Possible values: 0, 1 or null
if the direction is irrelevant, i.e.
the pattern has trips only in one direction.
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
occupancy
The latest real-time occupancy information for the latest occurance of this trip.
semanticHash
Hash code of the trip. This value is stable and not dependent on the trip id.
serviceId
shapeId
stoptimesForDate
tripShortName
wheelchairAccessible
Whether the vehicle running this trip can be boarded by a wheelchair
Interfaces
#
Also implements Node .
Usages
#
References
#
- Part of union AlertEntity
- Field trip from Alert
- Field trip from Leg
TriangleScooterFactorsInput
TripAlertType