Definition Type: Element
Name: FlightDetails
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirDetailsRS.xsd
MinOccurs 0
MaxOccurs 150
Abstract
Documentation:
Construct to describe details for a specific flight.
Collapse XSD Schema Diagram:
Drilldown into FlightLegDetails in schema ota_airdetailsrs_xsd Drilldown into TotalMiles in schema ota_aircommontypes_xsd Drilldown into TotalTripTime in schema ota_aircommontypes_xsd Drilldown into TotalGroundTime in schema ota_aircommontypes_xsd Drilldown into TotalFlightTime in schema ota_aircommontypes_xsd Drilldown into AirDetailsRSAttributes in schema ota_aircommontypes_xsdXSD Diagram of FlightDetails in schema ota_airdetailsrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="FlightDetails" minOccurs="0" maxOccurs="150">
    <xs:annotation>
        <xs:documentation xml:lang="en">Construct to describe details for a specific flight.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="FlightLegDetails" maxOccurs="10">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Construct for holding flight leg information.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="DepartureAirport" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The departure airport of the flight leg.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attributeGroup ref="AirportLocationGroup" />
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="ArrivalAirport" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The arrival airport of the flight leg.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attributeGroup ref="AirportLocationGroup" />
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="MarketingAirline" type="CompanyNameType" minOccurs="0">
                            <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 air carrier engaged directly in the operation of the 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" type="FreeTextType" minOccurs="0" maxOccurs="unbounded">
                            <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="MarketingCabinAvailability" type="CabinAvailabilityType" minOccurs="0" maxOccurs="9">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Identifies the cabins available for the flight.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Warnings" type="WarningsType" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Warning information for this flight leg.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                    <xs:attribute name="SequenceNumber" type="xs:integer" use="required">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> The sequence number of the flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="FlightNumber" type="xs:positiveInteger" use="required">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The flight number of the flight.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <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:attribute name="GroundDuration" type="xs:duration" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The duration of a ground stop.</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="Ticket" type="TicketType" default="Paper">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specifies if the flight is e-ticketable or not.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="DepartureDateTime" type="xs:dateTime" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Scheduled flight departure date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ArrivalDateTime" type="xs:dateTime" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en"> Scheduled flight arrival date/time for flight leg.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="DepartureDayOfWeek" type="DayOfWeekType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">A three letter abbreviation for the day of the week as specified in the departure date.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="LegDistance" type="xs:positiveInteger" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The number of miles for this flight leg.
</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="DateChangeNbr" 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:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:enumeration value="-1">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The date of arrival is 1 day before the departure date.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="+1">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The date of arrival is 1 day after the departure date.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="+2">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The date of arrival is 2 days after the departure date.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attributeGroup ref="AirDetailsRSAttributes" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
FlightLegDetails nsA:FlightLegDetails (1) 10
Collapse Child Attributes:
Name Type Default Value Use
TotalFlightTime TotalFlightTime Optional
TotalGroundTime TotalGroundTime Optional
TotalTripTime TotalTripTime Optional
TotalMiles TotalMiles Optional