Skip to content

Compute Object

Required for type compute services.

AttributeTypeDescriptionRequired
allowRawAlgorithmbooleanIf 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.
allowNetworkAccessbooleanIf true, the algorithm job will have network access.
publisherTrustedAlgorithmPublishersArray of stringIf 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.
publisherTrustedAlgorithmsArray of publisherTrustedAlgorithmsIf 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

AttributeTypeDescriptionRequired
didstringThe DID of the algorithm which is trusted by the publisher.
serviceIdstringThe service ID of the algorithm which is trusted by the publisher.
filesChecksumstringHash of algorithm's files (as string).
containerSectionChecksumstringHash of algorithm's image details (as string).