Definition Type: Element
Name: TimeRestrictions
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFareDisplayRS.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
Container for time of day restrictions
Collapse XSD Schema Diagram:
Drilldown into TimeRestriction in schema ota_airfaredisplayrs_xsdXSD Diagram of TimeRestrictions in schema ota_airfaredisplayrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="TimeRestrictions" minOccurs="0">
    <xs:annotation>
        <xs:documentation xml:lang="en">Container for time of day restrictions</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <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>
        </xs:sequence>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
TimeRestriction nsA:TimeRestriction (1) 10