Definition Type: Element
Name: OriginDestinationOption
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirScheduleRS.xsd
MinOccurs (1)
MaxOccurs 999
Abstract
Collapse XSD Schema Diagram:
Drilldown into Comment in schema ota_airschedulers_xsd Drilldown into FlightSegment in schema ota_airschedulers_xsdXSD Diagram of OriginDestinationOption in schema ota_airschedulers_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="OriginDestinationOption" maxOccurs="999">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="FlightSegment" maxOccurs="4">
                <xs:annotation>
                    <xs:documentation xml:lang="en">A collection of one or more legs that are defined as a single flight number.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:complexContent>
                        <xs:extension base="FlightSegmentType">
                            <xs:sequence>
                                <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="10">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Any special comments on the leg. eg. operated by  XX. </xs:documentation>
                                    </xs:annotation>
                                </xs:element>
                                <xs:element name="MarketingCabin" type="MarketingCabinType" minOccurs="0" maxOccurs="9">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en"> Identifies the marketing name for the cabin. This is the supplier cabin identifier as opposed to the generic industry term for the cabin.</xs:documentation>
                                    </xs:annotation>
                                </xs:element>
                                <xs:element name="DaysOfOperation" type="OperationSchedulesType" minOccurs="0">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en"> Identifies the days of week the flight operates.</xs:documentation>
                                    </xs:annotation>
                                </xs:element>
                                <xs:element name="BookingClass" minOccurs="0" maxOccurs="99">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Reservation booking codes for a particular flight segment.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:attribute name="ResBookDesigCode" type="UpperCaseAlphaLength1to2" use="required">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">A reservation booking code for this flight segment.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                    </xs:complexType>
                                </xs:element>
                                <xs:element name="TrafficRestrictionInfo" minOccurs="0" maxOccurs="9">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Traffic restriction information for a specific flight.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:attribute name="Code" type="OTA_CodeType" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en"> A restriction in coded format that may affect the flight schedule. Refer to OTA code list TRC (Traffic Restriction Code).</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="Text" type="xs:string" use="optional">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">A restriction in text format that may affect the flight schedule.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                            <xs:attribute name="JourneyDuration" type="xs:duration" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en"> The duration of the flight from departure location to destination location.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attributeGroup ref="SmokingIndicatorGroup">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en"> Specifies if the flight is smoking or not.</xs:documentation>
                                </xs:annotation>
                            </xs:attributeGroup>
                            <xs:attribute name="OnTimeRate" type="Percentage" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en"> Specifies the Dept. of Transport on time rate of the  flight.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="ScheduleValidStartDate" type="xs:date" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en"> Identifies the start date for the scheduled flight.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="ScheduleValidEndDate" type="xs:date" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en"> Identifies the end date for the scheduled flight.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="ParticipationLevelCode" type="OTA_CodeType" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">To specify the level of participation by a vendor in another system. Refer to OTA Code List 'Participation Level Code' (PLC).</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="DateChangeNbr" type="xs:string" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">When present, contains the number of days by which the flight's arrival date differs from its departure date.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="FLIFO_Ind" type="xs:boolean" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">When true, FLIFO information exists for this flight.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:extension>
                    </xs:complexContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="10">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Used to specify comment information for a group of flight segments.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
FlightSegment nsA:FlightSegment (1) 4
Comment nsA:Comment 0 10