MetaDataMain
@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
- algorithm
- author
- dateCreated
- datePublished
- encryptedService
- ercType
- files
- isDTP
- license
- name
- nftType
- nonce
- paymentAttributes
- service
- subType
- subscription
- type
- updatedAt
- webService
- workflow
Properties
algorithm
• Optional
algorithm: Algorithm
Defined in
author
• author: string
Name of the entity generating this data (e.g. Tfl, Disney Corp, etc.).
Example
'Met Office'
Defined in
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
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
encryptedService
• Optional
encryptedService: any
Defined in
ercType
• Optional
ercType: ERCType
Defined in
files
• Optional
files: MetaDataExternalResource
[]
Array of File objects including the encrypted file urls and some additional information.
Defined in
isDTP
• Optional
isDTP: boolean
Defined in
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
name
• name: string
Descriptive name of the Asset.
Example
'UK Weather information 2011'
Defined in
nftType
• Optional
nftType: NeverminedNFTType
Defined in
nonce
• Optional
nonce: number
Defined in
paymentAttributes
• Optional
paymentAttributes: PaymentAttributes
[]
Defined in
service
• Optional
service: ServiceCommon
Defined in
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
subscription
• Optional
subscription: SubscriptionMetadata
Defined in
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
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
webService
• Optional
webService: WebService
Defined in
workflow
• Optional
workflow: Workflow