@nevermined-io/sdk - v3.0.44 / MetaDataExternalResource
• Optional
checksum: string
File checksum.
• Optional
checksumType: string
Checksum hash algorithm.
• Optional
compression: string
File compression (e.g. no, gzip, bzip2, etc).
Example
'zip'
• Optional
contentLength: string
File content length.
• contentType: string
File format, if applicable.
Example
'text/csv'
• Optional
encoding: string
File encoding.
Example
'UTF-8'
• Optional
encryption: "dtp"
| "dleq"
Encryption mode used.
Remarks
If not provided is assumed the files are not encrypted. Currently only dtp
is implemented.
• Optional
index: number
File index.
• Optional
name: string
File name.
• 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
• Optional
resourceType: ExternalResourceFileType
The type of the external resource file
• url: string
File URL.