Definition Type: ComplexType
Name: ClassOfService
Namespace: http://www.opentravel.org/OTM/product/v4
Type: ota2:Empty
Containing Schema: Product_4_0_0.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into name in schema product_4_0_0_xsd Drilldown into code in schema product_4_0_0_xsd Drilldown into count in schema product_4_0_0_xsdXSD Diagram of ClassOfService in schema product_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="ClassOfService">
    <xsd:annotation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ClassOfService</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="count" type="xsd:positiveInteger" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Number available for sale or that have been sold</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="code" type="ota2-0400:StringTiny" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Used to identify this product programmatically.  EG &amp;quot;F&amp;quot; for First Class</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="name" type="ota2-0400:StringShort" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Display name for this product.  EG &amp;quot;First Class&amp;quot;</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
count prod-0400:count Optional
code prod-0400:code Required
name prod-0400:name Required
Collapse Derivation Tree:
Collapse References:
pgt-0200:ClassOfService, prod-0400:ClassOfService