Trip Element

The <trip/> element models trips in OneBusAway. Trips are directly mapped from entries in the GTFS trips.txt file from the GTFS feeds that power an API instance.


  <tripHeadsign>Downtown via University District</tripHeadsign>


The fields of the trip element closely match the fields defined for trips in the GTFS spec.

A few important details:

  • The only fields that are absolutely required are id, routeId, and serviceId.