<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 &apos;best practice&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>
|