sdk-js

@nevermined-io/sdk - v3.0.44 / MetaDataMain

Interface: MetaDataMain

Main attributes of assets metadata.

See

https://github.com/nevermined-io/docs/blob/master/docs/architecture/specs/metadata/README.md

Table of contents

Properties

Properties

algorithm

Optional algorithm: Algorithm

Defined in

src/types/DDOTypes.ts:372


author

author: string

Name of the entity generating this data (e.g. Tfl, Disney Corp, etc.).

Example

'Met Office'

Defined in

src/types/DDOTypes.ts:350


dateCreated

dateCreated: string

The date on which the asset was created by the originator in ISO 8601 format, Coordinated Universal Time.

Example

'2019-01-31T08:38:32Z'

Defined in

src/types/DDOTypes.ts:326


datePublished

Optional datePublished: string

The date on which the asset DDO was registered into the metadata store. This value is created automatically by Metadata upon registering, so this value can’t be set.

Example

'2019-01-31T08:38:32Z'

Defined in

src/types/DDOTypes.ts:334


encryptedService

Optional encryptedService: any

Defined in

src/types/DDOTypes.ts:368


ercType

Optional ercType: ERCType

Defined in

src/types/DDOTypes.ts:376


files

Optional files: MetaDataExternalResource[]

Array of File objects including the encrypted file urls and some additional information.

Defined in

src/types/DDOTypes.ts:362


isDTP

Optional isDTP: boolean

Defined in

src/types/DDOTypes.ts:380


license

license: string

Short name referencing the license of the asset (e.g. Public Domain, CC-0, CC-BY, No License Specified, etc. ). If it’s not specified, the following value will be added: “No License Specified”.

Example

'CC-BY'

Defined in

src/types/DDOTypes.ts:357


name

name: string

Descriptive name of the Asset.

Example

'UK Weather information 2011'

Defined in

src/types/DDOTypes.ts:294


nftType

Optional nftType: NeverminedNFTType

Defined in

src/types/DDOTypes.ts:378


nonce

Optional nonce: number

Defined in

src/types/DDOTypes.ts:344


paymentAttributes

Optional paymentAttributes: PaymentAttributes[]

Defined in

src/types/DDOTypes.ts:382


service

Optional service: ServiceCommon

Defined in

src/types/DDOTypes.ts:374


subType

Optional subType: string

Sub type asssociated to the main type of the asset. This subtype is open so final users are not restricted to use anything they need. Helps to filter by the sub type of asset, for example if type is a service, the subtype could ai-agent, web-service, web-socket-service, etc Another example, if the type is ‘dataset’ the subtype could be ‘tabular’, ‘parquet’, ‘csv’, etc

Defined in

src/types/DDOTypes.ts:319


subscription

Optional subscription: SubscriptionMetadata

Defined in

src/types/DDOTypes.ts:364


type

type: "compute" | "workflow" | "service" | "dataset" | "algorithm" | "subscription" | "model" | "file" | "other" | "assistant" | "agent"

Type of the Asset. Helps to filter by the type of asset, initially (“dataset”, “algorithm”, “compute”, “workflow”, “model”, “file”, “subscription”, “other”, “agent”).

Example

'dataset'

Defined in

src/types/DDOTypes.ts:301


updatedAt

Optional updatedAt: string

The date on which the asset DDO was updated into the metadata store. This value is created automatically by Metadata upon update, so this value can’t be set.

Example

'2019-01-31T08:38:32Z'

Defined in

src/types/DDOTypes.ts:342


webService

Optional webService: WebService

Defined in

src/types/DDOTypes.ts:366


workflow

Optional workflow: Workflow

Defined in

src/types/DDOTypes.ts:370