Compute Object
Required for type compute services.
| Attribute | Type | Description | Required | 
|---|---|---|---|
allowRawAlgorithm | boolean | If true, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be false by default in all implementations. | ✅ | 
allowNetworkAccess | boolean | If true, the algorithm job will have network access. | ✅ | 
publisherTrustedAlgorithmPublishers | Array of string | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. | ✅ | 
publisherTrustedAlgorithms | Array of publisherTrustedAlgorithms | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). | ✅ | 
publisherTrustedAlgorithms
| Attribute | Type | Description | Required | 
|---|---|---|---|
did | string | The DID of the algorithm which is trusted by the publisher. | ✅ | 
serviceId | string | The service ID of the algorithm which is trusted by the publisher. | ✅ | 
filesChecksum | string | Hash of algorithm's files (as string). | ✅ | 
containerSectionChecksum | string | Hash of algorithm's image details (as string). | ✅ |