tripPlan Data Type

A TripPlan is a set of ways to get from point A to point B at time T.

Namespace
(Default)
Properties
name data type type namespace min/max occurs description
date dateTime element 0/1 The time and date of travel
from place element 0/1 The origin
itinerary list of itinerary element 0/unbounded A list of possible itineraries
to place element 0/1 The destination

Example

<t----->
  <date>...</date>
  <from>
    <name>...</name>
    <stopId>
      <agencyId>...</agencyId>
      <id>...</id>
    </stopId>
    <stopCode>...</stopCode>
    <platformCode>...</platformCode>
    <lon>...</lon>
    <lat>...</lat>
    <arrival>...</arrival>
    <departure>...</departure>
    <orig>...</orig>
    <zoneId>...</zoneId>
    <stopIndex>...</stopIndex>
    <stopSequence>...</stopSequence>
    <vertexType>...</vertexType>
    <bikeShareId>...</bikeShareId>
    <boardAlightType>...</boardAlightType>
    <flagStopArea>
      <points>...</points>
      <levels>...</levels>
      <length>...</length>
    </flagStopArea>
  </from>
  <to>
    <name>...</name>
    <stopId>
      <agencyId>...</agencyId>
      <id>...</id>
    </stopId>
    <stopCode>...</stopCode>
    <platformCode>...</platformCode>
    <lon>...</lon>
    <lat>...</lat>
    <arrival>...</arrival>
    <departure>...</departure>
    <orig>...</orig>
    <zoneId>...</zoneId>
    <stopIndex>...</stopIndex>
    <stopSequence>...</stopSequence>
    <vertexType>...</vertexType>
    <bikeShareId>...</bikeShareId>
    <boardAlightType>...</boardAlightType>
    <flagStopArea>
      <points>...</points>
      <levels>...</levels>
      <length>...</length>
    </flagStopArea>
  </to>
  <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>
      <details>...</details>
    </fare>
    <legs>
      <startTime>...</startTime>
      <endTime>...</endTime>
      <departureDelay>...</departureDelay>
      <arrivalDelay>...</arrivalDelay>
      <realTime>...</realTime>
      <isNonExactFrequency>...</isNonExactFrequency>
      <headway>...</headway>
      <distance>...</distance>
      <pathway>...</pathway>
      <mode>...</mode>
      <route>...</route>
      <agencyName>...</agencyName>
      <agencyUrl>...</agencyUrl>
      <agencyBrandingUrl>...</agencyBrandingUrl>
      <agencyTimeZoneOffset>...</agencyTimeZoneOffset>
      <routeColor>...</routeColor>
      <routeType>...</routeType>
      <routeId/>
      <routeTextColor>...</routeTextColor>
      <interlineWithPreviousLeg>...</interlineWithPreviousLeg>
      <tripShortName>...</tripShortName>
      <tripBlockId>...</tripBlockId>
      <headsign>...</headsign>
      <agencyId>...</agencyId>
      <tripId/>
      <serviceDate>...</serviceDate>
      <routeBrandingUrl>...</routeBrandingUrl>
      <from/>
      <to/>
      <stop/>
      <legGeometry/>
      <walkSteps/>
      <alerts/>
      <routeShortName>...</routeShortName>
      <routeLongName>...</routeLongName>
      <boardRule>...</boardRule>
      <alightRule>...</alightRule>
      <rentedBike>...</rentedBike>
      <callAndRide>...</callAndRide>
      <flexCallAndRideMaxStartTime>...</flexCallAndRideMaxStartTime>
      <flexCallAndRideMinEndTime>...</flexCallAndRideMinEndTime>
      <flexDrtAdvanceBookMin>...</flexDrtAdvanceBookMin>
      <flexDrtPickupMessage>...</flexDrtPickupMessage>
      <flexDrtDropOffMessage>...</flexDrtDropOffMessage>
      <flexFlagStopPickupMessage>...</flexFlagStopPickupMessage>
      <flexFlagStopDropOffMessage>...</flexFlagStopDropOffMessage>
    </legs>
    <tooSloped>...</tooSloped>
  </itinerary>
</t----->