A TripPlan is a set of ways to get from point A to point B at time T.
| name | data type | type | namespace | min/max occurs | wrapped by | description |
|---|---|---|---|---|---|---|
| date | dateTime | element | 0/1 | The time and date of travel | ||
| from | place | element | 0/1 | The origin | ||
| itinerary | itinerary | element | 0/unbounded | itineraries | A list of possible itineraries | |
| to | place | element | 0/1 | The destination |
Example
<t----->
<date>...</date>
<from orig="..." stopIndex="..." stopSequence="..." vertexType="..." zoneId="...">
<name>...</name>
<stopId>
<agencyId>...</agencyId>
<id>...</id>
</stopId>
<stopCode>...</stopCode>
<platformCode>...</platformCode>
<lon>...</lon>
<lat>...</lat>
<arrival>...</arrival>
<departure>...</departure>
<bikeShareId>...</bikeShareId>
</from>
<to orig="..." stopIndex="..." stopSequence="..." vertexType="..." zoneId="...">
<name>...</name>
<stopId>
<agencyId>...</agencyId>
<id>...</id>
</stopId>
<stopCode>...</stopCode>
<platformCode>...</platformCode>
<lon>...</lon>
<lat>...</lat>
<arrival>...</arrival>
<departure>...</departure>
<bikeShareId>...</bikeShareId>
</to>
<itineraries>
<itinerary>
<duration>...</duration>
<startTime>...</startTime>
<endTime>...</endTime>
<walkTime>...</walkTime>
<transitTime>...</transitTime>
<waitingTime>...</waitingTime>
<walkDistance>...</walkDistance>
<walkLimitExceeded>...</walkLimitExceeded>
<elevationLost>...</elevationLost>
<elevationGained>...</elevationGained>
<transfers>...</transfers>
<fare>
<fare>...</fare>
</fare>
<legs>
<leg agencyId="..." agencyName="..." agencyTimeZoneOffset="..." agencyUrl="..." alightRule="..." boardRule="..." headsign="..." interlineWithPreviousLeg="..." mode="..." rentedBike="..." route="..." routeColor="..." routeLongName="..." routeShortName="..." routeTextColor="..." routeType="..." serviceDate="..." tripBlockId="..." tripShortName="...">
<startTime>...</startTime>
<endTime>...</endTime>
<departureDelay>...</departureDelay>
<arrivalDelay>...</arrivalDelay>
<realTime>...</realTime>
<isNonExactFrequency>...</isNonExactFrequency>
<headway>...</headway>
<distance>...</distance>
<pathway>...</pathway>
<routeId/>
<tripId/>
<from/>
<to/>
<intermediateStops>
<stop/>
</intermediateStops>
<legGeometry/>
<steps>
<walkSteps/>
</steps>
<alerts/>
<duration>...</duration>
</leg>
</legs>
<tooSloped>...</tooSloped>
</itinerary>
</itineraries>
</t----->