Skip to main content
Version: Next

ContractAgreementMessageSchema

@typestringrequired
Example: dspace:ContractAgreementMessage
dspace:consumerPidstringrequired
Example: urn:example:consumerPid
dspace:providerPidstringrequired
Example: urn:example:providerPid
dspace: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
    ContractAgreementMessageSchema
    {
    "@type": "dspace:ContractAgreementMessage",
    "dspace:consumerPid": "urn:example:consumerPid",
    "dspace:providerPid": "urn:example:providerPid",
    "dspace:agreement": {
    "@type": "odrl:Agreement",
    "odrl:assigner": "urn:example:assigner",
    "odrl:assignee": "urn:example:assignee",
    "dspace:timestamp": "2023-10-01T12:34:56Z",
    "odrl:target": "urn:example:target"
    }
    }