<xs:complexType name="FlightLegType">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies minimal information about a flight.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DepartureAirport" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The departure airport for the flight.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="LocationGroup">
<xs:annotation>
<xs:documentation xml:lang="en">The departure airport/city code.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
<xs:element name="ArrivalAirport" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The arrival airport for the flight.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="LocationGroup">
<xs:annotation>
<xs:documentation xml:lang="en">The arrival airport/city code.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="FlightNumber" type="FlightNumberType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">A flight number.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ResBookDesigCode" type="UpperCaseAlphaLength1to2" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The reservation booking designator for a flight.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Date" type="xs:dateTime" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">A date for the flight.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|