AgreementSchema
@idstringrequired
Example:
3f2592da-ffc9-40cb-a336-a9daa9343ce8
@typestringrequired
Example:
Agreement
assignerstring
Example:
did:example:assigner
assigneestring
Example:
did:example:assignee
profilestring
Example:
profileExample
permission object[]
Array [
@typestringrequired
Example:
Permission
assignerstring
Example:
assignerExample
assigneestring
Example:
assigneeExample
actionstringrequired
Example:
actionExample
targetstring
Example:
targetExample
constraint object[]
Array [
@typestringrequired
Example:
Constraint
leftOperandstringrequired
Example:
leftOperandExample
operatorstringrequired
Example:
operatorExample
rightOperandobject
Example:
{"value":"rightOperandExample"}
rightOperandReferencestring
Example:
rightOperandReferenceExample
]
Dutystring[]
Example:
[]
]
prohibition object[]
Array [
@typestringrequired
Example:
Prohibition
assignerstring
Example:
assignerExample
assigneestring
Example:
assigneeExample
actionstringrequired
Example:
actionExample
targetstring
Example:
targetExample
constraint object[]
Array [
@typestringrequired
Example:
Constraint
leftOperandstringrequired
Example:
leftOperandExample
operatorstringrequired
Example:
operatorExample
rightOperandobject
Example:
{"value":"rightOperandExample"}
rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
obligation object[]
Array [
@typestringrequired
Example:
Duty
assignerstring
Example:
assignerExample
assigneestring
Example:
assigneeExample
actionstringrequired
Example:
actionExample
targetstring
Example:
targetExample
constraint object[]
Array [
@typestringrequired
Example:
Constraint
leftOperandstringrequired
Example:
leftOperandExample
operatorstringrequired
Example:
operatorExample
rightOperandobject
Example:
{"value":"rightOperandExample"}
rightOperandReferencestring
Example:
rightOperandReferenceExample
]
]
targetstring
Example:
urn:example:target
timestampstringrequired
Example:
2023-10-01T12:34:56Z
AgreementSchema
{
"@id": "3f2592da-ffc9-40cb-a336-a9daa9343ce8",
"@type": "Agreement",
"assigner": "did:example:assigner",
"assignee": "did:example:assignee",
"profile": "profileExample",
"permission": [],
"prohibition": [],
"obligation": [],
"target": "urn:example:target",
"timestamp": "2023-10-01T12:34:56Z"
}