Skip to main content
Version: Next

AgreementSchema

@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
    AgreementSchema
    {
    "@id": "3f2592da-ffc9-40cb-a336-a9daa9343ce8",
    "@type": "odrl:Agreement",
    "odrl:assigner": "did:example:assigner",
    "odrl:assignee": "did:example:assignee",
    "odrl:profile": "profileExample",
    "odrl:permission": [],
    "odrl:prohibition": [],
    "odrl:obligation": [],
    "odrl:target": "urn:example:target",
    "dspace:timestamp": "2023-10-01T12:34:56Z"
    }