1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

more created&updated updates

This commit is contained in:
alexcos20 2021-11-11 01:54:46 -08:00
parent c3f4d5b2ce
commit 541522ef09

View File

@ -93,8 +93,8 @@ This object holds information describing the actual asset.
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------------------------- | ----------------------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------- | ----------------------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`created`** | `ISO Date Time string` | **✓** | Contains the date of publishing in ISO Date Time Format, e.g. `2000-10-31T01:30:00`. | | **`created`** | `ISO Date Time string` | | Contains the date of dataset publishing in ISO Date Time Format, e.g. `2000-10-31T01:30:00`. It refers to dataset content. |
| **`updated`** | `ISO Date Time string` | **✓** | Contains the the date of last update in ISO Date Time Format, e.g. `2000-10-31T01:30:00`. | | **`updated`** | `ISO Date Time string` | | Contains the the date of last update of the dataset content in ISO Date Time Format, e.g. `2000-10-31T01:30:00`. |
| **`description`** | `string` | **✓** | Details of what the resource is. For a dataset, this attribute explains what the data represents and what it can be used for. | | **`description`** | `string` | **✓** | Details of what the resource is. For a dataset, this attribute explains what the data represents and what it can be used for. |
| **`copyrightHolder`** | `string` | | The party holding the legal copyright. Empty by default. | | **`copyrightHolder`** | `string` | | The party holding the legal copyright. Empty by default. |
| **`name`** | `string` | **✓** | Descriptive name or title of the asset. | | **`name`** | `string` | **✓** | Descriptive name or title of the asset. |
@ -144,6 +144,8 @@ The `container` object has the following attributes defining the Docker image fo
```json ```json
{ {
"metadata": { "metadata": {
"created": "2020-11-15T12:27:48Z",
"updated": "2021-05-17T21:58:02Z",
"description": "Sample description", "description": "Sample description",
"name": "Sample algorithm asset", "name": "Sample algorithm asset",
"type": "algorithm", "type": "algorithm",
@ -491,16 +493,16 @@ Example:
{ {
"@context": ["https://w3id.org/did/v1"], "@context": ["https://w3id.org/did/v1"],
"id": "did:op:ACce67694eD2848dd683c651Dab7Af823b7dd123", "id": "did:op:ACce67694eD2848dd683c651Dab7Af823b7dd123",
"created": "2020-11-15T12:27:48Z",
"updated": "2021-05-17T21:58:02Z",
"version": "4.0.0", "version": "4.0.0",
"chainId": 1, "chainId": 1,
"metadata": { "metadata": {
"description": "Sample description", "created": "2020-11-15T12:27:48Z",
"name": "Sample asset", "updated": "2021-05-17T21:58:02Z",
"type": "dataset", "description": "Sample description",
"author": "OPF", "name": "Sample asset",
"license": "https://market.oceanprotocol.com/terms" "type": "dataset",
"author": "OPF",
"license": "https://market.oceanprotocol.com/terms"
}, },
"services": [ "services": [
{ {