<xsd:complexType name="Distance">
<xsd:annotation>
<xsd:documentation source="Description">Used to provide distance and direction information.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Distance</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2-0400:NonNegativeInteger">
<xsd:attribute name="distanceMeasure" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">When the Distance attribute contains a value, (presumably a numerical value), the unit of measure is a string value that indicate what units are used for the value.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to16</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="direction" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">An optional string value used to indicate the compass point(s) direction, e.g.: S, SE (South, Southeast), FROM the Reference Point TO the hotel location if the search is not a full circumference from the reference point.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to8</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="distanceMax" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">An optional attribute indicating the maximum distance to/from a reference point.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}NumericStringLength1to16</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitOfMeasureCode" type="ota2-0300:UnitOfMeasure_Enum" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The unit of measure in a code format. Refer to OpenTravel Code List Unit of Measure Code (UOM).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|