{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-addin-case-search-with-filters-request-schema.json",
  "title": "AddinCaseSearchWithFiltersRequest",
  "description": "Request model for filtered add-in case search.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/callidus-legal-ai-cases-api-openapi.yml#/components/schemas/AddinCaseSearchWithFiltersRequest",
  "properties": {
    "query": {
      "type": "string",
      "title": "Query"
    },
    "db_jurisdictions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Db Jurisdictions"
    },
    "max_cases": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Cases"
    },
    "year_start": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Year Start"
    },
    "year_end": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Year End"
    },
    "area_of_law": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area Of Law"
    },
    "sub_area_of_law": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sub Area Of Law"
    }
  },
  "type": "object",
  "required": [
    "query"
  ]
}