Definition Type: Element
Name: InfoCodes
Containing Schema: OTA_CommonTypes.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
Collection of types of restaurant.
Collapse XSD Schema Diagram:
Drilldown into InfoCode in schema ota_commontypes_xsdXSD Diagram of InfoCodes in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="InfoCodes" minOccurs="0">
    <xs:annotation>
        <xs:documentation xml:lang="en">Collection of types of restaurant.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <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>
        </xs:sequence>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
InfoCode InfoCode (1) unbounded