<xsd:complexType name="ClassOfService">
<xsd:annotation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ClassOfService</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2:Empty">
<xsd:attribute name="count" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Number available for sale or that have been sold</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="code" type="ota2-0400:StringTiny" use="required">
<xsd:annotation>
<xsd:documentation source="Description">Used to identify this product programmatically. EG &quot;F&quot; for First Class</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="ota2-0400:StringShort" use="required">
<xsd:annotation>
<xsd:documentation source="Description">Display name for this product. EG &quot;First Class&quot;</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|