Service represents one service within a ServicePackage. A service has a name and a value. The value can be of different types, like boolean or a timestamp.
Name | Description | Qualification | Schema |
---|---|---|---|
serviceType | Type of service. MONITOR_STATUS: The creator can monitor the status of the participants. For all three create transaction requests, it is considered present and set to the value ‘true’ for the time being. MONITOR_STATUS_BY_PARTICIPANTS: All participants can monitor the status of the other participants. For all three create transaction requests, it is considered present and set to the value ‘true’ for the time being. MULTISIGN: All participants get a sign request. For the create transaction request 'ManagedUserCreateTransactionRequest', it is considered present and set to the value ‘true’ for the time being. REVOKE: The creator can revoke participants' access to the transaction, as long as they have not opened the transaction. TIMELOCK_BEFORE: The transaction cannot be opened before the specified time. TIMELOCK_AFTER: The transaction cannot be opened after the specified time. | Required | enum (TIMELOCK_BEFORE, TIMELOCK_AFTER, |
serviceValueType | Type of the value. The value should be set to either BOOLEAN or TIMESTAMP, depending on the intended representation of the service object. | Required | enum (TIMESTAMP, BOOLEAN) |
timeStamp | A java timestamp in the number of milliseconds since January 1st, 1970. | Optional | integer (int64) |
value | Set to ‘true’ or ‘false’. | Optional | boolean |