Definition Type: Element
Name: DateRestriction
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFareDisplayRS.xsd
MinOccurs 0
MaxOccurs 3
Abstract
Documentation:
Allows fare contract to include or exclude date ranges
Collapse XSD Schema Diagram:
Drilldown into IncludeIndicator in schema ota_airfaredisplayrs_xsd Drilldown into EndDate in schema ota_airfaredisplayrs_xsd Drilldown into StartDate in schema ota_airfaredisplayrs_xsd Drilldown into Application in schema ota_airfaredisplayrs_xsdXSD Diagram of DateRestriction in schema ota_airfaredisplayrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="DateRestriction" minOccurs="0" maxOccurs="3">
    <xs:annotation>
        <xs:documentation xml:lang="en">Allows fare contract to include or exclude date ranges</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="Application" type="AirTripDirectionType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Identify whether the restriction applies to the outbound , return or both trip directions</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="StartDate" type="xs:dateTime" use="required">
            <xs:annotation>
                <xs:documentation xml:lang="en">The start of the date restriction.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="EndDate" type="xs:dateTime" use="required">
            <xs:annotation>
                <xs:documentation xml:lang="en">The end of the date restriction</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="IncludeIndicator" type="xs:boolean" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">When true, the date restriction period should be included (i.e., travel allowed within those dates). When false, the date restriction period should be excluded (ie., no travel allowed within those dates)</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
Application nsA:Application Optional
StartDate nsA:StartDate Required
EndDate nsA:EndDate Required
IncludeIndicator nsA:IncludeIndicator Optional