complexType "attachmentMetadataType"
Namespace:
Content:
complex, 5 elements
Defined:
globally in myCalendar.xsd; see XML source
Includes:
definitions of 5 elements
Used:
XML Representation Summary
<...>
   
Content: 
</...>
Content Model Elements (5):
attachmentBody (type xsd:base64Binary), contentTransferEncoding (type hs:string), contentType (type hs:string), name (type hs:localizableString), size (type xsd:unsignedLong)
Known Direct Subtypes (1):
attachmentMetadataBlueType
All Direct / Indirect Based Elements (2):
attachment (in event in myCalendar), attachment (type attachmentMetadataType)
Known Usage Locations
Annotation
The scheme the message contents were encoded in. Examples of this are '7bit', '8bit' and 'base64'.
XML Source (see within schema source)
<xsd:complexType name="attachmentMetadataType">
<xsd:annotation>
<xsd:documentation>
The scheme the message contents were encoded in. Examples of this are '7bit', '8bit' and 'base64'.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains information about an individual attachment in a mail message.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- TODO: perhaps this should be an enumeration -->
<!-- TODO: factor this out to a simpleType -->
<xsd:element name="contentType" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element contains the content type of the attachment.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- TODO: validate this with a regex -->
<xsd:element name="contentTransferEncoding" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element contains the encoding of the attachment. This information is necessary
for decoding the attachment.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- TODO: perhaps this should be an enumeration -->
<!-- TODO: factor this out into a simpleType -->
<xsd:element name="size" type="xsd:unsignedLong">
<xsd:annotation>
<xsd:documentation>
This element contains the size of the attachment in bytes.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="attachmentBody" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>
This element contains the MIME body of the attachment.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
Content Element Detail (all declarations; 5/5)
attachmentBody
Type:
xsd:base64Binary, predefined, simple content
Defined:
locally within (this) attachmentMetadataType complexType
This element contains the MIME body of the attachment.
XML Source (see within schema source)
<xsd:element name="attachmentBody" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>
This element contains the MIME body of the attachment.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

contentTransferEncoding
Type:
hs:string, simple content
Defined:
locally within (this) attachmentMetadataType complexType
This element contains the encoding of the attachment. This information is necessary for decoding the attachment.
XML Source (see within schema source)
<xsd:element name="contentTransferEncoding" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element contains the encoding of the attachment. This information is necessary
for decoding the attachment.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

contentType
Type:
hs:string, simple content
Defined:
locally within (this) attachmentMetadataType complexType
This element contains the content type of the attachment.
XML Source (see within schema source)
<xsd:element name="contentType" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element contains the content type of the attachment.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

name
Type:
hs:localizableString, simple content
Defined:
locally within (this) attachmentMetadataType complexType
This element contains information about an individual attachment in a mail message.
XML Source (see within schema source)
<xsd:element name="name" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains information about an individual attachment in a mail message.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

size
Type:
xsd:unsignedLong, predefined, simple content
Defined:
locally within (this) attachmentMetadataType complexType
This element contains the size of the attachment in bytes.
XML Source (see within schema source)
<xsd:element name="size" type="xsd:unsignedLong">
<xsd:annotation>
<xsd:documentation>
This element contains the size of the attachment in bytes.
</xsd:documentation>
</xsd:annotation>
</xsd:element>