CAIN-42 CAIN Studio

API reference · schema

DiffReq

3 fields · used by 0 operations

Last reviewed 2026-10-05

Fields

FieldTypeMeaning
old requiredobject
new requiredobject
modestringpattern ^(change|translation)$ · default "change"

Smallest valid example

{
  "old": {},
  "new": {},
  "mode": "change"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "old": {
      "additionalProperties": true,
      "type": "object",
      "title": "Old"
    },
    "new": {
      "additionalProperties": true,
      "type": "object",
      "title": "New"
    },
    "mode": {
      "type": "string",
      "pattern": "^(change|translation)$",
      "title": "Mode",
      "default": "change"
    }
  },
  "type": "object",
  "required": [
    "old",
    "new"
  ],
  "title": "DiffReq"
}

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