vLex · Schema

vLex Legal Document

A legal document from the vLex corpus, including metadata, full text, and citation data.

Artificial IntelligenceClassificationLegal ResearchLegal TechNatural Language ProcessingPrivacy

Properties

Name Type Description
id string Unique vLex document identifier.
title string Document title.
document_type string Type of legal document.
jurisdiction string Jurisdiction code (ISO 3166-1 or regional).
date string Publication or decision date.
language string BCP-47 language code.
full_text string Full text of the legal document.
metadata object Additional metadata: court name, parties, docket number, etc.
citations array Legal citations found within or referencing this document.
url string Link to the document on vlex.com.
View JSON Schema on GitHub

JSON Schema

vlex-legal-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vlex/refs/heads/main/json-schema/vlex-legal-document-schema.json",
  "title": "vLex Legal Document",
  "description": "A legal document from the vLex corpus, including metadata, full text, and citation data.",
  "type": "object",
  "required": ["id", "title", "document_type"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique vLex document identifier."
    },
    "title": {
      "type": "string",
      "description": "Document title.",
      "example": "Brown v. Board of Education"
    },
    "document_type": {
      "type": "string",
      "description": "Type of legal document.",
      "enum": ["case_law", "statute", "regulation", "secondary_source", "contract"]
    },
    "jurisdiction": {
      "type": "string",
      "description": "Jurisdiction code (ISO 3166-1 or regional).",
      "example": "US"
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Publication or decision date."
    },
    "language": {
      "type": "string",
      "description": "BCP-47 language code.",
      "example": "en"
    },
    "full_text": {
      "type": "string",
      "description": "Full text of the legal document."
    },
    "metadata": {
      "type": "object",
      "description": "Additional metadata: court name, parties, docket number, etc.",
      "additionalProperties": true
    },
    "citations": {
      "type": "array",
      "description": "Legal citations found within or referencing this document.",
      "items": {
        "$ref": "#/$defs/Citation"
      }
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Link to the document on vlex.com."
    }
  },
  "$defs": {
    "Citation": {
      "type": "object",
      "description": "A legal citation reference.",
      "properties": {
        "raw_text": {
          "type": "string",
          "example": "347 U.S. 483 (1954)"
        },
        "document_id": {
          "type": "string"
        },
        "citation_type": {
          "type": "string",
          "enum": ["case", "statute", "regulation", "secondary"]
        },
        "jurisdiction": {
          "type": "string"
        },
        "year": {
          "type": "integer"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}

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/vlex-legal-document"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.