{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-addin-proof-read-schema.json",
  "title": "AddinProofRead",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/callidus-legal-ai-contract-api-openapi.yml#/components/schemas/AddinProofRead",
  "properties": {
    "document": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Document"
    },
    "paragraphs": {
      "items": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object"
      },
      "type": "array",
      "title": "Paragraphs"
    },
    "ai_strength": {
      "type": "integer",
      "title": "Ai Strength"
    },
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query"
    },
    "mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode"
    },
    "legal_authorities": {
      "type": "boolean",
      "title": "Legal Authorities"
    },
    "add_points": {
      "type": "boolean",
      "title": "Add Points"
    },
    "document_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Document Type"
    },
    "concise_robust": {
      "type": "integer",
      "title": "Concise Robust"
    },
    "standard_grammar": {
      "type": "boolean",
      "title": "Standard Grammar"
    },
    "clarity": {
      "type": "boolean",
      "title": "Clarity"
    },
    "legal_writing_lens": {
      "type": "boolean",
      "title": "Legal Writing Lens"
    },
    "provision_references": {
      "type": "boolean",
      "title": "Provision References"
    },
    "defined_terms": {
      "type": "boolean",
      "title": "Defined Terms"
    },
    "comment_only": {
      "type": "boolean",
      "title": "Comment Only"
    },
    "add_arguments": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Add Arguments"
    },
    "high_quality_writing": {
      "type": "boolean",
      "title": "High Quality Writing"
    },
    "true_spelling": {
      "type": "boolean",
      "title": "True Spelling"
    },
    "check_facts": {
      "type": "boolean",
      "title": "Check Facts"
    },
    "usage_data": {
      "additionalProperties": true,
      "type": "object",
      "title": "Usage Data"
    }
  },
  "type": "object",
  "required": [
    "document",
    "paragraphs",
    "ai_strength",
    "query",
    "mode",
    "legal_authorities",
    "add_points",
    "document_type",
    "concise_robust",
    "standard_grammar",
    "clarity",
    "legal_writing_lens",
    "provision_references",
    "defined_terms",
    "comment_only",
    "add_arguments",
    "high_quality_writing",
    "true_spelling",
    "check_facts",
    "usage_data"
  ]
}