Definition Type: ComplexType
Name: LocationCode
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2-0400:StringTiny
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Location code is city, stateProvence, or country code
Collapse XSD Schema Diagram:
Drilldown into codeContext in schema common_4_0_0_xsd Drilldown into country in schema common_4_0_0_xsd Drilldown into stateProvince in schema common_4_0_0_xsd Drilldown into city in schema common_4_0_0_xsdXSD Diagram of LocationCode in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
city ota2-0400:city Optional
stateProvince ota2-0400:stateProvince Optional
country ota2-0400:country Optional
codeContext ota2-0400:codeContext Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:LocationCode