Skip to main content

MetaDataExternalResource

@nevermined-io/sdk - v3.0.32 / MetaDataExternalResource

Interface: MetaDataExternalResource

Table of contents

Properties

Properties

checksum

Optional checksum: string

File checksum.

Defined in

src/types/DDOTypes.ts:148


checksumType

Optional checksumType: string

Checksum hash algorithm.

Defined in

src/types/DDOTypes.ts:153


compression

Optional compression: string

File compression (e.g. no, gzip, bzip2, etc).

Example

'zip'

Defined in

src/types/DDOTypes.ts:181


contentLength

Optional contentLength: string

File content length.

Defined in

src/types/DDOTypes.ts:158


contentType

contentType: string

File format, if applicable.

Example

'text/csv'

Defined in

src/types/DDOTypes.ts:143


encoding

Optional encoding: string

File encoding.

Example

'UTF-8'

Defined in

src/types/DDOTypes.ts:175


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

src/types/DDOTypes.ts:189


index

Optional index: number

File index.

Defined in

src/types/DDOTypes.ts:137


name

Optional name: string

File name.

Defined in

src/types/DDOTypes.ts:127


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

src/types/DDOTypes.ts:169


resourceType

Optional resourceType: ExternalResourceFileType

The type of the external resource file

Defined in

src/types/DDOTypes.ts:163


url

url: string

File URL.

Defined in

src/types/DDOTypes.ts:132