{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/erzycall-com/json-schema/erzycall-com-patch-api-v1-cases-id-request-schema.json",
  "title": "PatchApiV1CasesIdRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/erzycall-com-openapi-generated.yml#/components/schemas/PatchApiV1CasesIdRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Case name (1–200 chars)"
    },
    "prompt": {
      "type": "string",
      "description": "System prompt (1–50,000 chars), supports {{variables}}"
    },
    "firstMessage": {
      "type": "string",
      "description": "Opening line (max 1,000 chars), supports {{variables}}"
    },
    "description": {
      "type": "string",
      "description": "Internal description (max 2,000 chars)"
    },
    "tags": {
      "type": "array",
      "description": "Tags (max 20 tags, each max 50 chars)"
    },
    "variables": {
      "type": "array",
      "description": "Variable definitions (max 50)"
    },
    "keyterms": {
      "type": "string",
      "description": "Newline-separated terms to bias speech recognition (max 5,000 chars)"
    }
  }
}