API reference · schema
BindingReq
4 fields · used by 0 operations
Last reviewed 2026-10-04
Fields
| Field | Type | Meaning |
|---|---|---|
contract_id required | string | min length 8 · max length 128 |
receipt_hash required | string | min length 16 · max length 128 |
package | object or null | |
policy_id | string or null | max length 64 |
Smallest valid example
{
"contract_id": "contract-id",
"receipt_hash": "receipt-hash"
}JSON Schema
Show the raw definition
{
"properties": {
"contract_id": {
"type": "string",
"maxLength": 128,
"minLength": 8,
"title": "Contract Id"
},
"receipt_hash": {
"type": "string",
"maxLength": 128,
"minLength": 16,
"title": "Receipt Hash"
},
"package": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Package"
},
"policy_id": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Policy Id"
}
},
"type": "object",
"required": [
"contract_id",
"receipt_hash"
],
"title": "BindingReq"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem