Service
| Attribute | Type | Description | Required | 
|---|---|---|---|
id | string | Unique ID | ✅ | 
type | string enum | Type of service access, compute | ✅ | 
| name | string | Service friendly name | ✅ | 
| displayName | language value object | Descriptive name of the service used for human readability in applications. | |
description | language value object | Service description | |
datatokenAddress | string | Smart Contract address of the service specific token | ✅ | 
serviceEndpoint | string  (URL) | Access Controller(Provider) URL | ✅ | 
files | string (encrypted files object) | Encrypted access control information of the files (encrypted by the access controller(provider)) | ✅ | 
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_object | If service is of type compute, holds information about the compute-related privacy settings & resources. | ☑️ (Required for type compute services) | 
consumerParameters | consumerParameters | An object the defines required consumer input before consuming the asset. | |
additionalInformation | Object | Stores additional information, this is customizable by publisher | |
state | number enum state | ✅ | |
credentials | credentials | Access Control Credentials | ✅ | 
dataSchema | remoteObject | A remote document defining the schema of a data service | (only dataset type assets) | 
inputSchema | remoteObject | A remote document defining the expected schema of the input data for a specific algorithm | (only algorithm type assets) | 
outputSchema | remoteObject | A remote document defining the schema of the algorithm output | (only algorithm type assets) |