RAGJur · Schema

Documento

Metadados + fatia do texto integral de um documento. Campos ausentes na fonte são omitidos.

Legal TechArtificial IntelligenceSearchBrazilJurimetria

Properties

Name Type Description
id string
tribunal string
fonte string
numero_processo string
classe_processual string
relator string
orgao_julgador string
tipo_doc string
data_julgamento string
data_publicacao string
numero_registro string
url string
url_processo string
dispositivo string
texto_origem string Campo de onde veio `texto`; `ementa` = íntegra indisponível no índice
texto_total_chars integer Tamanho do texto completo (caracteres)
inicio integer Posição do primeiro caractere de `texto`
proximo_inicio integernull Passe como `inicio` para ler a próxima fatia; `null` = fim do texto
_nota string
texto string Fatia do texto integral (até `max_chars`)
View JSON Schema on GitHub

JSON Schema

ragjur-ai-documento-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ragjur-ai/json-schema/ragjur-ai-documento-schema.json",
  "title": "Documento",
  "description": "Metadados + fatia do texto integral de um documento. Campos ausentes na fonte são omitidos.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ragjur-ai-openapi.json#/components/schemas/Documento",
  "type": "object",
  "required": [
    "id",
    "texto",
    "texto_total_chars",
    "inicio",
    "proximo_inicio"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "tribunal": {
      "type": "string"
    },
    "fonte": {
      "type": "string"
    },
    "numero_processo": {
      "type": "string"
    },
    "classe_processual": {
      "type": "string"
    },
    "relator": {
      "type": "string"
    },
    "orgao_julgador": {
      "type": "string"
    },
    "tipo_doc": {
      "type": "string"
    },
    "data_julgamento": {
      "type": "string"
    },
    "data_publicacao": {
      "type": "string",
      "format": "date"
    },
    "numero_registro": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "url_processo": {
      "type": "string",
      "format": "uri"
    },
    "dispositivo": {
      "type": "string"
    },
    "texto_origem": {
      "type": "string",
      "enum": [
        "conteudo",
        "inteiro_teor",
        "texto_integral",
        "ementa"
      ],
      "description": "Campo de onde veio `texto`; `ementa` = íntegra indisponível no índice"
    },
    "texto_total_chars": {
      "type": "integer",
      "description": "Tamanho do texto completo (caracteres)"
    },
    "inicio": {
      "type": "integer",
      "description": "Posição do primeiro caractere de `texto`"
    },
    "proximo_inicio": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Passe como `inicio` para ler a próxima fatia; `null` = fim do texto"
    },
    "_nota": {
      "type": "string"
    },
    "texto": {
      "type": "string",
      "description": "Fatia do texto integral (até `max_chars`)"
    }
  }
}

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/ragjur-ai-documento"
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.