Definition Type: Element
Name: MaximumStay
Containing Schema: OTA_AirCommonTypes.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
Specifies restrictions for the longest length/period of time or last day to begin or complete the return.
Collapse XSD Schema Diagram:
Drilldown into ComplicatedRulesInd in schema ota_aircommontypes_xsd Drilldown into MaxStayDate in schema ota_aircommontypes_xsd Drilldown into StayUnit in schema ota_aircommontypes_xsd Drilldown into MaxStay in schema ota_aircommontypes_xsd Drilldown into ReturnTimeOfDay in schema ota_aircommontypes_xsd Drilldown into ReturnType in schema ota_aircommontypes_xsdXSD Diagram of MaximumStay in schema ota_aircommontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="MaximumStay" minOccurs="0">
    <xs:annotation>
        <xs:documentation xml:lang="en">Specifies restrictions for the  longest length/period of time or last day to begin or complete the return.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="ReturnType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Code indicating whether travel must commence or be completed in order to satisfy the stay restriction.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="C">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Return travel must be Completed.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="S">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Return travel must be Started.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="ReturnTimeOfDay" type="TimeOrDateTimeType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en"> The time of day when return travel may commence.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="MaxStay" type="Numeric1to999" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The amount of elapsed time or number of occurrences of a day of the week that must occur to satisfy a maximum stay requirement.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="StayUnit" type="StayUnitType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The unit of elapsed time or the day of the week applied to the MaxStay value.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="MaxStayDate" type="TimeOrDateTimeType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The specific date for the maximum stay requirement.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="ComplicatedRulesInd" type="xs:boolean" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">If true, there are complicated rules for the maximum stay requirement.
</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
ReturnType ReturnType Optional
ReturnTimeOfDay ReturnTimeOfDay Optional
MaxStay MaxStay Optional
StayUnit StayUnit Optional
MaxStayDate MaxStayDate Optional
ComplicatedRulesInd ComplicatedRulesInd Optional