TrainSegment

Type : TrainSegment8

Definition
A collection of one or more legs that are defined as a single train number.
(Defined in file OTA_RailScheduleRS.xsd , or a file it imports)

Elements
AccommodationCategoryAccommodations and ancillary services offered on a train.Accommodations and services offered on a train.
ArrivalStationThe arrival point of the train segment.Defines operation and location details for a train station.
ClassCodesThe class of inventory controlled services available.Defines a specific code representing the availability of one specific class of service. Such class of service may represent First class, reserved seats, sleeper accommodations, etc.
CommentAny special comments on the leg, e.g. "Operated by Amtrak."Textual information to provide descriptions and/or additional information.
DepartureStationThe departure point of the train segment.Defines operation and location details for a train station.
EquipmentThe type of equipment used for the train journey. Use a string value, such as the operator equipment code or a UIC code.Defines a specific code representing the availability of one specific class of service. Such class of service may represent First class, reserved seats, sleeper accommodations, etc.
MarketingCompanyThe marketing train company.Identifies a company by name.
OperatingCompanyThe operating train company, if different from the Marketing Company.Identifies a company by name.
TrainInfoDetailed information about the train.Defines train Information.

Attributes
ArrivalDateTimeThe arrival date and time.
CrossBorderIndWhen true, the train schedule includes a border crossing.
DepartureDateTimeThe departure date and time.
JourneyDurationThe duration of the train from departure location to destination location.
OnTimeRateSpecifies the on time performance of the train from a recognized reporting agency such as the US Department of Transport, e.g. 99%.
StopQuantityThe number of stops the train makes.

Parents
\OTA_RailPriceRQ\BookingReferenceID
\OTA_RailAvailRS\OriginDestinationInformation\OriginDestinationOption\JourneySegment
\OTA_RailShopRS\OriginDestinationInformation\OriginDestinationOption\JourneySegment
\OTA_RailResRetrieveSummaryRS\RailReservation\ODInfo
\OTA_RailBookRS\RailReservation\Itinerary\OriginAndDestination
\OTA_RailBookModifyRQ\RailBookInfo\OriginDestination
\OTA_RailPriceRQ\RailItinerary\OriginDestination
\OTA_LoyaltyCertificateCreateNotifRQ\TravelInfos\TravelInfo\RailInfo\OriginDestination
\OTA_RailBookRQ\RailBookInfo\OriginDestination
\OTA_RailPriceRS\PricedItinerary\OriginDestination
\OTA_RailScheduleRS\OriginDestinationOptions\OriginDestinationOption