Definition Type: ComplexType
Name: Code
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2-0400:StringTiny
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Any code used to specify an item, for example, type of traveler, service code, room amenity, etc. May be used to reference the OpenTravel RMA Codelist.
Collapse XSD Schema Diagram:
Drilldown into description in schema common_4_0_0_xsd Drilldown into codeContext in schema common_4_0_0_xsdXSD Diagram of Code in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="Code">
    <xsd:annotation>
        <xsd:documentation source="Description">Any code used to specify an item, for example, type of traveler, service code, room amenity, etc.  May be used to reference the OpenTravel RMA Codelist.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Code</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2-0400:StringTiny">
            <xsd:attribute name="codeContext" type="ota2-0400:StringTiny" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Identifies the source authority for the code.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="description" type="ota2-0400:String" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Description of the code.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
codeContext ota2-0400:codeContext Optional
description ota2-0400:description Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:Code, ota2-0400:Code, ph:Code, ota2-0400:Code, ota2-0400:Code, orghs-0300:HotelAmenity, ota2-0400:ProgramCode, fin-0300:PromotionCode, orghs-0300:RoomAmenitiesorghs-0300:RoomTypeCode, order-0300:TripPurpose, fin-0300:VendorCode,