CAIN-42 CAIN Studio

API reference · schema

BindingReq

4 fields · used by 0 operations

Last reviewed 2026-10-04

Fields

FieldTypeMeaning
contract_id requiredstringmin length 8 · max length 128
receipt_hash requiredstringmin length 16 · max length 128
packageobject or null
policy_idstring or nullmax 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