ContractOfferMessageSchema
@typestringrequired
Example:
ContractOfferMessage
consumerPidstring
Example:
urn:example:consumerPid
providerPidstringrequired
Example:
urn:example:providerPid
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
callbackAddressstringrequired
Example:
http://example.com/offer-callback
ContractOfferMessageSchema
{
"@type": "ContractOfferMessage",
"consumerPid": "urn:example:consumerPid",
"providerPid": "urn:example:providerPid",
"offer": {
"@type": "Offer",
"assigner": "urn:example:assigner"
},
"callbackAddress": "http://example.com/offer-callback"
}