<xs:complexType name="ConnectionType">
<xs:annotation>
<xs:documentation xml:lang="en">To specify connection locations, preference level for each, min connection time, and whether location is specified for stopping or changing.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ConnectionLocation" maxOccurs="9">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies a connection location, preference level, min connection time, and whether the location is allowed for stopping or changing.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="LocationType">
<xs:attribute name="Inclusive" type="xs:boolean" use="optional" default="true">
<xs:annotation>
<xs:documentation xml:lang="en">When true, indicates the location is acceptable for a connection. When false the location should not be included for a connection.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="PreferLevelGroup">
<xs:annotation>
<xs:documentation xml:lang="en">The preference level for the connection point - only, unacceptable, preferred. </xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="MinChangeTime" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Number of minutes between connections.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ConnectionInfo" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies whether a connection is for a stopover or a change of flights.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Via" />
<xs:enumeration value="Stop" />
<xs:enumeration value="Change" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="MultiAirportCityInd" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">If true, other airports within this city may be considered (e.g., EWR, JFK when origin location is LGA.)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
|