Definition Type: Element
Name: Attachment
Namespace: http://docs.oasis-open.org/ebxml-bp/ebbp-2.0
Containing Schema: ebbp-2.0.4.xsd
Abstract
Documentation:
An optional unstructured document associated with a Business Document.
Collapse XSD Schema Diagram:
Drilldown into Specification in schema ebbp-2_0_4_xsd Drilldown into Documentation in schema ebbp-2_0_4_xsd Drilldown into maxOccurs in schema ebbp-2_0_4_xsd Drilldown into minOccurs in schema ebbp-2_0_4_xsd Drilldown into mimeType in schema ebbp-2_0_4_xsd Drilldown into businessDocumentRef in schema ebbp-2_0_4_xsd Drilldown into isTamperDetectable in schema ebbp-2_0_4_xsd Drilldown into isConfidential in schema ebbp-2_0_4_xsd Drilldown into isAuthenticated in schema ebbp-2_0_4_xsd Drilldown into documentSecurity in schema ebbp-2_0_4_xsd Drilldown into nameID in schema ebbp-2_0_4_xsd Drilldown into name in schema ebbp-2_0_4_xsd Drilldown into name in schema ebbp-2_0_4_xsdXSD Diagram of Attachment in schema ebbp-2_0_4_xsd (ebXML Electronic Business using eXtensible Markup Language)
Collapse XSD Schema Code:
<xsd:element name="Attachment">
    <xsd:annotation>
        <xsd:documentation>An optional unstructured document associated with a Business
				Document.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded" />
            <xsd:element ref="Specification" maxOccurs="unbounded" />
        </xsd:sequence>
        <xsd:attributeGroup ref="name" />
        <xsd:attributeGroup ref="documentSecurity" />
        <xsd:attribute name="businessDocumentRef" type="xsd:IDREF" use="required">
            <xsd:annotation>
                <xsd:documentation>Indicates the nameID reference to the logical business
						document.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="mimeType" type="xsd:string" use="optional">
            <xsd:annotation>
                <xsd:documentation>Defines the valid MIME (Multipurpose Internet Mail
						Extensions) type of this Attachment. Example:
					'application/pdf'.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="minOccurs" type="xsd:integer" use="optional">
            <xsd:annotation>
                <xsd:documentation>Defines the minimum occurrences of an Attachment. Note: This
						attribute was added in v2.0.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="maxOccurs" type="xsd:integer" use="optional">
            <xsd:annotation>
                <xsd:documentation>Defines the maximum occurrences of an Attachment. Note: This
						attribute was added in v2.0.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
    </xsd:complexType>
    <xsd:unique name="Attachment-ID">
        <xsd:selector xpath="." />
        <xsd:field xpath="nameID" />
    </xsd:unique>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Documentation nsB:Documentation 0 unbounded
Specification nsB:Specification (1) unbounded
Collapse Child Attributes:
Name Type Default Value Use
name nsB:name Required
nameID nsB:nameID Required
isAuthenticated nsB:isAuthenticated (Optional)
isConfidential nsB:isConfidential (Optional)
isTamperDetectable nsB:isTamperDetectable (Optional)
businessDocumentRef nsB:businessDocumentRef Required
mimeType nsB:mimeType Optional
minOccurs nsB:minOccurs Optional
maxOccurs nsB:maxOccurs Optional
<anyAttribute> Allowed namespace: '##other'