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

Update did-ddo.md

This commit is contained in:
Alex Coseru 2022-02-10 14:00:22 +02:00 committed by GitHub
parent abe7d7b5da
commit 25d17e6067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ An asset of type `algorithm` has additional attributes under `metadata.algorithm
| --------------- | --------------------------- | -------- | ------------------------------------------------------------------------------------------ |
| **`language`** | `string` | | Language used to implement the software. |
| **`version`** | `string` | | Version of the software preferably in [SemVer](https://semver.org) notation. E.g. `1.0.0`. |
| **`userInput`** | [User Input](#userinput) | | An object the defines required user input before running the algorithm |
| **`userInput`** | [User Input](#user-input) | | An object the defines required user input before running the algorithm |
| **`container`** | `container` | **✓** | Object describing the Docker container image. See below |
The `container` object has the following attributes defining the Docker image for running the algorithm:
@ -186,7 +186,7 @@ An asset should have at least one service to be actually accessible, and can hav
| **`files`** | [Files](#files) | **✓** | Encrypted file URLs. |
| **`timeout`** | `number` | **✓** | Describing how long the service can be used after consumption is initiated. A timeout of `0` represents no time limit. Expressed in seconds. |
| **`compute`** | [Compute](#compute-options) | **✓** (for compute assets only) | If service is of `type` `compute`, holds information about the compute-related privacy settings & resources. |
| **`userInput`** | [User Input](#userinput) | | An object the defines required user input before consuming the asset|
| **`userInput`** | [User Input](#user-input) | | An object the defines required user input before consuming the asset|
#### Files