Definition Type: ComplexType
Name: ImageDescriptionType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Describes an image item.
Collapse XSD Schema Diagram:
Drilldown into Description in schema ota_commontypes_xsd Drilldown into ImageFormat in schema ota_commontypes_xsd Drilldown into Category in schema ota_commontypes_xsd1XSD Diagram of ImageDescriptionType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="ImageDescriptionType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Describes an image item.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="ImageFormat" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">A set of images for a given category which may be provided in multiple formats.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="ImageItemType">
                        <xs:attributeGroup ref="MultimediaDescriptionGroup">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Detailed information about an image.</xs:documentation>
                            </xs:annotation>
                        </xs:attributeGroup>
                        <xs:attribute name="Language" type="xs:language" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The language in which the image text is provided.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="Format" type="OTA_CodeType" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Identifies the format of an image. Refer to OTA Code List Content Format Code (CFC).</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="FileName" type="StringLength1to64" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The name of the image file.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="FileSize" type="xs:positiveInteger" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The size of the image file.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="DimensionCategory" type="StringLength1to16" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Associates the image size to a given category (e.g., 70x70, 100x100, 480x480, thumbnail). For example, if an image with a dimension of 72x73 is sent, it may be categorized as a 70x70 image.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="IsOriginalIndicator" type="xs:boolean" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">When true, the image is the original file and format. When false, the image is not the original file and format.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="Description" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">The description associated with the image in a specific language.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:simpleContent>
                    <xs:extension base="FormattedTextTextType">
                        <xs:attribute name="Caption" type="StringLength1to128" use="optional">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">The caption associated to a specific image category which can be provided in different languages.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:simpleContent>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="Category" type="OTA_CodeType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Specifies the image category. Refer to OTA code list Picture Category Code (PIC). </xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
ImageFormat ImageFormat 0 unbounded
Description Description 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Category Category Optional
Collapse Derivation Tree:
Collapse References:
ImageItem