<xsd:complexType name="Segment">
<xsd:annotation>
<xsd:appinfo>
<otm:OTA2Entity type="BusinessObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Segment</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="prod-0400:Segment_ID">
<xsd:sequence>
<xsd:element minOccurs="1" ref="prod-0400:DepartureSubGrp">
<xsd:annotation>
<xsd:documentation source="Description">The departure location of the segment.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="1" ref="prod-0400:ArrivalSubGrp">
<xsd:annotation>
<xsd:documentation source="Description">The arrival location of the segment.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="prod-0400:Transport">
<xsd:annotation>
<xsd:documentation source="Description">Transportation details for the segment.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Description" type="ota2-0400:TextFree">
<xsd:annotation>
<xsd:documentation source="Description">Free text description of the Segment</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
</xsd:sequence>
<xsd:attribute name="numberOfStops" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The number of intermediate stops.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="product" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">1</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="duration" type="xsd:duration" use="optional" />
<xsd:attribute name="status" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">A tiny string
Minimum length of 0 and a maximum length of 32</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
|