Skip to main content
Version: Next

ContractRequestMessageSchema

@typestringrequired
Example: ContractRequestMessage
consumerPidstringrequired
Example: urn:example:consumerPid
providerPidstring
Example: urn:example:providerPid
callbackAddressstringrequired
Example: http://example.com/callback
offer object
@idstringrequired
Example: 3f2592da-ffc9-40cb-a336-a9daa9343ce8
@typestringrequired
Example: Offer
assignerstring
Example: did:example:assigner
assigneestring
Example: assigneeExample
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: targetExample
    ContractRequestMessageSchema
    {
    "@type": "ContractRequestMessage",
    "consumerPid": "urn:example:consumerPid",
    "providerPid": "urn:example:providerPid",
    "callbackAddress": "http://example.com/callback",
    "offer": {
    "@type": "Offer",
    "assigner": "urn:example:assigner"
    }
    }