Definition Type: Element
Name: FareComponent
Containing Schema: OTA_AirCommonTypes.xsd
MinOccurs (1)
MaxOccurs 99
Abstract
Documentation:
Provides the data for a component of the fare.
Collapse XSD Schema Diagram:
Drilldown into FlightLeg in schema ota_aircommontypes_xsd1 Drilldown into DecimalPlaces in schema ota_commontypes_xsd1 Drilldown into CurrencyCode in schema ota_commontypes_xsd1 Drilldown into CurrencyCodeGroup in schema ota_commontypes_xsd Drilldown into Amount in schema ota_commontypes_xsd1 Drilldown into CurrencyAmountGroup in schema ota_commontypes_xsd Drilldown into Number in schema ota_aircommontypes_xsdXSD Diagram of FareComponent in schema ota_aircommontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
FlightLeg FlightLeg (1) 99
Collapse Child Attributes:
Name Type Default Value Use
Number Number Required
Amount Amount Optional
CurrencyCode CurrencyCode Optional
DecimalPlaces DecimalPlaces Optional