<xsd:complexType name="LocationCode">
<xsd:annotation>
<xsd:documentation source="Description">Location code is city, stateProvence, or country code</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LocationCode</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2-0400:StringTiny">
<xsd:attribute name="city" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">City name.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to8</xsd:documentation>
<xsd:appinfo>
<otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Lancaster</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="stateProvince" type="ota2-0400:StateProvCode" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">State or Province code.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to8</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="country" type="ota2-0400:CountryCode_ISO3166" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Country code.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}ISO3166</xsd:documentation>
<xsd:appinfo>
<otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">US</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="codeContext" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Identifies the context of the identifying code (e.g., IATA, ARC, or internal code).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|