Definition Type: AttributeGroup
Name: FlightTypePrefGroup
Containing Schema: OTA_AirPreferences.xsd
Documentation:
Indicates preferences for certain types of flights, such as connections or stopovers, when used for a specific travel situation.
Collapse XSD Schema Diagram:
Drilldown into ExcludeTrainInd in schema ota_airpreferences_xsd1 Drilldown into RoutingType in schema ota_airpreferences_xsd1 Drilldown into OnlineConnectionsOnlyInd in schema ota_airpreferences_xsd1 Drilldown into NonStopsOnlyInd in schema ota_airpreferences_xsd1 Drilldown into DirectAndNonStopOnlyInd in schema ota_airpreferences_xsd1 Drilldown into GroundTransportIndicator in schema ota_airpreferences_xsd1 Drilldown into BackhaulIndicator in schema ota_airpreferences_xsd1 Drilldown into NonScheduledFltInfo in schema ota_airpreferences_xsd1 Drilldown into MaxConnections in schema ota_airpreferences_xsd1 Drilldown into FlightType in schema ota_airpreferences_xsd1 Drilldown into PreferLevel in schema ota_commontypes_xsd1 Drilldown into PreferLevelGroup in schema ota_commontypes_xsdXSD Diagram of FlightTypePrefGroup in schema ota_airpreferences_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:attributeGroup name="FlightTypePrefGroup">
    <xs:annotation>
        <xs:documentation xml:lang="en">Indicates preferences for certain types of flights, such as connections or stopovers, when used for a specific travel situation.
		</xs:documentation>
    </xs:annotation>
    <xs:attributeGroup ref="PreferLevelGroup" />
    <xs:attribute name="FlightType" type="FlightTypeType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en"> Indicates type of stops preferred (Nonstop, Direct, Connection).</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxConnections" type="xs:nonNegativeInteger" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Indicates that if connection is chosen, then this attribute defines the maximum number of connections preferred.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NonScheduledFltInfo" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">To specify which types of non-scheduled air service should be included.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="ChartersOnly">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Only include non scheduled flights that are charter flights.</xs:documentation>
                    </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="ExcludeCharters">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Do not include non scheduled flights that are charters.</xs:documentation>
                    </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="All">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Include both charter non scheduled flights and those that are not charters.</xs:documentation>
                    </xs:annotation>
                </xs:enumeration>
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="BackhaulIndicator" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">If true, include connections where one of the enroute stops is the same as the initial board point or the final off point of the flight.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GroundTransportIndicator" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">If true, include flights that include at least one leg that is ground transportation.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DirectAndNonStopOnlyInd" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">If true, direct and non-stop flights are requested.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NonStopsOnlyInd" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">If true, only non-stop flights are requested.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OnlineConnectionsOnlyInd" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">If true, only online connection flights are requested (i.e., same marketing airline).</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RoutingType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Specifies the travel routing preference.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="Normal">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">No special conditions.</xs:documentation>
                    </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="Mirror">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Outbound and inbound route of travel must be the same.</xs:documentation>
                    </xs:annotation>
                </xs:enumeration>
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ExcludeTrainInd" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">When true, exclude connections that include travel by train for one of the legs.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
PreferLevel PreferLevel Preferred Optional
FlightType FlightType Optional
MaxConnections MaxConnections Optional
NonScheduledFltInfo NonScheduledFltInfo Optional
BackhaulIndicator BackhaulIndicator Optional
GroundTransportIndicator GroundTransportIndicator Optional
DirectAndNonStopOnlyInd DirectAndNonStopOnlyInd Optional
NonStopsOnlyInd NonStopsOnlyInd Optional
OnlineConnectionsOnlyInd OnlineConnectionsOnlyInd Optional
RoutingType RoutingType Optional
ExcludeTrainInd ExcludeTrainInd Optional