Sources/FR/LEGI

From Dura Lex Wiki
Revision as of 01:49, 23 April 2026 by Nicolas (talk | contribs) (Source doc: legi — FR consolidated legislation (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

French consolidated legislation from the DILA open data platform. The primary source for codes, laws, decrees, ordinances. Every article is versioned with enforcement status and temporal validity. Linked to jorf (original gazette publication) via source_text edges.

Status: active

Source

[edit | edit source]
Key Kind Origin Auth Update
legi legislation (+ section) DILA open data dump — echanges.dila.gouv.fr/OPENDATA/LEGI/ none incremental (tar.gz archives)

ID format: fr.{raw_id.lower()} (e.g. fr.legiarti000006900168)

Coverage: 1539–present (includes forward entry-into-force dates)

Classification

[edit | edit source]
Tag Values When
type statute always
nature raw (e.g. CODE, LOI, DECRET, ORDONNANCE)
code code name when nature = CODE
number, nor act identifiers

Enforcement

[edit | edit source]
enforcement_status in_force DILA code
in_force true VIGUEUR, VIGUEUR_ETEN, VIGUEUR_NON_ETEN
deferred_enforcement true VIGUEUR_DIFF
deferred_repeal false ABROGE_DIFF
repealed false ABROGE
superseded false MODIFIE, REMPLACE
never_in_force false MODIFIE_MORT_NE
expired false PERIME
annulled false ANNULE
transferred false TRANSFERE, DEPLACE
denounced false DENONCE
disjoined false DISJOINT

Structure

[edit | edit source]
Tag Notes
article_number article number within the text
section_path breadcrumb through TM hierarchy
text_id canonical text ID (e.g. fr.legitext000006069577)
nota legislative notes (NOTA/CONTENU)

Temporal validity via date (entry into force) and date_end (end of validity). Sentinel 2999-01-01 stripped to null.

Edges

[edit | edit source]
kind Direction Trigger
various (amends, repeals, cites...) article → article LIENS elements with sens="cible", normalized via normalize_link_type()
source_text LEGITEXT → JORFTEXT META_TEXTE_CHRONICLE/CID starts with "JORFTEXT"
[edit | edit source]
Source Relationship
jorf Same texts, different view. LEGI = consolidated + versioned. JORF = original gazette with visas and ministère. Linked by source_text edges.

Limitations

[edit | edit source]
  • ~4% of JORF texts have no LEGI counterpart
  • No per-article grading — importance derived from text nature and code membership
  • Consolidation lag: recent amendments may take days to appear