MetaDataMain
@nevermined-io/nevermined-sdk-js / 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
- license
- name
- nftType
- service
- type
- 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: File
[]
Array of File objects including the encrypted file urls and some additional information.
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
service
• Optional
service: Service
Defined in
type
• type: "dataset"
| "compute"
| "workflow"
| "algorithm"
Type of the Asset. Helps to filter by the type of asset, initially ("dataset", "algorithm", "compute", "workflow", "compute", "other").
Example
"dataset"
Defined in
workflow
• Optional
workflow: Workflow