OpenCaseLaw · Schema

_AttestBody

Pro /attest body. The Word add-in (>=v3 redactor) sends ``redacted_text``. Older clients sent ``draft_text``; both are accepted for a transition window. The server-side redaction guard runs against whichever field was supplied, so a missed redaction is caught either way.

LegalOpen DataSwitzerlandCourtDecisionsLegislation

Properties

Name Type Description
redacted_text stringnull
draft_text stringnull
audit_grounding boolean
audit_quotes boolean
client_redactor_version stringnull
client_redactor_summary objectnull
View JSON Schema on GitHub

JSON Schema

opencaselaw-ch-attest-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opencaselaw-ch/json-schema/opencaselaw-ch-attest-body-schema.json",
  "title": "_AttestBody",
  "description": "Pro /attest body. The Word add-in (>=v3 redactor) sends\n``redacted_text``. Older clients sent ``draft_text``; both are\naccepted for a transition window. The server-side redaction guard\nruns against whichever field was supplied, so a missed redaction\nis caught either way.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opencaselaw-ch-openapi.json#/components/schemas/_AttestBody",
  "properties": {
    "redacted_text": {
      "title": "Redacted Text",
      "type": [
        "string",
        "null"
      ]
    },
    "draft_text": {
      "title": "Draft Text",
      "type": [
        "string",
        "null"
      ]
    },
    "audit_grounding": {
      "type": "boolean",
      "title": "Audit Grounding",
      "default": false
    },
    "audit_quotes": {
      "type": "boolean",
      "title": "Audit Quotes",
      "default": false
    },
    "client_redactor_version": {
      "title": "Client Redactor Version",
      "type": [
        "string",
        "null"
      ]
    },
    "client_redactor_summary": {
      "title": "Client Redactor Summary",
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}

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-attest-body"
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.