Definition Type: Element
Name: FlightLegInfo
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFlifoRS.xsd
MinOccurs (1)
MaxOccurs 10
Abstract
Documentation:
Information regarding each leg of the flight. A flight leg is one departure and one arrival (non-stop sector).
Collapse XSD Schema Diagram:
Drilldown into OperationTimes in schema ota_airflifors_xsd Drilldown into ArrivalDateTime in schema ota_airflifors_xsd Drilldown into DepartureDateTime in schema ota_airflifors_xsd Drilldown into Comment in schema ota_airflifors_xsd Drilldown into Equipment in schema ota_airflifors_xsd Drilldown into OperatingAirline in schema ota_airflifors_xsd Drilldown into MarketingAirline in schema ota_airflifors_xsd Drilldown into ArrivalAirport in schema ota_airflifors_xsd Drilldown into DepartureAirport in schema ota_airflifors_xsd Drilldown into OnTimeRate in schema ota_airflifors_xsd Drilldown into FlightStatus in schema ota_airflifors_xsd Drilldown into LegDistance in schema ota_aircommontypes_xsd Drilldown into AccumulatedDuration in schema ota_aircommontypes_xsd Drilldown into GroundDuration in schema ota_aircommontypes_xsd Drilldown into JourneyDuration in schema ota_aircommontypes_xsd Drilldown into FlightNumber in schema ota_aircommontypes_xsd Drilldown into FlifoLegAttributes in schema ota_aircommontypes_xsdXSD Diagram of FlightLegInfo in schema ota_airflifors_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="FlightLegInfo" maxOccurs="10">
    <xs:annotation>
        <xs:documentation xml:lang="en">Information regarding each leg of the flight. A flight leg is one departure and one arrival (non-stop sector). </xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="DepartureAirport" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en"> Departure airport for flight leg.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Any special comments about the departure airport.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                    <xs:attributeGroup ref="AirportLocationGroup" />
                </xs:complexType>
            </xs:element>
            <xs:element name="ArrivalAirport" minOccurs="0" maxOccurs="2">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Arrival point of flight segment. Second occurrence indicates diversion airport.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Any special comments about the arrival airport.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                    <xs:attributeGroup ref="AirportLocationGroup" />
                    <xs:attribute name="Diversion" type="xs:boolean" use="required">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Indicates the flight has diverted to this airport.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="BaggageClaim" type="StringLength1to8" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specifies the location or carousel number for baggage from the arriving flight.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
            <xs:element name="MarketingAirline" type="CompanyNameType">
                <xs:annotation>
                    <xs:documentation xml:lang="en">The marketing airline.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OperatingAirline" type="OperatingAirlineType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en">The operating airline of the flight if it is a codeshare  flight.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Equipment" type="EquipmentType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en"> The type of equipment  used for the  flight..</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" minOccurs="0" maxOccurs="5">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Any special comments on the leg such as travel advisory messages, passenger advisory messages, etc.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="FreeTextType" />
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="DepartureDateTime" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Specifies scheduled and other  date time information.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="Scheduled" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Scheduled departure date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="Estimated" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Estimated departure date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="Actual" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Actual operational departure date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ReasonCode" type="OTA_CodeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The reason attributed to a delay or cancellation.  
Refers to  OTA Code Table FDC.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="NextAdvisoryTime" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specifies the time when the next information will be published.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
            <xs:element name="ArrivalDateTime" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Specifies scheduled and other date time information.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="Scheduled" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Scheduled arrival date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="Estimated" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Estimated arrival date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="Actual" type="TimeOrDateTimeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Actual operational arrival date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ReasonCode" type="OTA_CodeType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The reason attributed to a delay or cancellation.  
Refers to  OTA Code Table FDC.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
            <xs:element name="OperationTimes" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en"> A collection of OperationTimes.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="OperationTime" maxOccurs="99">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Provides information on operational events for this flight leg e.g. off-ground.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attributeGroup ref="OperationTimeGroup" />
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attributeGroup ref="FlifoLegAttributes" />
        <xs:attribute name="FlightStatus" type="StringLength1to32" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Status of the current flight operation. </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OnTimeRate" type="Percentage" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Specifies the Department of Transportation on time rate for the flight leg.
</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DepartureAirport nsA:DepartureAirport 0 (1)
ArrivalAirport nsA:ArrivalAirport 0 2
MarketingAirline nsA:MarketingAirline (1) (1)
OperatingAirline nsA:OperatingAirline 0 (1)
Equipment nsA:Equipment 0 (1)
Comment nsA:Comment 0 5
DepartureDateTime nsA:DepartureDateTime 0 (1)
ArrivalDateTime nsA:ArrivalDateTime 0 (1)
OperationTimes nsA:OperationTimes 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
FlightNumber FlightNumber Optional
JourneyDuration JourneyDuration Optional
GroundDuration GroundDuration Optional
AccumulatedDuration AccumulatedDuration Optional
LegDistance LegDistance Optional
FlightStatus nsA:FlightStatus Optional
OnTimeRate nsA:OnTimeRate Optional