Definition Type: ComplexType
Name: PTCFareBreakdownType
Containing Schema: OTA_AirCommonTypes.xsd
Abstract
Documentation:
Per passenger type code pricing for this itinerary. Set if fareBreakdown was requested.
Collapse XSD Schema Diagram:
Drilldown into PricingUnit in schema ota_aircommontypes_xsd1 Drilldown into FareInfo in schema ota_aircommontypes_xsd1 Drilldown into Endorsements in schema ota_aircommontypes_xsd1 Drilldown into TicketDesignators in schema ota_aircommontypes_xsd1 Drilldown into TravelerRefNumber in schema ota_aircommontypes_xsd1 Drilldown into PassengerFare in schema ota_aircommontypes_xsd1 Drilldown into FareBasisCodes in schema ota_aircommontypes_xsd1 Drilldown into PassengerTypeQuantity in schema ota_aircommontypes_xsd1 Drilldown into FlightRefNumberRPHList in schema ota_aircommontypes_xsd Drilldown into PricingSource in schema ota_aircommontypes_xsdXSD Diagram of PTCFareBreakdownType in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="PTCFareBreakdownType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Per passenger type code pricing for this itinerary. Set if fareBreakdown was requested.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="PassengerTypeQuantity" type="PassengerTypeQuantityType">
            <xs:annotation>
                <xs:documentation xml:lang="en">Number of individuals traveling under this PTC</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="FareBasisCodes" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">This is a collection of fare basis codes.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="FareBasisCode" maxOccurs="16">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Fare basis code for the price for this PTC</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="StringLength1to16">
                                    <xs:attribute name="FlightSegmentRPH" type="RPH_Type" use="optional">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">A reference to the flight segment associated with this fare basis code.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                    <xs:attribute name="NotValidBefore" type="xs:date" use="optional">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The date before which the fare basis code is not valid.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                    <xs:attribute name="NotValidAfter" type="xs:date" use="optional">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The date after which the fare basis code is not valid.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                </xs:extension>
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
        <xs:element name="PassengerFare" minOccurs="0" maxOccurs="2">
            <xs:annotation>
                <xs:documentation xml:lang="en">The total passenger fare with cost breakdown.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="FareType">
                        <xs:sequence>
                            <xs:element name="TicketFeeDetail" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The ticket fee information for this passsenger type code.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="Fee" maxOccurs="9">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The ticket fee code.</xs:documentation>
                                            </xs:annotation>
                                            <xs:complexType>
                                                <xs:sequence>
                                                    <xs:element name="BaseFee" minOccurs="0">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The base fee amount.</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                            <xs:attribute name="Amount" type="Money" use="required">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The base fee amount.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                        </xs:complexType>
                                                    </xs:element>
                                                    <xs:element name="Taxes" minOccurs="0">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">A collection of taxes.</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                            <xs:sequence>
                                                                <xs:element name="Tax" type="AirTaxType" maxOccurs="99">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">The tax for the ticket fee.</xs:documentation>
                                                                    </xs:annotation>
                                                                </xs:element>
                                                            </xs:sequence>
                                                            <xs:attribute name="Amount" type="Money" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total amount for all ticket fee taxes.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                        </xs:complexType>
                                                    </xs:element>
                                                    <xs:element name="Total" minOccurs="0">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">The total of the base fee and taxes. </xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                            <xs:attribute name="Amount" type="Money" use="required">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total of the base fee and taxes.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                        </xs:complexType>
                                                    </xs:element>
                                                </xs:sequence>
                                                <xs:attribute name="FeeCode" type="StringLength1to16" use="required" />
                                                <xs:attribute name="Description" type="StringLength0to128" use="optional" />
                                            </xs:complexType>
                                        </xs:element>
                                        <xs:element name="Total" minOccurs="0" maxOccurs="3">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Used to specify the total base fees, total taxes and total of both.</xs:documentation>
                                            </xs:annotation>
                                            <xs:complexType>
                                                <xs:attribute name="Type" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:NMTOKEN">
                                                            <xs:enumeration value="Base">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total of base ticket fees.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:enumeration>
                                                            <xs:enumeration value="Tax">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total of all taxes for the ticket fees.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:enumeration>
                                                            <xs:enumeration value="Total">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total of all ticket fees.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:enumeration>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                                <xs:attribute name="Amount" type="Money" use="required" />
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                    <xs:attributeGroup ref="CurrencyCodeGroup">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The currency code for all of the ticketing fees.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attributeGroup>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                        <xs:attribute name="Usage" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Specifies the usage of the passenger fare structure.</xs:documentation>
                            </xs:annotation>
                            <xs:simpleType>
                                <xs:restriction base="xs:NMTOKEN">
                                    <xs:enumeration value="PassengerFare">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The fare information for the passenger fees.</xs:documentation>
                                        </xs:annotation>
                                    </xs:enumeration>
                                    <xs:enumeration value="TicketFee">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">The fare information for the ticket fees.</xs:documentation>
                                        </xs:annotation>
                                    </xs:enumeration>
                                </xs:restriction>
                            </xs:simpleType>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="TravelerRefNumber" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">Contains the RPH reference to the traveler.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="TravelerRefNumberGroup" />
            </xs:complexType>
        </xs:element>
        <xs:element name="TicketDesignators" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">This is a collection of ticket designator elements.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="TicketDesignator" maxOccurs="10">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Contains the discount code and a flight reference applicable to the fare.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="FlightRefRPH" type="RPH_Type" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Identifies the flight to which this ticket designator applies.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="TicketDesignatorCode" type="StringLength1to16" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Specifies a discount code applicable to the fare.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="TicketDesignatorExtension" type="StringLength1to16" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Specifies an extension that a carrier may apply to a  ticket designator.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
        <xs:element name="Endorsements" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Container for endorsements.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Endorsement" maxOccurs="9">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specifies ticket endorsement information.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="FreeTextType" />
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="NonRefundableIndicator" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Indicates whether the ticket is refundable. If true, the ticket is NOT refundable.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="NonEndorsableIndicator" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Indicates whether the ticket is endorsable. If true, the ticket is NOT endorsable.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="FareInfo" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">Detailed information on individual priced fares. </xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:annotation>
                    <xs:documentation xml:lang="en"> Information used to define a fare and its associated rules information.</xs:documentation>
                </xs:annotation>
                <xs:complexContent>
                    <xs:extension base="FareInfoType">
                        <xs:sequence>
                            <xs:element name="PassengerFare" type="FareType">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The fare with cost breakdown. </xs:documentation>
                                </xs:annotation>
                            </xs:element>
                        </xs:sequence>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="PricingUnit" minOccurs="0" maxOccurs="20">
            <xs:annotation>
                <xs:documentation xml:lang="en">A pricing unit for a passenger type code.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="FareComponent" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Provides the data for a component of the fare.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="FlightLeg" maxOccurs="99">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">The flight leg information for the fare component.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:complexContent>
                                            <xs:extension base="BookFlightSegmentType">
                                                <xs:attribute name="SurchargeInd" type="xs:boolean" use="optional">
                                                    <xs:annotation>
                                                        <xs:documentation xml:lang="en">When true, a surcharge applies to this flight leg.</xs:documentation>
                                                    </xs:annotation>
                                                </xs:attribute>
                                                <xs:attribute name="FareBasisCode" type="StringLength1to16" use="optional">
                                                    <xs:annotation>
                                                        <xs:documentation xml:lang="en">The fare basis code for this flight leg.</xs:documentation>
                                                    </xs:annotation>
                                                </xs:attribute>
                                                <xs:attributeGroup ref="UnitsOfMeasureGroup">
                                                    <xs:annotation>
                                                        <xs:documentation xml:lang="en">Used to specify the free baggage allowance for this flight leg.</xs:documentation>
                                                    </xs:annotation>
                                                </xs:attributeGroup>
                                            </xs:extension>
                                        </xs:complexContent>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                            <xs:attribute name="Number" type="Numeric1to99" use="required">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The fare component number.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attributeGroup ref="CurrencyAmountGroup">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The currency code and the amount for the fare component.</xs:documentation>
                                </xs:annotation>
                            </xs:attributeGroup>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="UnitNumber" type="Numeric1to99" use="required">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">A sequential number that identifies this pricing unit.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="PricingSource" type="PricingSourceType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en"> Indicates whether the fare is public, private or both.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FlightRefNumberRPHList" type="ListOfRPH" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">One or more flights to which this fare applies.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
PassengerTypeQuantity PassengerTypeQuantity (1) (1)
FareBasisCodes FareBasisCodes 0 (1)
PassengerFare PassengerFare 0 2
TravelerRefNumber TravelerRefNumber 0 99
TicketDesignators TicketDesignators 0 (1)
Endorsements Endorsements 0 (1)
FareInfo FareInfo 0 99
PricingUnit PricingUnit 0 20
Collapse Child Attributes:
Name Type Default Value Use
PricingSource PricingSource Optional
FlightRefNumberRPHList FlightRefNumberRPHList Optional