MetaDataExternalResource
@nevermined-io/sdk - v3.0.32 / MetaDataExternalResource
Interface: MetaDataExternalResource
Table of contents
Properties
- checksum
- checksumType
- compression
- contentLength
- contentType
- encoding
- encryption
- index
- name
- resourceId
- resourceType
- url
Properties
checksum
• Optional
checksum: string
File checksum.
Defined in
checksumType
• Optional
checksumType: string
Checksum hash algorithm.
Defined in
compression
• Optional
compression: string
File compression (e.g. no, gzip, bzip2, etc).
Example
'zip'
Defined in
contentLength
• Optional
contentLength: string
File content length.
Defined in
contentType
• contentType: string
File format, if applicable.
Example
'text/csv'
Defined in
encoding
• Optional
encoding: string
File encoding.
Example
'UTF-8'
Defined in
encryption
• Optional
encryption: "dtp"
| "dleq"
Encryption mode used.
Remarks
If not provided is assumed the files are not encrypted. Currently only dtp
is implemented.
Defined in
index
• Optional
index: number
File index.
Defined in
name
• Optional
name: string
File name.
Defined in
resourceId
• Optional
resourceId: string
Resource ID (depending on the source). It is used to reference the id of the file in an external source.
For example the ugcId
Defined in
resourceType
• Optional
resourceType: ExternalResourceFileType
The type of the external resource file
Defined in
url
• url: string
File URL.