Definition Type: AttributeGroup
Name: DirectAndStopsGroup
Containing Schema: OTA_AirCommonTypes.xsd
Documentation:
Attribute collection providing information on direct flight categorization and the number of stops made.
Collapse XSD Schema Diagram:
Drilldown into NumberStops in schema ota_aircommontypes_xsd Drilldown into DirectFlightsOnly in schema ota_aircommontypes_xsdXSD Diagram of DirectAndStopsGroup in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:attributeGroup name="DirectAndStopsGroup">
    <xs:annotation>
        <xs:documentation xml:lang="en">Attribute collection providing information on direct flight categorization and the number of stops made.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="DirectFlightsOnly" type="xs:boolean" use="optional" default="false">
        <xs:annotation>
            <xs:documentation xml:lang="en">Indicates the same flight number on the same airline regardless of number of stops in most cases.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NumberStops" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en"> Information regarding the number of stops made.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:nonNegativeInteger">
                <xs:maxInclusive value="9" />
                <xs:minInclusive value="0" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
</xs:attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
DirectFlightsOnly DirectFlightsOnly false Optional
NumberStops NumberStops Optional