# Arieta Data Legal Corpus

> Arieta Data Legal Corpus is article-level text and metadata for EU legislation, CJEU case law and national law from European jurisdictions, one record per document and language at its latest version, with licence and attribution on every row.

URL: https://data.arietalabs.com/datasets/corpus/
Croissant: https://data.arietalabs.com/datasets/corpus/croissant.json
Datasheet: https://data.arietalabs.com/datasets/corpus/datasheet/
Free sample: https://data.arietalabs.com/samples/corpus.jsonl.gz

- Records: 419,355 documents as of the November 2026 snapshot
- Unit: one record per document and language (latest version)
- Formats: Apache Parquet (zstd-compressed, sharded at about 512 MB, one directory per SKU and lane); JSON Lines (gzip) (jsonl.gz, same records and field names as Parquet)
- Updates: monthly delta snapshots with upserts and tombstones
- Use cases: Retrieval-augmented generation over EU and national law; Supervised fine-tuning and continued pre-training; Article-level chunking without re-parsing HTML

## Schema

| Field | Type | Nullable | Description |
| --- | --- | --- | --- |
| id | string | no | Stable record id: the CELEX number for EU documents, the lane id (e.g. CZ-SB-2012-89) for national ones. |
| celex | string | no | CELEX number (EU) or national id; same as id for national documents. |
| language | string | no | ISO 639-1 language code of this rendering. |
| kind | string | no | legislation, caseLaw or other. |
| title | string | no | Full official title. |
| documentType | string | yes | Upstream document type (Regulation, Directive, Judgment, Zákon, …). |
| author | string | yes | Issuing institution or court. |
| dateOfDocument | date | yes | Date of the document (adoption or decision). |
| dateOfEffect | date | yes | Date of entry into force or effect, where known. |
| dateOfPublication | date | yes | Date of publication in the official journal or gazette. |
| ecli | string | yes | European Case Law Identifier, where assigned. |
| eli | string | yes | European Legislation Identifier URI, where assigned. |
| subjects | list<string> | no | Subject descriptors (EuroVoc for EU documents where available). |
| keywords | list<string> | no | Keywords from the upstream record. |
| recitals | list<string> | no | Recitals, one string each, in order. |
| articles | list<struct> | no | Articles (or sections, paragraphs, grounds) in document order. |
| articles.id | string | no | Article id within the document (e.g. art_5). |
| articles.number | string | no | Article number as printed. |
| articles.title | string | yes | Article heading. |
| articles.text | string | no | Article text, normalised whitespace, no HTML. |
| articles.repealed | boolean | no | True when the source marks the article as repealed (schema 1.2.0). Filter on it to keep in-force articles only. |
| jurisdiction | string | no | Lane code: EU or an ISO 3166-1 alpha-2 country code (UK for the United Kingdom). |
| version | int64 | no | Content version of the document as observed by the pipeline; increments when the parsed text changes. |
| contentHash | string | no | SHA-256 of the normalised parsed text of this version. |
| source | struct | no | Upstream provenance of the record. |
| source.name | string | no | Upstream publisher or portal. |
| source.url | string | no | Canonical upstream URL. |
| source.licence | string | no | Upstream licence name. |
| source.licenceUrl | string | no | Upstream licence URL. |
| source.attribution | string | no | Attribution text to pass through. |
| snapshotId | string | no | Snapshot the record belongs to, YYYY-MM. |
