Definition Type: ComplexType
Name: FareInfoType
Containing Schema: OTA_AirCommonTypes.xsd
Abstract
Documentation:
Rules for this priced option.
Collapse XSD Schema Diagram:
Drilldown into Airport in schema ota_aircommontypes_xsd1 Drilldown into City in schema ota_aircommontypes_xsd1 Drilldown into DiscountPricing in schema ota_aircommontypes_xsd1 Drilldown into FareInfo in schema ota_aircommontypes_xsd1 Drilldown into Date in schema ota_aircommontypes_xsd1 Drilldown into ArrivalAirport in schema ota_aircommontypes_xsd1 Drilldown into DepartureAirport in schema ota_aircommontypes_xsd1 Drilldown into MarketingAirline in schema ota_aircommontypes_xsd1 Drilldown into FilingAirline in schema ota_aircommontypes_xsd1 Drilldown into RuleInfo in schema ota_aircommontypes_xsd1 Drilldown into FareReference in schema ota_aircommontypes_xsd1 Drilldown into DepartureDate in schema ota_aircommontypes_xsd1 Drilldown into NbrOfCities in schema ota_aircommontypes_xsd Drilldown into RoutingNumber in schema ota_aircommontypes_xsd Drilldown into RuleNumber in schema ota_aircommontypes_xsd Drilldown into TariffNumber in schema ota_aircommontypes_xsd Drilldown into CurrencyCode in schema ota_aircommontypes_xsd Drilldown into NegotiatedFareCode in schema ota_aircommontypes_xsd Drilldown into NegotiatedFare in schema ota_aircommontypes_xsd Drilldown into NegotiatedFareAttributes in schema ota_aircommontypes_xsd1XSD Diagram of FareInfoType in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="FareInfoType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Rules for this priced option. </xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="DepartureDate" type="xs:dateTime" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Departure Date for this priced fare</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="FareReference" minOccurs="0" maxOccurs="5">
            <xs:annotation>
                <xs:documentation xml:lang="en">Used to provide the fare basis code, the fare class code, and/or ticket designator. </xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:simpleContent>
                    <xs:extension base="StringLength0to8">
                        <xs:attribute name="ResBookDesigCode" type="UpperCaseAlphaLength1to2" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Identifies the class of service for the specified fare basis code.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="TicketDesignatorCode" type="StringLength1to16" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Specifies the discount code applicable to the fare that is associated with this fare basis code.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="AccountCode" type="StringLength1to32" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">A code to uniquely identify a fare account.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:simpleContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="RuleInfo" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Information regarding restrictions governing use of the fare.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="RuleInfoType">
                        <xs:attribute name="TripType" type="AirTripType" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">To specify if the trip is one way or roundtrip. 
</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="MoneySaverInd" type="xs:boolean" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">If true, the fare rule being requested is for all airline fares for the specified city pair. If false, it is not.
</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="FilingAirline" type="CompanyNameType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">The airline that filed the fare(s).</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="MarketingAirline" type="CompanyNameType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">The marketing airline.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="DepartureAirport" type="LocationType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Departure point of flight segment.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="ArrivalAirport" type="LocationType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Arrival point of flight segment.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="Date" minOccurs="0" maxOccurs="5">
            <xs:annotation>
                <xs:documentation xml:lang="en">Date information applicable to the fare rules.
</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attribute name="Date" type="DateOrDateTimeType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The applicable date for the purpose specified in the Type attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Type" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Specifies the type of date.</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="LastRuleChange">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The last date the rule was changed.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="RuleBecomesInvalid">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The date after which the rule is no longer valid.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="RestrictiveFareEffective">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The date on which the restrictive fare becomes effective.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="RestrictiveFareDiscontinue">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The date on which the restrictive fare is discontinued.
</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="FareInfo" minOccurs="0" maxOccurs="15">
            <xs:annotation>
                <xs:documentation xml:lang="en">Fares and related information for this fare rule.
</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Date" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Date information applicable to the fare.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="Date" type="DateOrDateTimeType" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The applicable date for the purpose specified in the 
Type attribute.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="Type" use="optional">
                                <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                        <xs:enumeration value="EffectiveTravel">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The first travel date for this fare.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="DiscontinueTravel">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The last travel date for this fare.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="FirstTicketing">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The first date for ticketing.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="LastTicketing">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The last date for ticketing.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="TravelCompletion">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">The date by which travel must be completed.
</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="Fare" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The base and total fare and tax amounts associated with the rule.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="BaseAmount" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The base amount of the fare.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="BaseNUC_Amount" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The base neutral unit of construction amount.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="TaxAmount" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The tax amount for the fare associated to the rule.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="TotalFare" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The total fare associated to the rule.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="FareDescription" type="StringLength0to64" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">A description of the fare.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="PTC" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The passenger types for which the fare is applicable.
</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="PassengerTypeCode" type="AlphaLength3" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The passenger type code for this fare.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="FareBasisCode" type="StringLength1to16" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The fare basis code for the fare for this rule.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="GlobalIndicatorCode" type="GlobalIndicatorType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The global direction for this fare rule.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="MaximumPermittedMileage" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The maximum mileage (in miles) that can be travelled under this fare
.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="TripType" type="AirTripType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Tthe type of trip associated with the rule.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="FareType" type="UpperCaseAlphaLength1to3" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Specifies the fare type for this fare.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="FareStatus" type="FareStatusType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Identifies whether the fare was constructed, published, created, etc.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="DiscountPricing" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">The information needed when a passenger presents a discount/promotional coupon for a dollar/percentage off the fare or when a passenger qualifies for a percentage discount such as a senior discount.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="DiscountPricingGroup" />
            </xs:complexType>
        </xs:element>
        <xs:element name="City" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">A city code valid for this fare.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="LocationGroup">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">A city location code.</xs:documentation>
                    </xs:annotation>
                </xs:attributeGroup>
            </xs:complexType>
        </xs:element>
        <xs:element name="Airport" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">An airport code valid for this fare.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="LocationGroup">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">An airport locaton code.</xs:documentation>
                    </xs:annotation>
                </xs:attributeGroup>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attributeGroup ref="NegotiatedFareAttributes" />
    <xs:attribute name="CurrencyCode" type="AlphaLength3" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The ISO 4217 currency code associated with the fare rule information.
</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TariffNumber" type="AlphaNumericStringLength1to8" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The tariff number for the rule.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RuleNumber" type="AlphaNumericStringLength1to8" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The number associated with the fare rule.
</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RoutingNumber" type="Numeric1to9999" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The routing number applicable to this fare.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NbrOfCities" type="Numeric1to99" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The number of cities applicable to this fare.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DepartureDate DepartureDate 0 (1)
FareReference FareReference 0 5
RuleInfo RuleInfo 0 (1)
FilingAirline FilingAirline 0 (1)
MarketingAirline MarketingAirline 0 unbounded
DepartureAirport DepartureAirport 0 (1)
ArrivalAirport ArrivalAirport 0 (1)
Date Date 0 5
FareInfo FareInfo 0 15
DiscountPricing DiscountPricing 0 (1)
City City 0 99
Airport Airport 0 99
Collapse Child Attributes:
Name Type Default Value Use
CurrencyCode CurrencyCode Optional
TariffNumber TariffNumber Optional
RuleNumber RuleNumber Optional
RoutingNumber RoutingNumber Optional
NbrOfCities NbrOfCities Optional