Corpus Iuris · Schema

Documento

CompanyLegalLegal ResearchArtificial IntelligenceMexicoJurisprudenceMCPSearch

Properties

Name Type Description
tipo string
titulo string
referencia string
texto string Texto íntegro.
url string
vigencia object
fuerza object
metadata object
View JSON Schema on GitHub

JSON Schema

corpusiuris-mx-documento-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corpusiuris-mx/json-schema/corpusiuris-mx-documento-schema.json",
  "title": "Documento",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corpusiuris-mx-openapi.yml#/components/schemas/Documento",
  "type": "object",
  "properties": {
    "tipo": {
      "type": "string"
    },
    "titulo": {
      "type": "string"
    },
    "referencia": {
      "type": "string"
    },
    "texto": {
      "type": "string",
      "description": "Texto íntegro."
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "vigencia": {
      "$ref": "#/$defs/Vigencia"
    },
    "fuerza": {
      "$ref": "#/$defs/Fuerza"
    },
    "metadata": {
      "type": "object"
    }
  },
  "$defs": {
    "Fuerza": {
      "type": "object",
      "description": "En tesis y precedentes. Citar una tesis aislada como jurisprudencia obligatoria es un error grave.",
      "properties": {
        "es_jurisprudencia_obligatoria": {
          "type": "boolean"
        },
        "como_citar": {
          "type": "string"
        },
        "verificar_superacion_en": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "ficha_oficial_scjn": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      }
    },
    "Vigencia": {
      "type": "object",
      "description": "Solo en resultados de tipo `ley`.",
      "properties": {
        "estado": {
          "type": "string",
          "enum": [
            "VIGENTE",
            "ABROGADA"
          ]
        },
        "fecha_ultima_reforma": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "verificado_al": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Fecha en que se comprobó el texto contra la fuente oficial."
        },
        "fuente_oficial": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "como_citar": {
          "type": "string"
        }
      }
    }
  }
}

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/corpusiuris-mx-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.