Lexiel · Schema

Document

Legal TechArtificial IntelligenceAutomationSpainLatin America

Properties

Name Type Description
id string
name string
mimeType string
sizeBytes integer
status string
caseId stringnull
summary stringnull Resumen del análisis (cuando status es ready)
keyFindings objectnull Hallazgos del análisis (cuando status es ready). Es un objeto con cuatro listas de textos, no una lista de puntos; appealRoutes solo aparece si la resolución declara vías de recurso.
rawText stringnull Texto extraído del documento (hasta 500.000 caracteres)
wordCount integernull Palabras del texto extraído
processingTimeMs integernull Duración del procesamiento
processingError stringnull Motivo del fallo (cuando status es failed)
deletedAt stringnull
createdAt string
View JSON Schema on GitHub

JSON Schema

lexiel-ai-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexiel-ai/json-schema/lexiel-ai-document-schema.json",
  "title": "Document",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexiel-ai-openapi.yml#/components/schemas/Document",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "mimeType": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": [
        "uploading",
        "processing",
        "ready",
        "failed"
      ]
    },
    "caseId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Resumen del análisis (cuando status es ready)"
    },
    "keyFindings": {
      "type": [
        "object",
        "null"
      ],
      "description": "Hallazgos del análisis (cuando status es ready). Es un objeto con cuatro listas de textos, no una lista de puntos; appealRoutes solo aparece si la resolución declara vías de recurso.",
      "properties": {
        "clauses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Cláusulas principales identificadas"
        },
        "risks": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Riesgos legales detectados"
        },
        "obligations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Obligaciones de las partes"
        },
        "deadlines": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Plazos y fechas límite mencionados"
        },
        "appealRoutes": {
          "type": "array",
          "description": "Vías de recurso que la propia resolución declara (opcional)",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "reposicion",
                  "alzada",
                  "contencioso",
                  "apelacion",
                  "casacion",
                  "reforma",
                  "suplica",
                  "revision",
                  "queja",
                  "suplicacion",
                  "infraccion_procesal",
                  "amparo"
                ]
              },
              "label": {
                "type": "string",
                "description": "Cómo lo llama la resolución"
              },
              "deadline": {
                "type": "string",
                "description": "Plazo declarado, si lo dice"
              }
            }
          }
        }
      }
    },
    "rawText": {
      "type": [
        "string",
        "null"
      ],
      "description": "Texto extraído del documento (hasta 500.000 caracteres)"
    },
    "wordCount": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Palabras del texto extraído"
    },
    "processingTimeMs": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Duración del procesamiento"
    },
    "processingError": {
      "type": [
        "string",
        "null"
      ],
      "description": "Motivo del fallo (cuando status es failed)"
    },
    "deletedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/lexiel-ai-document"
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.