<xsd:complexType name="Resource">
<xsd:annotation>
<xsd:documentation xml:lang="en">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.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="resourceId" type="ResourceId">
<xsd:annotation>
<xsd:documentation xml:lang="en">The unique identifier of the resource within the event.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="language" type="Language" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Indicates the language of the resource, described using the ISO 639-2/T Code.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sizeInBytes" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Indicates the size of the resource in bytes. It could be used by the end user to estimate the download time and storage needs.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="length" type="ResourceLength" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Indicates the length of the resource. For example, if the resource were a PDF file, the length would be in pages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="mimeType" type="MimeType">
<xsd:annotation>
<xsd:documentation xml:lang="en">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.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:normalizedString" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">The name of the resource.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="comments" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">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?</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="url" type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Indicates the URL at which the resource can be found.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
|