complexType "Resource"
Namespace:
Content:
complex, 12 elements
Defined:
Includes:
definitions of 12 elements
Used:
Content Model Diagram
XML Representation Summary
<...>
   
Content: 
</...>
Content Model Elements (12):
base64Binary (defined in Resource complexType),
comments (defined in Resource complexType),
hexadecimalBinary (defined in Resource complexType),
mimeType (defined in Resource complexType),
name (defined in Resource complexType),
string (defined in Resource complexType),
All Direct / Indirect Based Elements (2):
attachment,
publiclyAvailableInformation (defined in CreditEventNoticeDocument complexType)
Known Usage Locations
Annotation
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. This type is an extended version of a type defined by RIXML (www.rixml.org).
XML Source (w/o annotations (13); see within schema source)
<xsd:complexType name="Resource">
<xsd:sequence>
<xsd:element name="resourceId" type="ResourceId"/>
<xsd:element minOccurs="0" name="resourceType" type="ResourceType"/>
<xsd:element minOccurs="0" name="language" type="Language"/>
<xsd:element minOccurs="0" name="sizeInBytes" type="xsd:decimal"/>
<xsd:element minOccurs="0" name="length" type="ResourceLength"/>
<xsd:element name="mimeType" type="MimeType"/>
<xsd:element minOccurs="0" name="name" type="NormalizedString"/>
<xsd:element minOccurs="0" name="comments" type="String"/>
<xsd:choice minOccurs="0">
<xsd:element name="string" type="String"/>
<xsd:element name="hexadecimalBinary" type="xsd:hexBinary"/>
<xsd:element name="base64Binary" type="xsd:base64Binary"/>
<xsd:element name="url" type="xsd:anyURI"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
Content Element Detail (all declarations; defined within this component only; 12/12)
base64Binary
Type:
xsd:base64Binary, predefined, simple content
Provides extra information as binary contents coded in base64.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="base64Binary" type="xsd:base64Binary"/>

comments
Type:
String, simple content
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?
Simple Content
xsd:string
maxLength:
255
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="comments" type="String"/>

hexadecimalBinary
Type:
xsd:hexBinary, predefined, simple content
Provides extra information as binary contents coded in hexadecimal.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="hexadecimalBinary" type="xsd:hexBinary"/>

language
Type:
Language, simple content
Indicates the language of the resource, described using the ISO 639-2/T Code.
Simple Content
xsd:normalizedString
maxLength:
255
minLength:
0
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="language" type="Language"/>

length
Type:
ResourceLength, complex content
Indicates the length of the resource. For example, if the resource were a PDF file, the length would be in pages.
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="length" type="ResourceLength"/>

mimeType
Type:
MimeType, simple content
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.
Simple Content
xsd:normalizedString
maxLength:
255
minLength:
0
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="mimeType" type="MimeType"/>

name
Type:
NormalizedString, simple content
The name of the resource.
Simple Content
xsd:normalizedString
minLength:
0
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="name" type="NormalizedString"/>

resourceId
Type:
ResourceId, simple content
The unique identifier of the resource within the event.
Simple Content
xsd:normalizedString
maxLength:
255
minLength:
1
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="resourceId" type="ResourceId"/>

resourceType
Type:
ResourceType, simple content
A description of the type of the resource, e.g. a confirmation.
Simple Content
xsd:normalizedString
maxLength:
255
minLength:
0
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="resourceType" type="ResourceType"/>

sizeInBytes
Type:
xsd:decimal, predefined, simple content
Indicates the size of the resource in bytes. It could be used by the end user to estimate the download time and storage needs.
XML Source (w/o annotations (1); see within schema source)
<xsd:element minOccurs="0" name="sizeInBytes" type="xsd:decimal"/>

string
Type:
String, simple content
Provides extra information as string. In case the extra information is in XML format, a CDATA section must be placed around the source message to prevent its interpretation as XML content.
Simple Content
xsd:string
maxLength:
255
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="string" type="String"/>

url
Type:
xsd:anyURI, predefined, simple content
Indicates where the resource can be found, as a URL that references the information on a web server accessible to the message recipient.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="url" type="xsd:anyURI"/>

XML schema documentation generated with DocFlex/XML 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.