{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-inconsistency-run-create-request-schema.json",
  "title": "InconsistencyRunCreateRequest",
  "description": "Run the inconsistency finder against the specified existing analyses.\n\nThe backend resolves each analysis row to its transcript + background\nfile UUIDs and pairs them with the analysis's ``deponent_name``.\n\nWhen ``include_matter_context`` is true (default) and the deposition\nis linked to a matter with non-deposition documents, the workflow\nruns a Phase 1.5 sweep that compares each extracted fact against\nthose documents via matter-context retrieval. When false, the sweep\nis skipped entirely — useful when the user wants a faster run or\nknows the matter docs aren't relevant to the comparison they want.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/callidus-legal-ai-depositions-api-openapi.yml#/components/schemas/InconsistencyRunCreateRequest",
  "properties": {
    "analysis_ids": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Analysis Ids"
    },
    "include_matter_context": {
      "type": "boolean",
      "title": "Include Matter Context",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "analysis_ids"
  ]
}