NegotiationDetailDto
localIdstringrequired
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6remoteIdstringrequired
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa7remotePartystringrequired
Example:
Remote Party Namerolestringrequired
Possible values: [provider, consumer]
Example:
providerremoteAddressstringrequired
Example:
192.168.1.100statestringrequired
Possible values: [REQUESTED, OFFERED, ACCEPTED, AGREED, VERIFIED, FINALIZED, TERMINATED]
Example:
REQUESTEDdataSetstringrequired
Example:
defaultDataSetmodifiedDatestring<date-time>required
Example:
2023-10-11T00:00:00.000Zoffer object
@idstringrequired
Example:
3f2592da-ffc9-40cb-a336-a9daa9343ce8@typestringrequired
Example:
Offerassignerstring
Example:
did:example:assignerassigneestring
Example:
assigneeExampleprofilestring
Example:
profileExamplepermission object[]
Array [
@typestringrequired
Example:
Permissionassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
Dutystring[]
Example:
[]]
prohibition object[]
Array [
@typestringrequired
Example:
Prohibitionassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
]
obligation object[]
Array [
@typestringrequired
Example:
Dutyassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
]
targetstring
Example:
targetExampleagreement object
@idstringrequired
Example:
3f2592da-ffc9-40cb-a336-a9daa9343ce8@typestringrequired
Example:
Agreementassignerstring
Example:
did:example:assignerassigneestring
Example:
did:example:assigneeprofilestring
Example:
profileExamplepermission object[]
Array [
@typestringrequired
Example:
Permissionassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
Dutystring[]
Example:
[]]
prohibition object[]
Array [
@typestringrequired
Example:
Prohibitionassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
]
obligation object[]
Array [
@typestringrequired
Example:
Dutyassignerstring
Example:
assignerExampleassigneestring
Example:
assigneeExampleactionstringrequired
Example:
actionExampletargetstring
Example:
targetExampleconstraint object[]
Array [
@typestringrequired
Example:
ConstraintleftOperandstringrequired
Example:
leftOperandExampleoperatorstringrequired
Example:
operatorExamplerightOperandobject
Example:
{"value":"rightOperandExample"}rightOperandReferencestring
Example:
rightOperandReferenceExample]
]
targetstring
Example:
urn:example:targettimestampstringrequired
Example:
2023-10-01T12:34:56Zevents object[]required
Array [
timestring<date-time>required
Example:
2023-10-11T00:00:00.000Zstatestringrequired
Possible values: [REQUESTED, OFFERED, ACCEPTED, AGREED, VERIFIED, FINALIZED, TERMINATED]
Example:
REQUESTEDlocalMessagestring
Example:
A local message examplecodestring
Example:
ERR_CODEreason object[]
Array [
@valuestringrequired
Example:
This is a sentence.@languagestringrequired
Example:
en]
agreementMessagestring
Example:
Agreement reached on eventverification object
@typestringrequired
Example:
ContractAgreementVerificationMessageconsumerPidstringrequired
Example:
urn:example:consumerPidproviderPidstringrequired
Example:
urn:example:providerPidhashedMessage object
digeststringrequired
Example:
sha256:abcdef1234567890algorithmstringrequired
Example:
SHA-256hashedMessage object
digeststringrequired
Example:
sha256:abcdef1234567890algorithmstringrequired
Example:
SHA-256typestringrequired
Possible values: [local, remote]
Example:
local]
NegotiationDetailDto
{
"localId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"remoteId": "3fa85f64-5717-4562-b3fc-2c963f66afa7",
"remoteParty": "Remote Party Name",
"role": "provider",
"remoteAddress": "192.168.1.100",
"state": "REQUESTED",
"dataSet": "defaultDataSet",
"modifiedDate": "2023-10-11T00:00:00.000Z",
"offer": {},
"agreement": {},
"events": [
{
"time": "2023-10-11T00:00:00.000Z",
"state": "REQUESTED",
"localMessage": "A local message example",
"code": "ERR_CODE",
"reason": [],
"agreementMessage": "Agreement reached on event",
"verification": {},
"hashedMessage": {},
"type": "local"
}
]
}