Definition Type: Element
Name: OTA_AirScheduleRS
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirScheduleRS.xsd
Abstract
Documentation:
The Schedule Response message contains Flight Schedules for a city pair. A set of OriginDestinationOptions is returned, each of which contains one or more (connecting) flights that serve the city pair. For each flight the following information is returned: - Origin and destination airports - Departure and arrival times - Days of Operation - Effective Date and End Date -Equipment - Meal Information - Codeshare information. This message contains similar information to the OTA_AirAvailabilityRS message except it does not contain inventory availability.
Collapse XSD Schema Diagram:
Drilldown into Errors in schema ota_airschedulers_xsd Drilldown into OriginDestinationOptions in schema ota_airschedulers_xsd Drilldown into Warnings in schema ota_airschedulers_xsd Drilldown into Success in schema ota_airschedulers_xsd Drilldown into RetransmissionIndicator in schema ota_commontypes_xsd1 Drilldown into AltLangID in schema ota_commontypes_xsd1 Drilldown into AltLangID_Group in schema ota_commontypes_xsd1 Drilldown into PrimaryLangID in schema ota_commontypes_xsd1 Drilldown into PrimaryLangID_Group in schema ota_commontypes_xsd1 Drilldown into TransactionStatusCode in schema ota_commontypes_xsd1 Drilldown into SequenceNmbr in schema ota_commontypes_xsd1 Drilldown into TransactionIdentifier in schema ota_commontypes_xsd1 Drilldown into Version in schema ota_commontypes_xsd1 Drilldown into Target in schema ota_commontypes_xsd1 Drilldown into TimeStamp in schema ota_commontypes_xsd1 Drilldown into EchoToken in schema ota_commontypes_xsd1 Drilldown into OTA_PayloadStdAttributes in schema ota_commontypes_xsd1XSD Diagram of OTA_AirScheduleRS in schema ota_airschedulers_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="OTA_AirScheduleRS">
    <xs:annotation>
        <xs:documentation xml:lang="en">
The Schedule Response message contains Flight Schedules for a city pair. A set of OriginDestinationOptions is returned, each of which contains one or more (connecting) flights that serve the city pair. For each flight the following information is returned:
- Origin and destination airports
- Departure and arrival times
- Days of Operation
- Effective Date and End Date
-Equipment
- Meal Information
- Codeshare information.
This message contains similar information to the OTA_AirAvailabilityRS message except it does not contain inventory availability.	</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:choice>
            <xs:sequence>
                <xs:element name="Success" type="SuccessType">
                    <xs:annotation>
                        <xs:documentation xml:lang="en"> Standard way to indicate successful processing of an OTA message. Returning an empty element of this type indicates success.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Warnings" type="WarningsType" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation xml:lang="en"> Standard way to indicate successful processing of an OTA message, but one in which warnings are generated.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="OriginDestinationOptions" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Origin and Destination location, and time information for the Air Schedule  request. </xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Holds the collection of flight options for this origin-destination pair.  There maybe limits imposed by individual supplier that are below the maximum occurrences for this element.</xs:documentation>
                        </xs:annotation>
                        <xs:sequence>
                            <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>
                        </xs:sequence>
                        <xs:attribute name="OriginCode" type="StringLength1to8" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The airport code where the journey commences.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="DestinationCode" type="StringLength1to8" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The airport code where the journey ends.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
            <xs:element name="Errors" type="ErrorsType">
                <xs:annotation>
                    <xs:documentation xml:lang="en"> A collection of errors that occurred during the processing of a message.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
        <xs:attributeGroup ref="OTA_PayloadStdAttributes" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Success nsA:Success (1) (1)
Warnings nsA:Warnings 0 (1)
OriginDestinationOptions nsA:OriginDestinationOptions 0 (1)
Errors nsA:Errors (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
EchoToken EchoToken Optional
TimeStamp TimeStamp Optional
Target Target Production Optional
Version Version Required
TransactionIdentifier TransactionIdentifier Optional
SequenceNmbr SequenceNmbr Optional
TransactionStatusCode TransactionStatusCode Optional
PrimaryLangID PrimaryLangID Optional
AltLangID AltLangID Optional
RetransmissionIndicator RetransmissionIndicator Optional