Definition Type: ComplexType
Name: LanguagesSpoken
Namespace: http://www.opentravel.org/OTM/product/Ground/v2
Type: ota2:Empty
Containing Schema: Ground_2_0_0.xsd
Abstract
Documentation:
One or more languages spoken by a person. Query: could the value be a text list of the language names, with 'best practice' having the primary language alwys first? e,g English French Spanish. Or is it sufficient for the relevant api to access and display it as required?
Collapse XSD Schema Diagram:
Drilldown into alternateLanguages in schema ground_2_0_0_xsd Drilldown into primaryLanguage in schema ground_2_0_0_xsdXSD Diagram of LanguagesSpoken in schema ground_2_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="LanguagesSpoken">
    <xsd:annotation>
        <xsd:documentation source="Description">One or more languages spoken by a person. Query: could the value be a text list of the language names, with &amp;apos;best practice&amp;apos; having the primary language alwys first? e,g English French Spanish. Or is it sufficient for the relevant api to access and display it as required?</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LanguagesSpoken</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="primaryLanguage" type="ota2-0400:LanguageCode" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The primary language spoken.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">en</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="alternateLanguages" type="ota2-0400:Languages" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Other languages spoken.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">es fr de</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
primaryLanguage pgt-0200:primaryLanguage Optional
alternateLanguages pgt-0200:alternateLanguages Optional
Collapse Derivation Tree:
Collapse References:
pgt-0200:SpokenLanguages