Skip to main content
Version: Next

NegotiationProcessEventDto

timestring<date-time>required
Example: 2023-10-11T00:00:00.000Z
statestringrequired

Possible values: [REQUESTED, OFFERED, ACCEPTED, AGREED, VERIFIED, FINALIZED, TERMINATED]

Example: REQUESTED
localMessagestring
Example: A local message example
codestring
Example: ERR_CODE
reason[]
Example: ["Negotiation terminated by remote participant"]
agreementMessagestring
Example: Agreement reached on event
verification object
@typestringrequired
Example: ContractAgreementVerificationMessage
consumerPidstringrequired
Example: urn:example:consumerPid
providerPidstringrequired
Example: urn:example:providerPid
hashedMessage object
digeststringrequired
Example: sha256:abcdef1234567890
algorithmstringrequired
Example: SHA-256
hashedMessage object
digeststringrequired
Example: sha256:abcdef1234567890
algorithmstringrequired
Example: SHA-256
typestringrequired

Possible values: [local, remote]

Example: local
NegotiationProcessEventDto
{
"time": "2023-10-11T00:00:00.000Z",
"state": "REQUESTED",
"localMessage": "A local message example",
"code": "ERR_CODE",
"reason": [
"Negotiation terminated by remote participant"
],
"agreementMessage": "Agreement reached on event",
"verification": {},
"hashedMessage": {},
"type": "local"
}