OpenCaseLaw · Schema

VerifyRequest

Request body for Pro reference verification. The Word add-in (>=v3 redactor) sends ``redacted_text``. Older clients sent ``selected_text`` — both are accepted during the transition window. The server-side redaction guard runs against whichever field was supplied so a missed redaction is caught either way; the field name is just a documentation hint to AppSource reviewers / security auditors that the contract is "this text is already redacted client-side".

LegalOpen DataSwitzerlandCourtDecisionsLegislation

Properties

Name Type Description
license_key string
redacted_text stringnull
selected_text stringnull
case_ref string
lang string
client_redactor_version stringnull
client_redactor_summary objectnull
View JSON Schema on GitHub

JSON Schema

opencaselaw-ch-verify-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opencaselaw-ch/json-schema/opencaselaw-ch-verify-request-schema.json",
  "title": "VerifyRequest",
  "description": "Request body for Pro reference verification.\n\nThe Word add-in (>=v3 redactor) sends ``redacted_text``. Older\nclients sent ``selected_text`` — both are accepted during the\ntransition window. The server-side redaction guard runs against\nwhichever field was supplied so a missed redaction is caught\neither way; the field name is just a documentation hint to\nAppSource reviewers / security auditors that the contract is\n\"this text is already redacted client-side\".",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opencaselaw-ch-openapi.json#/components/schemas/VerifyRequest",
  "properties": {
    "license_key": {
      "type": "string",
      "title": "License Key"
    },
    "redacted_text": {
      "title": "Redacted Text",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 5000
    },
    "selected_text": {
      "title": "Selected Text",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 5000
    },
    "case_ref": {
      "type": "string",
      "maxLength": 200,
      "title": "Case Ref"
    },
    "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",
    "case_ref"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/opencaselaw-ch-verify-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.