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.
<trip> <id>1_12540399</id> <routeId>1_44</routeId> <tripShortName>LOCAL</tripShortName> <tripHeadsign>Downtown via University District</tripHeadsign> <serviceId>1_114-115-WEEK</serviceId> <shapeId>1_20044006</shapeId> <directionId>1</directionId> </trip>
The fields of the stop element closely match the fields defined for trips in the GTFS spec.
A few important details: