Definition Type: ComplexType
Name: AttachmentType
Namespace: urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
Containing Schema: UBL-CommonAggregateComponents-2.0.xsd
Abstract
Documentation:
ABIE Attachment. Details Information about an attached document. An attachment can be referred to externally (with the URI element) or internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element). Attachment
Collapse XSD Schema Diagram:
Drilldown into ExternalReference in schema ubl-commonaggregatecomponents-2_0_xsd Drilldown into EmbeddedDocumentBinaryObject in schema ubl-commonbasiccomponents-2_0_xsdXSD Diagram of AttachmentType in schema ubl-commonaggregatecomponents-2_0_xsd (OASIS Universal Business Language (UBL) TC)
Collapse XSD Schema Code:
<xsd:complexType name="AttachmentType">
    <xsd:annotation>
        <xsd:documentation>
            <ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2">
                <ccts:ComponentType>ABIE</ccts:ComponentType>
                <ccts:DictionaryEntryName>Attachment. Details</ccts:DictionaryEntryName>
                <ccts:Definition>Information about an attached document. An attachment can be referred to externally (with the URI element) or internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).</ccts:Definition>
                <ccts:ObjectClass>Attachment</ccts:ObjectClass>
            </ccts:Component>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element ref="cbc:EmbeddedDocumentBinaryObject" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Attachment. Embedded_ Document. Binary Object</ccts:DictionaryEntryName>
                        <ccts:Definition>Contains an embedded document as a BLOB (binary large object).</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Attachment</ccts:ObjectClass>
                        <ccts:PropertyTermQualifier>Embedded</ccts:PropertyTermQualifier>
                        <ccts:PropertyTerm>Document</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Binary Object</ccts:RepresentationTerm>
                        <ccts:DataType>Binary Object. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="ExternalReference" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2">
                        <ccts:ComponentType>ASBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Attachment. External Reference</ccts:DictionaryEntryName>
                        <ccts:Definition>An attached document, externally referred to, referred to in the MIME location, or embedded.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Attachment</ccts:ObjectClass>
                        <ccts:PropertyTerm>External Reference</ccts:PropertyTerm>
                        <ccts:AssociatedObjectClass>External Reference</ccts:AssociatedObjectClass>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
EmbeddedDocumentBinaryObject cbc:EmbeddedDocumentBinaryObject 0 1
ExternalReference cac:ExternalReference 0 1
Collapse Derivation Tree:
Collapse References:
cac:Attachment, cac:DigitalSignatureAttachment