<xs:element name="Restriction" maxOccurs="99">
<xs:annotation>
<xs:documentation xml:lang="en">Date time and flight restrictions. Each restriction is considered to be a logical 'AND' of the child restriction elements.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<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>
<xs:element name="DaysOfWeekRestriction" minOccurs="0" maxOccurs="3">
<xs:annotation>
<xs:documentation xml:lang="en">Allows Fare Contract to be restricted to certain days of the week for outbound, return or all journey directions</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="TripType" type="AirTripType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Indicate the type of trip to which the restriction applies</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RestrictionExistsInd" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">When true, indicates that a day of week restriction applies.</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 days of week should be included (i.e. travel allowed on those days)</xs:documentation>
<xs:documentation xml:lang="en">When false, the days of week should be excluded (i.e. no travel allowed on those days)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="DOW_PatternGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Identify the days on which travel is allowed or disallowed</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
<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>
<xs:element name="Flights" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Container for flight number restrictions</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Flight" maxOccurs="99">
<xs:annotation>
<xs:documentation xml:lang="en">Include or exclude a specific flight number</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="AirlineCode" type="StringLength3" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The airline code of the restricted flight</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FlightNumber" type="FlightNumberType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The number of the restricted flight</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 flight number should be included (i.e., travel allowed on this flight)</xs:documentation>
<xs:documentation xml:lang="en">When false, the flight number should be excluded (i.e., no travel allowed on this flight)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FlightNumberRange" minOccurs="0" maxOccurs="5">
<xs:annotation>
<xs:documentation xml:lang="en">Include or exclude a flight number range</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="AirlineCode" type="StringLength3" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The airline code of this range of flight numbers.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RangeStart" type="FlightNumberType" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">The start number (inclusive) of the flight number range.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RangeEnd" type="FlightNumberType" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">The end number (inclusive) of the flight number range.</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 flight number range should be included (i.e. travel is allowed on these flights). When false, the flight number range (inclusive) should be excluded (i.e. travel not allowed on these flights).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ConnectionLocations" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Container for routing restrictions</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConnectionLocation" maxOccurs="99">
<xs:annotation>
<xs:documentation xml:lang="en">Include or exclude connection locations</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="LocationType">
<xs:attribute name="IncludeIndicator" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">When true, the connection location is allowed. When false, the connection location is not allowed.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GlobalDirection" minOccurs="0" maxOccurs="5">
<xs:annotation>
<xs:documentation xml:lang="en">Restrict by Global Direction or Maximum Permitted Mileage</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="GlobalDirectionGroup">
<xs:annotation>
<xs:documentation xml:lang="en">The global direction and maximum permitted miles for the fare.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
<xs:element name="SaleDateRestriction" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Restrict sale dates for this contract.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="StartDate" type="xs:date" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The start date (inclusive) of the date range within which this fare can be sold.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="EndDate" type="xs:date" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The end date (inclusive) of the date range within which this fare can be sold.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IncludeIndicator" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">When true, this fare can be sold within the date range. When false, this fare cannot be sold within the date range.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
|