Attachment

An optional unstructured document associated with a Business
Document.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
businessDocumentRef xsd:IDREF required
Indicates the nameID reference to the logical business
document.
isAuthenticated restriction of xsd:NMTOKEN optional
The communications channel used to transport the Message provides
transient authentication. The specific method will be determined by the
communications protocol used. Persistent authentication means the Business
Document signer’s identity is verified at the receiving application level.
Authentication assists in verification of role identity of a participating
party.
isConfidential restriction of xsd:NMTOKEN optional
Transient confidentiality is provided by a secure network
protocol, such as SSL as the document is transferred between two adjacent ebXML
Messaging Service or other transport messaging nodes. Persistent
confidentiality is intended to preserve the confidentiality of the message such
that only the intended party (application) can see it.
isTamperDetectable restriction of xsd:NMTOKEN optional
Transient isTamperDetectable is the ability to detect if the
information has been tampered with during transfer between two adjacent Message Service Handler
nodes. Persistent isTamperDetectable is the ability to detect if the information
has been tampered with after it has been received by messaging node, between the
messaging node and the application. Tamper detection assists in verification of
content integrity between and within a participating party.
maxOccurs xsd:integer optional
Defines the maximum occurrences of an Attachment. Note: This
attribute was added in v2.0.
mimeType xsd:string optional
Defines the valid MIME (Multipurpose Internet Mail
	Extensions) type of this Attachment. Example:
'application/pdf'.
minOccurs xsd:integer optional
Defines the minimum occurrences of an Attachment. Note: This
attribute was added in v2.0.
name xsd:string required
A designation that may be relevant to a business analyst but is
not intended for referencing.
nameID xsd:ID required
Used for referencing, for example, for identification of elements
within an ebBP instance.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://docs.oasis-open.org/ebxmlbp/ebbp-2.0'

Used By

Complex Type DocumentEnvelopeType

Source

<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>

Sample