{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opencaselaw-ch/json-schema/opencaselaw-ch-strengthen-request-schema.json",
  "title": "StrengthenRequest",
  "description": "Request body for Pro paragraph Verify-and-Strengthen.\n\nThe Word add-in (>=v3 redactor) sends ``redacted_text``. Always\nredacted client-side; server-side redaction guard re-runs to enforce\nthe contract for any non-Word caller. Paragraph-only scoping —\nmulti-paragraph review would dilute the per-suggestion ranking;\nlawyers run Strengthen 3-5 times per document, not once on the\nwhole thing.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opencaselaw-ch-openapi.json#/components/schemas/StrengthenRequest",
  "properties": {
    "license_key": {
      "type": "string",
      "title": "License Key"
    },
    "redacted_text": {
      "type": "string",
      "maxLength": 8000,
      "title": "Redacted Text"
    },
    "lang": {
      "type": "string",
      "title": "Lang",
      "default": "de"
    },
    "client_redactor_version": {
      "title": "Client Redactor Version",
      "type": [
        "string",
        "null"
      ]
    },
    "client_redactor_summary": {
      "title": "Client Redactor Summary",
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object",
  "required": [
    "license_key",
    "redacted_text"
  ]
}