Definition Type: Element
Name: InfoCode
Containing Schema: OTA_CommonTypes.xsd
MinOccurs (1)
MaxOccurs unbounded
Abstract
Documentation:
Indicates the generic type of restaurant such as fast food, cafe, fine dining, etc.
Collapse XSD Schema Diagram:
Drilldown into Removal in schema ota_commontypes_xsd1 Drilldown into RemovalGroup in schema ota_commontypes_xsd Drilldown into CodeDetail in schema ota_commontypes_xsd1 Drilldown into CodeInfoGroup in schema ota_commontypes_xsd Drilldown into Code in schema ota_commontypes_xsd1 Drilldown into Name in schema ota_commontypes_xsd1XSD Diagram of InfoCode in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="InfoCode" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation xml:lang="en">Indicates the generic type of restaurant such as fast food, cafe, fine dining, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="Name" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">This name refers to an OTA Code List table (e.g. RestaurantCategoryCode/InfoCode). The actual code is passed in the Code attribute.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="StringLength1to32">
                    <xs:enumeration value="SrvcInfo">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Refer to OTA Code List Restaurant Srvc Info (RSI).</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="Beverage">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">This uses OTA Code Table Beverage Code.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="AvailableMealCategory">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">This uses OTA Code Table Available Meal Category Codes.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="RestaurantCategory">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">This uses OTA Code Table RestaurantCategoryCode.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="RestaurantPolicy">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">This uses OTA Code Table Restaurant Policy Code.</xs:documentation>
                        </xs:annotation>
                    </xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="Code" type="OTA_CodeType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Refer to OTA Code List Restaurant Category (RES).</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="CodeInfoGroup">
            <xs:annotation>
                <xs:documentation xml:lang="en">May be used to give further detail on the code or to remove an obsolete item.</xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
Name Name Optional
Code Code Optional
CodeDetail CodeDetail Optional
Removal Removal false Optional