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