{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexiel-ai/json-schema/lexiel-ai-case-update-schema.json",
  "title": "CaseUpdate",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexiel-ai-openapi.yml#/components/schemas/CaseUpdate",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "caseNumber": {
      "type": "string",
      "maxLength": 100
    },
    "courtCaseNumber": {
      "type": "string",
      "maxLength": 100
    },
    "status": {
      "type": "string",
      "enum": [
        "intake",
        "active",
        "on_hold",
        "closed_won",
        "closed_lost",
        "archived"
      ],
      "description": "Un valor distinto de `archived` reabre un expediente archivado"
    },
    "factsSummary": {
      "type": "string",
      "maxLength": 50000
    }
  }
}