Definition Type: ComplexType
Name: Amenity
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Identifies and describes an amenity. An amenity is defined as product or service offered at no charge. These are items that could be easily added or removed from the room such as a hairdryer, feather pillows or shampoo. Identifies and describes an amenity. An amenity is defined as product or service offered at no charge. These are items that could be easily added or removed from the room such as a hairdryer, feather pillows or shampoo.
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint in schema otm_builtins_xsd Drilldown into Code in schema common_4_0_0_xsd Drilldown into description in schema common_4_0_0_xsd Drilldown into name in schema common_4_0_0_xsdXSD Diagram of Amenity in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="Amenity">
    <xsd:annotation>
        <xsd:documentation source="Description">Identifies and describes an amenity.  An amenity is defined as product or service offered at no charge.  These are items that could be easily added or removed from the room such as a hairdryer, feather pillows or shampoo.</xsd:documentation>
        <xsd:documentation source="Description">Identifies and describes an amenity.  An amenity is defined as product or service offered at no charge.  These are items that could be easily added or removed from the room such as a hairdryer, feather pillows or shampoo.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Amenity</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element minOccurs="0" name="Code" type="ota2-0400:Code">
            <xsd:annotation>
                <xsd:documentation source="Description">A code for the amenity.</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
    </xsd:sequence>
    <xsd:attribute name="name" type="ota2-0400:String" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The name of the amenity.  (Ex. Feather Pillow)</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="description" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The amenity description.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Code ota2-0400:Code 0 (1)
ExtensionPoint ota2:ExtensionPoint 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
name ota2-0400:name Optional
description ota2-0400:description Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:Amenity