Definition Type: ComplexType
Name: CommentType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
A collection of comments.
Collapse XSD Schema Diagram:
Drilldown into Comment in schema ota_commontypes_xsdXSD Diagram of CommentType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="CommentType">
    <xs:annotation>
        <xs:documentation xml:lang="en">A collection of comments.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="Comment" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Comment details.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="ParagraphType">
                        <xs:attribute name="CommentOriginatorCode" type="StringLength1to16" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Unique identifier for the system which created the comment.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="GuestViewable" type="xs:boolean" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">When true, the comment may be shown to the consumer. When false, the comment may not be shown to the consumer.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Comment Comment (1) unbounded
Collapse Derivation Tree:
  • CommentType
    • Unresolved link to comments3
    • Unresolved link to comments90
    • Unresolved link to comments91
    • Unresolved link to comments93
Collapse References:
nsA:Comments, Unresolved link to comments3, Unresolved link to comments90, Unresolved link to comments91, Unresolved link to comments93