Definition Type: ComplexType
Name: FareRuleResponseInfoType
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirRulesRS.xsd
Abstract
Documentation:
The collection of Fare Rule requests and the applicable Fare Rule categories.
Collapse XSD Schema Diagram:
Drilldown into AdvisoryInfo in schema ota_airrulesrs_xsd Drilldown into Routing in schema ota_airrulesrs_xsd Drilldown into FareRules in schema ota_airrulesrs_xsd Drilldown into FareRuleInfo in schema ota_airrulesrs_xsdXSD Diagram of FareRuleResponseInfoType in schema ota_airrulesrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="FareRuleResponseInfoType">
    <xs:annotation>
        <xs:documentation xml:lang="en">The collection of Fare Rule requests and the applicable Fare Rule categories.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="FareRuleInfo">
            <xs:annotation>
                <xs:documentation xml:lang="en">The Fare Rule Info as per the request.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="FareInfoType">
                        <xs:attribute name="LanguageRequested" type="AlphaNumericStringLength1to8" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Specifies the language in which the rules should be returned.
</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="LanguageReturned" type="AlphaNumericStringLength1to8" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Specifies the language in which the rules are returned.
</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="FareRules" type="FormattedTextType">
            <xs:annotation>
                <xs:documentation xml:lang="en">The applicable Fare Rule categories.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="Routing" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation xml:lang="en">Specifies the routing for all the fares.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Info" minOccurs="0" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The routing direction and city airports for the direction.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="Direction" type="StringLength1to8" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The direction of the routing, such as to or from.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="Text" type="xs:string" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The routing text associated with the direction.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="Number" type="Numeric1to9999" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">A routing number for the fare.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="RoutingConstructedInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, the routing was constructed.  If false, it was not constructed.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="MaximumPermittedMileage" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">The maximum permitted mileage for the fare associated to this rule.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="RoutingRestriction" type="StringLength1to128" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Restriction information about the routing.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="AdvisoryInfo" minOccurs="0" maxOccurs="15">
            <xs:annotation>
                <xs:documentation xml:lang="en">Advisory information that applies to all the rule information.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:simpleContent>
                    <xs:extension base="FreeTextType">
                        <xs:attribute name="AdvisoryCode" type="StringLength1to8" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Specifies the type of advisory information.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:simpleContent>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
FareRuleInfo nsA:FareRuleInfo (1) (1)
FareRules nsA:FareRules (1) (1)
Routing nsA:Routing 0 99
AdvisoryInfo nsA:AdvisoryInfo 0 15
Collapse Derivation Tree:
Collapse References:
nsA:FareRuleResponseInfo