Definition Type: Element
Name: TimeRestriction
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFareDisplayRS.xsd
MinOccurs (1)
MaxOccurs 10
Abstract
Documentation:
Allows fare contract to be restricted by time of day
Collapse XSD Schema Diagram:
Drilldown into IncludeExcludeUseInd in schema ota_airfaredisplayrs_xsd Drilldown into EndTime in schema ota_airfaredisplayrs_xsd Drilldown into StartTime in schema ota_airfaredisplayrs_xsdXSD Diagram of TimeRestriction in schema ota_airfaredisplayrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="TimeRestriction" maxOccurs="10">
    <xs:annotation>
        <xs:documentation xml:lang="en">Allows fare contract to be restricted by time of day</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="StartTime" type="xs:time" use="required">
            <xs:annotation>
                <xs:documentation xml:lang="en">The start time for the time restriction</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="EndTime" type="xs:time" use="required">
            <xs:annotation>
                <xs:documentation xml:lang="en">The end time for the time restriction</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="IncludeExcludeUseInd" type="xs:boolean" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">When true, the time restriction period should be included (i.e. travel allowed between the start and end times)</xs:documentation>
                <xs:documentation xml:lang="en">When false, the time restriction period should be excluded (i.e. no travel allowed between the start and end times)</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
StartTime nsA:StartTime Required
EndTime nsA:EndTime Required
IncludeExcludeUseInd nsA:IncludeExcludeUseInd Optional