Business Object: Segment (0.0.0)

Library: rail (http://www.opentravel.org/Sandbox/wip/rail/v0)


    • Description

      TODO: The 1.0 RailAvailRS Segment could be a train or a bus.  The bus segment is identical in structure to the train segment except that 'train' in the name of an element has been chnaged to 'bus'.
Property Value
Facets  ID
 Summary
 Detail

ID

Field Name Member Type Field Type Description
id Attribute  ID  
departureDateTime Attribute  DateTime_Local   The departure date and time.
DeparturePointDetail Element  DeparturePoint_Detail   The departure point of the segment.
TransportNumber Element  TransportNumber   The identity of the transport, e.g. flight or train number.

Summary

Field Name Member Type Field Type Description
arrivalDateTime Attribute  DateTime_Local   The date and time of arrival.
numberOfStops Attribute  positiveInteger   The number of stops the transport makes. TODO: needs to be positiveInteger.
duration Attribute  duration   The duration of trip from departure location to destination location.
ArrivalPointDetail Element  ArrivalPoint_Detail   The arrival point of the segment
ClassOfService Element  ClassOfService  
AncillaryProduct Element  AncillaryProduct  

Detail

Field Name Member Type Field Type Description
No member fields defined for this facet.