Definition Type: Element
Name: FlightSegment
Namespace: http://www.opentravel.org/OTA/2003/05
Type: FlightSegmentType
Containing Schema: OTA_AirScheduleRS.xsd
MinOccurs (1)
MaxOccurs 4
Abstract
Documentation:
A collection of one or more legs that are defined as a single flight number.
Collapse XSD Schema Diagram:
Drilldown into TrafficRestrictionInfo in schema ota_airschedulers_xsd Drilldown into BookingClass in schema ota_airschedulers_xsd Drilldown into DaysOfOperation in schema ota_airschedulers_xsd Drilldown into MarketingCabin in schema ota_airschedulers_xsd Drilldown into Comment in schema ota_airschedulers_xsd Drilldown into MarketingAirline in schema ota_aircommontypes_xsd Drilldown into Equipment in schema ota_commontypes_xsd1 Drilldown into OperatingAirline in schema ota_commontypes_xsd1 Drilldown into ArrivalAirport in schema ota_commontypes_xsd1 Drilldown into DepartureAirport in schema ota_commontypes_xsd1 Drilldown into InfoSource in schema ota_commontypes_xsd1 Drilldown into RPH in schema ota_commontypes_xsd1 Drilldown into StopQuantity in schema ota_commontypes_xsd1 Drilldown into ArrivalDateTime in schema ota_commontypes_xsd1 Drilldown into DepartureDateTime in schema ota_commontypes_xsd1 Drilldown into FlightSegmentBaseType in schema ota_commontypes_xsd1 Drilldown into TourOperatorFlightID in schema ota_aircommontypes_xsd Drilldown into FlightNumber in schema ota_aircommontypes_xsd Drilldown into FlightSegmentType in schema ota_aircommontypes_xsd Drilldown into FLIFO_Ind in schema ota_airschedulers_xsd Drilldown into DateChangeNbr in schema ota_airschedulers_xsd Drilldown into ParticipationLevelCode in schema ota_airschedulers_xsd Drilldown into ScheduleValidEndDate in schema ota_airschedulers_xsd Drilldown into ScheduleValidStartDate in schema ota_airschedulers_xsd Drilldown into OnTimeRate in schema ota_airschedulers_xsd Drilldown into SmokingAllowed in schema ota_commontypes_xsd1 Drilldown into SmokingIndicatorGroup in schema ota_commontypes_xsd1 Drilldown into JourneyDuration in schema ota_airschedulers_xsdXSD Diagram of FlightSegment in schema ota_airschedulers_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DepartureAirport DepartureAirport 0 (1)
ArrivalAirport ArrivalAirport 0 (1)
OperatingAirline OperatingAirline 0 (1)
Equipment Equipment 0 2
MarketingAirline MarketingAirline 0 (1)
Comment nsA:Comment 0 10
MarketingCabin nsA:MarketingCabin 0 9
DaysOfOperation nsA:DaysOfOperation 0 (1)
BookingClass nsA:BookingClass 0 99
TrafficRestrictionInfo nsA:TrafficRestrictionInfo 0 9
Collapse Child Attributes:
Name Type Default Value Use
DepartureDateTime DepartureDateTime Optional
ArrivalDateTime ArrivalDateTime Optional
StopQuantity StopQuantity Optional
RPH RPH Optional
InfoSource InfoSource Optional
FlightNumber FlightNumber Optional
TourOperatorFlightID TourOperatorFlightID Optional
JourneyDuration nsA:JourneyDuration Optional
SmokingAllowed SmokingAllowed false Optional
OnTimeRate nsA:OnTimeRate Optional
ScheduleValidStartDate nsA:ScheduleValidStartDate Optional
ScheduleValidEndDate nsA:ScheduleValidEndDate Optional
ParticipationLevelCode nsA:ParticipationLevelCode Optional
DateChangeNbr nsA:DateChangeNbr Optional
FLIFO_Ind nsA:FLIFO_Ind Optional
Collapse Derivation Tree: