# XML Schema Documentation

### Complex Type: Resource

#### [Table of contents]

Super-types: | None
Sub-types: | None

Name | Resource
Used by (from the same schema document) | Complex Type CreditEventNoticeDocument
Abstract | no
Documentation | Describes the resource that contains the media representation of a business event (i.e used for stating the Publicly Available Information). For example, can describe a file or a URL that represents the event.

XML Instance Representation
<...>
<resourceId> ResourceId </resourceId> [1]

'The unique identifier of the resource within the event.'

<language> Language </language> [0..1]

'Indicates the language of the resource, described using the ISO 639-2/T Code.'

<sizeInBytes> xsd:decimal </sizeInBytes> [0..1]

'Indicates the size of the resource in bytes. It could be used by the end user to estimate the download time and storage needs.'

<length> ResourceLength </length> [0..1]

'Indicates the length of the resource. For example, if the resource were a PDF file, the length would be in pages.'

<mimeType> MimeType </mimeType> [1]

'Indicates the type of media used to store the content. mimeType is used to determine the software product(s) that can read the content. MIME Types are described in RFC 2046.'

<name> xsd:normalizedString </name> [0..1]

'The name of the resource.'

<comments> xsd:string </comments> [0..1]

'Any additional comments that are deemed necessary. For example, which software version is required to open the document? Or, how does this resource relate to the others for this event?'

<url> xsd:anyURI </url> [0..1]

'Indicates the URL at which the resource can be found.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="Resource">
<xsd:sequence>
<xsd:element name="resourceId" type=" ResourceId "/>
<xsd:element name="language" type=" Language " minOccurs="0"/>
<xsd:element name="sizeInBytes" type=" xsd:decimal " minOccurs="0"/>
<xsd:element name="length" type=" ResourceLength " minOccurs="0"/>
<xsd:element name="mimeType" type=" MimeType "/>
<xsd:element name="name" type=" xsd:normalizedString " minOccurs="0"/>
<xsd:element name="comments" type=" xsd:string " minOccurs="0"/>
<xsd:element name="url" type=" xsd:anyURI " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>