Definition Type: ComplexType
Name: BookFlightSegmentType
Type: [Unresolved]: FlightSegmentType:
Containing Schema: OTA_AirCommonTypes.xsd
Abstract
Documentation:
Container for the flight segment data plus the MarriageGrp. Construct for holding the booked flight segment information.
Collapse XSD Schema Diagram:
Drilldown into Equipment in schema ota_commontypes_xsd Drilldown into OperatingAirline in schema ota_commontypes_xsd Drilldown into ArrivalAirport in schema ota_commontypes_xsd Drilldown into DepartureAirport in schema ota_commontypes_xsd 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_xsd Drilldown into TourOperatorFlightID in schema ota_aircommontypes_xsd Drilldown into FlightNumber in schema ota_aircommontypes_xsd Drilldown into FlightSegmentType in schema ota_aircommontypes_xsd1 Drilldown into ValidConnectionInd in schema ota_aircommontypes_xsd Drilldown into DateChangeNbr in schema ota_aircommontypes_xsd Drilldown into Distance in schema ota_aircommontypes_xsd Drilldown into ParticipationLevelCode in schema ota_aircommontypes_xsd Drilldown into ConnectionType in schema ota_aircommontypes_xsd Drilldown into LineNumber in schema ota_aircommontypes_xsd Drilldown into StopoverInd in schema ota_aircommontypes_xsd Drilldown into DepartureDay in schema ota_aircommontypes_xsd Drilldown into MealCode in schema ota_aircommontypes_xsd Drilldown into E_TicketEligibility in schema ota_aircommontypes_xsd Drilldown into Status in schema ota_aircommontypes_xsd Drilldown into NumberInParty in schema ota_aircommontypes_xsd Drilldown into ResBookDesigCode in schema ota_aircommontypes_xsdXSD Diagram of BookFlightSegmentType in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="BookFlightSegmentType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Container for the flight segment data plus the MarriageGrp.</xs:documentation>
        <xs:documentation xml:lang="en"> Construct for holding the booked flight segment information.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
        <xs:extension base="FlightSegmentType">
            <xs:sequence>
                <xs:element name="MarriageGrp" type="StringLength1to16" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Many airlines link connection flights together by terming them married segments.  When two or more segments are married, they must be processed as one unit. The segments must be moved, cancelled, and/or priced together. The value of the marriage group must be the same for all segments.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="BookingClassAvails" minOccurs="0" maxOccurs="3">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">A collection of availability counts per booking class.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="BookingClassAvail" maxOccurs="26">
                                <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: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:sequence>
                        <xs:attribute name="CabinType" type="CabinType" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Marketing name as defined by an airline for the first, business or economy cabin.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:complexType>
                </xs:element>
                <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="9">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Free text information that the marketing carrier may send about this flight.</xs:documentation>
                    </xs:annotation>
                </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="ResBookDesigCode" type="UpperCaseAlphaLength1to2" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Specific Booking Class for this segment.	</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="NumberInParty" type="xs:positiveInteger" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en"> Number of travelers associated with this segment.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="Status" type="OTA_CodeType" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Code providing status information for this segment. Refer to OTA Code List 'Status' (STS).</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="E_TicketEligibility" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Specifies whether a flight segment is eligible for electronic ticketing.</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                    <xs:restriction base="StringLength1to16">
                        <xs:enumeration value="Eligible">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Analogous to the IATA PADIS code: electronic ticket candidate.</xs:documentation>
                            </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Not Eligible">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Analogous to the IATA PADIS code: not an electronic ticket candidate.</xs:documentation>
                            </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="Required">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Analogous to the IATA PADIS code: electronic ticketing required.</xs:documentation>
                            </xs:annotation>
                        </xs:enumeration>
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="MealCode" type="MealServiceType" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">The applicable meal service code for this flight.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="DepartureDay" type="DayOfWeekType" use="optional" />
            <xs:attribute name="StopoverInd" type="xs:boolean" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">When true a stopover is permitted (airline display "O").  When false a stopover is not permitted (airline display "X").</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="LineNumber" type="Numeric1to999" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">A number that corresponds to a line in a previous response of flight segments.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="ConnectionType" type="StringLength0to8" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Used to provide the type of connection for this flight segment.</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="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="DateChangeNbr" type="xs:string" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">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="ValidConnectionInd" type="xs:boolean" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">When true, this flight segment constitutes a valid connection.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
MarriageGrp MarriageGrp: 0 (1)
BookingClassAvails BookingClassAvails: 0 3
Comment Comment: 0 9
StopLocation StopLocation: 0 9
Collapse Child Attributes:
Name Type Default Value Use
ResBookDesigCode ResBookDesigCode Optional
NumberInParty NumberInParty Optional
Status Status Optional
E_TicketEligibility E_TicketEligibility Optional
MealCode MealCode Optional
DepartureDay DepartureDay Optional
StopoverInd StopoverInd Optional
LineNumber LineNumber Optional
ConnectionType ConnectionType Optional
ParticipationLevelCode ParticipationLevelCode Optional
Distance Distance Optional
DateChangeNbr DateChangeNbr Optional
ValidConnectionInd ValidConnectionInd Optional