Definition Type: Element
Name: FlightSegment
Namespace: http://www.opentravel.org/OTA/2003/05
Type: Unresolved link to flightsegmenttype
Containing Schema: OTA_AirAvailRS.xsd
MinOccurs (1)
MaxOccurs 8
Abstract
Documentation:
Details of the flight option for an origin destination pair.
Collapse XSD Schema Diagram:
Drilldown into StopLocation in schema ota_airavailrs_xsd Drilldown into BookingClassAvail in schema ota_airavailrs_xsd Drilldown into MarketingCabin in schema ota_airavailrs_xsd Drilldown into Comment in schema ota_airavailrs_xsd Drilldown into TrafficRestrictionInfo in schema ota_airavailrs_xsd Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into  in schema Drilldown into OptionalServicesInd in schema ota_airavailrs_xsd Drilldown into SequenceNumber in schema ota_airavailrs_xsd Drilldown into DateChangeNbr in schema ota_airavailrs_xsd Drilldown into FlifoInd in schema ota_airavailrs_xsd Drilldown into CodeshareInd in schema ota_airavailrs_xsd Drilldown into Distance in schema ota_airavailrs_xsd Drilldown into AccumulatedDuration in schema ota_airavailrs_xsd Drilldown into GroundDuration in schema ota_airavailrs_xsd Drilldown into ParticipationLevelCode in schema ota_airavailrs_xsd Drilldown into Ticket in schema ota_airavailrs_xsd Drilldown into OnTimeRate in schema ota_airavailrs_xsd Drilldown into  in schema Drilldown into  in schema Drilldown into JourneyDuration in schema ota_airavailrs_xsdXSD Diagram of FlightSegment in schema ota_airavailrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="FlightSegment" maxOccurs="8">
    <xs:annotation>
        <xs:documentation xml:lang="en">Details of the flight option for an origin destination pair.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:annotation>
            <xs:documentation xml:lang="en">Flight segment information returned for an availability request including ancillary information. </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="FlightSegmentType">
                <xs:sequence>
                    <xs:element name="TrafficRestrictionInfo" minOccurs="0" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Traffic restriction information for a specific flight.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:complexContent>
                                <xs:extension base="FreeTextType">
                                    <xs:attribute name="Code" type="OTA_CodeType" use="optional">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The traffic restriction that applies to this flight segment. Refer to OpenTravel Code list TRC (Traffic Restriction Code).</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">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">The airline specific branding for cabins.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="BookingClassAvail" minOccurs="0" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Booking codes available to be sold for a particular flight segment.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Meal" minOccurs="0" maxOccurs="5">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The meal service for this booking class.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:attribute name="MealService" type="MealServiceType" use="required">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Used to designate a meal or beverage service.</xs:documentation>
                                            </xs:annotation>
                                        </xs:attribute>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                            <xs:attributeGroup ref="BookingClassAvailabilityGroup" />
                            <xs:attribute name="RPH" type="RPH_Type" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">RPH refers back to Marketing Cabin Type.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="StopLocation" minOccurs="0" maxOccurs="9">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">A location where the flight is scheduled to stop en route to its destination for this flight segment.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attributeGroup ref="LocationGroup">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">A location where the flight is scheduled to stop en route to its destination for this flight segment.</xs:documentation>
                                </xs:annotation>
                            </xs:attributeGroup>
                        </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="Ticket" type="TicketType">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Specifies if the flight is e-ticketable or not.</xs:documentation>
                        <xs:documentation xml:lang="en">
                            <LegacyDefaultValue>Paper</LegacyDefaultValue>
                        </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 OpenTravel Code List 'Participation Level Code' (PLC).</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:attribute name="AccumulatedDuration" type="xs:duration" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The total duration time of the flight. This is the combination of both JourneyDuration and GroundDuration.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Distance" type="xs:nonNegativeInteger" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Miles acquired per flight segment, usually used for earning of frequent flyer miles.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="CodeshareInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">When true, this flight is a codeshare flight.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="FlifoInd" 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: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 (e.g., +1, -1).</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="SequenceNumber" type="Numeric1to999" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The sequence number of this flight segment with respect to all flight segments returned in the response.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="OptionalServicesInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">When true, optional services are available 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 Unresolved link to departureairport11 0 (1)
ArrivalAirport Unresolved link to arrivalairport11 0 (1)
OperatingAirline Unresolved link to operatingairline3 0 (1)
Equipment Unresolved link to equipment4 0 2
TPA_Extensions Unresolved link to tpa_extensions 0 (1)
MarketingAirline Unresolved link to marketingairline4 0 (1)
TrafficRestrictionInfo nsA:TrafficRestrictionInfo 0 99
Comment nsA:Comment 0 10
MarketingCabin nsA:MarketingCabin 0 9
BookingClassAvail nsA:BookingClassAvail 0 99
StopLocation nsA:StopLocation 0 9
Collapse Child Attributes:
Name Type Default Value Use
DepartureDateTime Unresolved link to departuredatetime5 Optional
ArrivalDateTime Unresolved link to arrivaldatetime5 Optional
StopQuantity Unresolved link to stopquantity Optional
RPH Unresolved link to rph48 Optional
InfoSource Unresolved link to infosource Optional
FlightNumber Unresolved link to flightnumber2 Optional
TourOperatorFlightID Unresolved link to touroperatorflightid Optional
GovernmentApprovalInd Unresolved link to governmentapprovalind Optional
GovernmentApprovalText Unresolved link to governmentapprovaltext Optional
FlownMileageQty Unresolved link to flownmileageqty Optional
FareBasisCode Unresolved link to farebasiscode7 Optional
ResBookDesigCode Unresolved link to resbookdesigcode8 Optional
JourneyDuration nsA:JourneyDuration Optional
SmokingAllowed Unresolved link to smokingallowed2 Optional
OnTimeRate nsA:OnTimeRate Optional
Ticket nsA:Ticket (Optional)
ParticipationLevelCode nsA:ParticipationLevelCode Optional
GroundDuration nsA:GroundDuration Optional
AccumulatedDuration nsA:AccumulatedDuration Optional
Distance nsA:Distance Optional
CodeshareInd nsA:CodeshareInd Optional
FlifoInd nsA:FlifoInd Optional
DateChangeNbr nsA:DateChangeNbr Optional
SequenceNumber nsA:SequenceNumber Optional
OptionalServicesInd nsA:OptionalServicesInd Optional
Collapse Derivation Tree:
  • Unresolved link to flightsegmenttype
    • FlightSegment