Magidoc

TripOnServiceDate
Object

A trip on a specific service date.

Fields

#

end

Non-null

Information related to trip's scheduled arrival to the final stop location. Can contain real-time information.

isReplacement

Is this TripOnServiceDate a replacement? For GTFS-sourced data this might be all we know.

realTimeTripState

Real-time state of the trip on this service date.

replacedByRelation

Non-null

Replaced by these TripOnServiceDates.

replacementForRelation

Non-null

Replacement for these TripOnServiceDates.

serviceDate

Non-null

The service date when the trip occurs.

Note: A service date is a technical term useful for transit planning purposes and might not correspond to a how a passenger thinks of a calendar date. For example, a night bus running on Sunday morning at 1am to 3am, might have the previous Saturday's service date.

start

Non-null

Information related to trip's scheduled departure from the first stop location. Can contain real-time information.

stopCalls

[ StopCall !]!
Non-null

List of times when this trip arrives to or departs from a stop location and information related to the visit to the stop location.

trip

This trip on service date is an instance of this trip.

vehicleId

ID of the vehicle serving this trip, if provided by the real-time feed, in the format FeedId:VehicleId.

Usages

#

References

#

  • Field tripOnServiceDate from Leg