Definition Type: ComplexType
Name: SocialMedia
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2:Empty
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Specifies social media information used for communication with the traveler.
Collapse XSD Schema Diagram:
Drilldown into preferredContactInd in schema common_4_0_0_xsd Drilldown into userName in schema common_4_0_0_xsd Drilldown into type in schema common_4_0_0_xsdXSD Diagram of SocialMedia in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="SocialMedia">
    <xsd:annotation>
        <xsd:documentation source="Description">Specifies social media information used for communication with the traveler.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SocialMedia</otm:OTA2Entity>
            <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SocialMediaType</otm:Equivalent>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="type" type="ota2-0400:StringShort" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Identifies the social media site (e.g. Twitter, Facebook, etc.).</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Type</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="userName" type="ota2-0400:StringShort" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the user name for this specific social media type.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">UserName</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="preferredContactInd" type="xsd:boolean" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">When true, this social media type is the preferred method for social media communication.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}boolean</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
type ota2-0400:type Required
userName ota2-0400:userName Required
preferredContactInd ota2-0400:preferredContactInd Optional
Collapse Derivation Tree: