SegmentTransportationType

To describe a transportation in a journey

Complex Type Information

Model

ANY element from ANY namespace OTHER than 'http://www.exchangefortravel.org/xft/current' , (Style | Styles) , ResponseStyle{0,1} , (Date | Dates) , (Active | Actives) , (Code | Codes) , (Type | Types) , (Keyword | Keywords) , NameText{0,1} , (CustomField | CustomFields) , Extension , (Description | Descriptions) , (Price | Prices) , (Entity | Entities) , (Task | Tasks) , (History | Histories) , (Segment | Segments) , (Traveller | Travellers) , (Vendor | Vendors) , (Host | Hosts) , (Campaign | Campaigns) , (Brand | Brands) , (Payment | Payments) , (Guarantee | Guarantees) , (Day | Days) , (Begin | Begins) , (End | Ends) , (Duration | Durations) , (Stock | Stocks) , (Rule | Rules) , (Booking | Bookings) , (Document | Documents) , (Dimension | Dimensions) , (MinMax | MinMaxes) , (Feature | Features) , (Equipment | Equipments) , (Card | Cards) , (Catalogue | Catalogues) , (SellLocation | SellLocations) , Comment{0,1} , Option{0,1} , (SSR | SSRs) , (Luggage | Luggages) , (Person | Persons) , (Company | Companies) , (Agency | Agencies) , (Agent | Agents) , (From | Froms) , (To | Tos) , (Distance | Distances) , (In | Ins) , (Stop | Stops) , (Via | Vias) , (Seat | Seats) , (Carrier | Carriers) , (Meal | Meals)

Attributes

QName Type Fixed Default Use Inheritable Annotation
Apply ApplyType optional
**************************************- This is used to qualify
whether elements can apply in certain circumstances (Restrictions Apply, VTA
apply ...) or to know how something should apply (Excursion apply but is
optional, Taxes apply and are mandatory, Surcharge apply but only if a condition
is true... The roles can therefore either be a Boolean (Apply/do not Apply) or
qualified by one of the Apply Codes. **************************************-
**> True: the element applies, without any other detail. In some cases, true
and Optional could be used in the same way. If no information on how an Add-on
applies (true) it should be considered as Optional. This use of true should be
avoided. **> False: the element does not apply **> Conditional: a Rule is
attached to the elements with Me.Apply='Conditional'. In that case, if the rule
is validated, the element should apply (add the price, use the segment ...)
otherwise, it does not. **> Included: The element is already included in the
main element (included in price, duration ...) **> Mandatory: The element
must be used, but is not included in the parent element (price must be added,
duration may be added ...) **> Optional: The element can be used. Usually
Add-ons are provided as a list of optional segments. Fees could be listed in the
same way, Included, Mandatory, Optional or Conditional. Can be used both in
requests and responses **************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
As AsCodeType optional
This attribute is used to express the fact that the
associated element is either en envelope or an item. If omitted, the element is
considered an item (default behaviour). *An item contains the information
directly in itself. *An envelope would group items of the same nature, but the
informaton would in fact be in the child items.
Category TransportationCategoryCodeType optional
Debug xs:string optional
This attribute is used to hold any information that would be relevant for debug purposes
It should not be present in regular exchanges, except when debug flags are positioned.
Default DefaultType optional
If specified, this value corresponds to the default/optimum number
of units (default number of passengers in a Vehicle, default occupancy in a
room, ...)
Direction DirectionCodeType optional
**************************************- used to qualify
transportation segments (both in Requests and Responses) or application rules
(such as for stops) Types and direction are tightly linked together: One Ways
are always Outbound (but it is not required to specify it) The other types can
combine Outbound and Inbound sub segments. If all segments are expressed on the
same level, the tree can still be created through the use of references.
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Encrypted xs:string optional
To store the name value, but encrypted in a format and alogrithm
to be known by both extremities
EncryptionKey EncryptionKeyCodeType optional
Exclusive xs:boolean optional
Extremity ExtremityCodeType optional
**************************************- When a range is provided
with a Min - Max, boundaries may or may not be included in the range. How
extremities should be handled is provided here:
**************************************- **> None: ]Min,Max[ **> Left:
]Min,Max] **> Right: [Min,Max[ **> Both: [Min,Max] Default or omitted =
Both **************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Filter FilterCodeType optional
**************************************-
***************************************** In a request :
***************************************** used in conjunction with Match. **>
If Match is omitted, or Match=false and Filter is used, Filter does not need to
be enforced, but MAY be and is rather considered as a preference. The Match
attribute in the response may indicate whether the filter has been applied or
not. **> if Match=true, the Filter and the Rules MUST be applied
*****************************************
***************************************** In a response :
***************************************** The associated information corresponds
to data that should (Include) or should not (Exclude) be used (flight number
restrictions, black out dates, ...) **> Omitted : Filter=Include
*****************************************
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Group xs:string optional
This is non validated free text. ==>Composite Data : Used in
conjunction with Indexes to create composite Ids. ==>Naming groups of data :
Used to name groups of individual data such as to group the differnt memebers of
a family, different sub-trips within a trip,...
Guaranteed GuaranteedCodeType optional
§Description: This attribute can be used to define that the corresponding parent element is Guaranteed. It may hold three values:
* true (xs:boolean)
* false (xs:boolean)
* Unknown (xft:UnknownCodeType, therefore the uppercase)

§Usage: Up to now, the usage correpsonds to  th epossibility to express taht a given departure is guaranteed for a given date.
If Guaranteed is false, it may be associated to a guarantee rule that explains how the guarantee may be optianed (like a minimum number of persons.
A guaranteed that is not provided does not correspond to a false value, but to an Unknown value.
ID xs:ID optional
A unique ID within an XML file. That ID can exist outside the xml
file or not.
Implementation xs:string optional
The version for the server application. This version is different
from the XFT versin (@Version). The same XFT version may be used in different
implementations.
Index xs:nonNegativeInteger optional
==>Composite Data : to order the data with the group. In that
case, Group should be used to actual define the group, except if all the items
are used to define the group. ==>A list of items : Index is used to order
them.
Is ProductNatureCodeType optional
IsPassive xs:boolean optional
A passive segment is a segment that isusually present in GDS PNRs
as a placeholder for an item in the itinerary that does not result ina ticket
being issued by the GDS and for reservation that was not made directly in the
GDS. By extension, all segments that were booked in another system and added to
a booking for centralised management or system synchronisation can be marked as
passive (@IsPassive="true"). This may impact or rigger specific synchronisation
processes. To ensure that a segment is not passive, this attribute should be
set to true. If this attribute is not set, passive information remains unknown
or is not relevant because all segments are of the same
type.
Key optional
Contains a technical identifier (like a database primary key, a GUID
...) by opposition to a business oriented value, like a booking reference or a
product code, which are in @Value.
Match xs:boolean optional
***************************************** In a request :
***************************************** **> true : response MUST match
input parameters exactly. Otherwise it should not be present. **> false :
response MAY match input parameters. **> omitted : Accuracy is left at the
disposal of the hosts. Match criteria can be further defined through limits and
rules. *****************************************
***************************************** In a response :
***************************************** **> true : response matches input
parameters exactly. true can be present in a response whatever the value in the
request. **> false : response does not match input parameters. false can only
be present if Match was false or omitted in the request. **> omitted:no
information is provided by host *****************************************
Max QuantityCodeType optional
Maximum number of units .
Min QuantityCodeType optional
Minimum number of units associated with the
quantity
Name xs:string optional
A value for the associated entity, usually more technically
oriented. Free text should be in a CDATA section
Override OverrideType optional
Parent ReferenceType optional
A reference to a parent object in case of hierarchical trees. This
is used to create complex tree like hierarchies
Preferred xs:boolean optional
**************************************-
***************************************** In a request :
***************************************** mentions that the associated element
is the preferred choice. This can also be achieved through the Index
attribute.*****************************************
***************************************** In a response :
***************************************** information only : preferred choice
has been returned. This is for easier parsing purposes
*****************************************
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Quantity QuantityCodeType optional
Request: the requested quantity Response: the actual quantity
associated with the component This value can be used in complement with the
other attributes to provided additional information (min, max, preference,
...)
Rank RankCodeType optional
To define a position within a list without providing the extact
value. Currently it can be Left, Right or Mean. For a value, use the @Index
instead.
Ref ReferenceType optional
A reference to a valid ID within an XML file. External links are
not supported. Usually the referenced object is of the same type or the type is
obvious within the context. If several references are required, other attributed
with Ref suffix will be present. xxxcould investigate xLinks
Role TransportationRoleCodeType optional
StandAlone xs:boolean optional
Whether a product can be sold alone or must be sold in connection
with others.
Status StatusCodeType optional
**>A = Available **>C = Confirm / Confirmed **>N = Not
applicable / no action **> O = Option **> R = Request **> U = Unable to
confirm **> W = Waitlist **> X = Closed If there is a quantity, Status can
be omitted. If Quantity is positive Status = A If Quantity is negative or null
Status = X
Step xs:decimal optional
Type TransportationTypeCodeType optional
**************************************- to express in Requests or
Responses whether transportation is One way, return or more complex Type and
Direction are tightly linked data : A return flight has 2 directions for
instance. **> OneWay and return are obvious **> Circular is a multi leg
circular trip **> Complex is a multi leg trip in general (From To From To2
From To3 To4 From) would qualify for a complex non circular trip **> World is
for Round the World trips **************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Version xs:string optional
EN: = Usage = This version attribute corresponds to
the version of the associated element. * For a transaction element, it
corresponds to the xft version that can be used to validate the schema. This
field being free text, it can contain either minor or major versions. Actual
schema reference can be passed in the xml stream directly to help validation.
However, the XFT schema can always be validated against the current version
available on the http://www.ExchangeForTravel.org site * When present on other
elements, it corresponds to the version of the associated element, in case the
system allows saving succesive versions. As a consequence, a version associated
to a booking would correspond to the booking version (and may even be used to
retrieve a previous version if the host allows it. = Description = This
attribute contains free text but should be a valid version (usual format is
%number%.%Number[.%Number%] but versions of different types may be used by
different service providers. = Warning = @Version vs @Implementation: * @Version
is the version of the element itself * @Implementation is the version of the
implementation of the program on the host, used to provide the
service.
XPath xs:string optional
Wildcard: ANY attribute from namespace(s) 'http://www.w3.org/XML/1998/namespace http://www.afidium.com/dx http://www.afidium.com/namespaces/test'

Used By

Source

<xs:complexType name="SegmentTransportationType" mixed="true">
  <xs:annotation>
    <xs:documentation>To describe a transportation in a journey</xs:documentation>
  </xs:annotation>
  <xs:complexContent mixed="true">
    <xs:extension base="SegmentType">
      <xs:sequence minOccurs="0">
        <xs:annotation>
          <xs:documentation>Transportation specific data, Locations, seats, meals</xs:documentation>
        </xs:annotation>
        <xs:sequence minOccurs="0">
          <xs:annotation>
            <xs:documentation>Location Information : possible departures or destinations, vias, stops...</xs:documentation>
          </xs:annotation>
          <xs:group ref="FromToRangeGroup" minOccurs="0"/>
          <xs:group ref="InGroup" minOccurs="0"/>
          <xs:group ref="StopGroup" minOccurs="0"/>
          <xs:group ref="ViaGroup" minOccurs="0"/>
        </xs:sequence>
        <xs:group ref="SeatGroup" minOccurs="0"/>
        <xs:group ref="CarrierGroup" minOccurs="0"/>
        <xs:group ref="MealGroup" minOccurs="0"/>
      </xs:sequence>
      <xs:attributeGroup ref="TransportationRoleGroup"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>