Definition Type: SimpleType
Name: LanguageCode
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.xsd
Documentation:
Uses the xml language type definition which references ietf 3066 which references ISO 639. This type supports either a 2 or 3 character code. ISO recommends sending lower case characters for language codes reserving upper case for country codes. More information can be found here: https://www.w3.org/International/articles/language-tags
Collapse XSD Schema Diagram:
XSD Diagram of LanguageCode in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:simpleType name="LanguageCode">
    <xsd:annotation>
        <xsd:documentation source="Description">Uses the xml language type definition which references ietf 3066 which references ISO 639.  This type supports either a 2 or 3 character code.  ISO recommends sending lower case characters for language codes reserving upper case for country codes.  More information can be found here:  https://www.w3.org/International/articles/language-tags</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="Simple" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LanguageCode</otm:OTA2Entity>
            <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">en</otm:Example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:restriction base="xsd:language" />
</xsd:simpleType>
Collapse Derivation Tree:
Collapse References:
ota2-0400:language, ota2-0400:language, pgt-0200:primaryLanguage