<xsd:complexType name="Code">
<xsd:annotation>
<xsd:documentation source="Description">Any code used to specify an item, for example, type of traveler, service code, room amenity, etc. May be used to reference the OpenTravel RMA Codelist.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Code</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2-0400:StringTiny">
<xsd:attribute name="codeContext" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Identifies the source authority for the code.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="description" type="ota2-0400:String" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Description of the code.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|