<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>
|