NegotiationDetailDto
localIdstringrequired
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
remoteIdstringrequired
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa7
remotePartystringrequired
Example:
Remote Party Name
rolestringrequired
Possible values: [provider
, consumer
]
Example:
provider
remoteAddressstringrequired
Example:
192.168.1.100
statestringrequired
Possible values: [dspace:REQUESTED
, dspace:OFFERED
, dspace:ACCEPTED
, dspace:AGREED
, dspace:VERIFIED
, dspace:FINALIZED
, dspace:TERMINATED
]
Example:
dspace:REQUESTED
dataSetstringrequired
Example:
defaultDataSet
modifiedDatedate-timerequired
Example:
2023-10-11T00:00:00.000Z
offer object
@idstringrequired
Example:
3f2592da-ffc9-40cb-a336-a9daa9343ce8
@typestringrequired
Example:
odrl:Offer
odrl:assignerstring
Example:
did:example:assigner
odrl:assigneestring
Example:
assigneeExample
odrl:profilestring
Example:
profileExample
odrl:permission object[]
Array [
@typestringrequired
Example:
odrl:Permission
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
odrl:Dutystring[]
Example:
[]
]
odrl:prohibition object[]
Array [
@typestringrequired
Example:
odrl:Prohibition
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
odrl:obligation object[]
Array [
@typestringrequired
Example:
odrl:Duty
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
odrl:targetstring
Example:
targetExample
agreement object
@idstringrequired
Example:
3f2592da-ffc9-40cb-a336-a9daa9343ce8
@typestringrequired
Example:
odrl:Agreement
odrl:assignerstring
Example:
did:example:assigner
odrl:assigneestring
Example:
did:example:assignee
odrl:profilestring
Example:
profileExample
odrl:permission object[]
Array [
@typestringrequired
Example:
odrl:Permission
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
odrl:Dutystring[]
Example:
[]
]
odrl:prohibition object[]
Array [
@typestringrequired
Example:
odrl:Prohibition
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
odrl:obligation object[]
Array [
@typestringrequired
Example:
odrl:Duty
odrl:assignerstring
Example:
assignerExample
odrl:assigneestring
Example:
assigneeExample
odrl:actionstringrequired
Example:
odrl:actionExample
odrl:targetstring
Example:
targetExample
odrl:constraint object[]
Array [
@typestringrequired
Example:
odrl:Constraint
odrl:leftOperandstringrequired
Example:
odrl:leftOperandExample
odrl:operatorstringrequired
Example:
odrl:operatorExample
odrl:rightOperandobject
Example:
{"value":"rightOperandExample"}
odrl:rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
odrl:targetstring
Example:
urn:example:target
dspace:timestampstringrequired
Example:
2023-10-01T12:34:56Z
events object[]required
Array [
timedate-timerequired
Example:
2023-10-11T00:00:00.000Z
statestringrequired
Possible values: [dspace:REQUESTED
, dspace:OFFERED
, dspace:ACCEPTED
, dspace:AGREED
, dspace:VERIFIED
, dspace:FINALIZED
, dspace:TERMINATED
]
Example:
dspace:REQUESTED
localMessagestring
Example:
A local message example
codestring
Example:
ERR_CODE
reason object[]
Array [
@valuestringrequired
Example:
This is a sentence.
@languagestringrequired
Example:
en
]
agreementMessagestring
Example:
Agreement reached on event
verification object
@typestringrequired
Example:
dspace:ContractAgreementVerificationMessage
dspace:consumerPidstringrequired
Example:
urn:example:consumerPid
dspace:providerPidstringrequired
Example:
urn:example:providerPid
dspace:hashedMessage objectrequired
dspace:digeststringrequired
Example:
sha256:abcdef1234567890
dspace:algorithmstringrequired
Example:
SHA-256
hashedMessage object
dspace:digeststringrequired
Example:
sha256:abcdef1234567890
dspace:algorithmstringrequired
Example:
SHA-256
typestringrequired
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": "dspace:REQUESTED",
"dataSet": "defaultDataSet",
"modifiedDate": "2023-10-11T00:00:00.000Z",
"offer": {},
"agreement": {},
"events": [
{
"time": "2023-10-11T00:00:00.000Z",
"state": "dspace:REQUESTED",
"localMessage": "A local message example",
"code": "ERR_CODE",
"reason": [],
"agreementMessage": "Agreement reached on event",
"verification": {},
"hashedMessage": {},
"type": "local"
}
]
}