Lex (URN)
Lex is a URN namespace, a type of Uniform Resource Name (URN), that allows accurate identification of laws and other legal norms.
LexML Brazil and Italy (Civil law countries) officially recognize the URN LEX standard draft. Brazil using LEX URNs since 2009, as a namespace for sources of law.[1][2][3]
The urn:lex was included in the official IANA list[4] of "Formal URN Namespaces" in 2022, with its template, as required by the IANA process.[5]
Lex became finalized as informational RFC 9676 with the IETF in May 2025[6]
Syntax
The URN syntax[7] of the LEX identifier has a hierarchical structure as follows:[8]
"urn:lex:"<NSS>
where NSS is the Namespace Specific String composed as follows:
<NSS>::=<jurisdiction>":"<local-name>
where:
- <jurisdiction> is the part providing the identification of the jurisdiction, generally corresponding to the country where the source of law is issued.
- <local-name> is the uniform name of the source of law in the country or jurisdiction where it is issued; its internal structure is common to the already adopted schemas.
Illustrative examples of sources of law identified by lex URNs:
urn:lex:it:stato:legge:2003-09-21;456 (Italian act) urn:lex:fr:etat:lois:2004-12-06;321 (French act) urn:lex:es:estado:ley:2002-07-12;123 (Spanish act) urn:lex:ch:glarus:regiere:erlass:2007-10-15;963 (Glarus Swiss Canton decree) urn:lex:eu:council:directive:2010-03-09;2010-19-UE (EU Council Directive) urn:lex:us:federal.supreme.court:decision:1963-03-18;372.us.335 (US FSC decision)
Concrete examples
Real URN LEX resolver at Brazil, the country where URN LEX was adopted since 2009, with the LexML.gov.br portal:
- urn:lex:br:federal:lei:2008-06-19;11705: Law nº 11.705, of June 19, 2008, known also as "Brazilian Prohibition".
Transparent identifiers
URNs are used as unique identifiers (unique IDs), like using ISBN to identify books. The URN is also nominated as a "public (unique) ID". In that kind of public use, the need for a central authority las a unique and necessary URN-resolver[9] is a problem. In that context, the identifier's user must query the authority about the correct ID from some object's metadata, like year or title. IDs like ISBN, which need a central authority, are also named "opaque IDs".
A common use of Lex URNs is to express "transparent identifiers", which can be built up by simple rules or inferences from basic metadata. For example, the Brazilian Lex URN is used for both legislative and case law unique and universal identifier, using rules of formatting and abbreviation of the authority's name, the publication date, and the local identifier in the title of the document.
In computer science, an identifier is a data type. An opaque data type is a data type whose concrete data structure is not defined in an interface. In opposition, a data type whose representation is visible is called transparent.
URN schemes where each URN is also a transparent identifier can be used in distributed (non-central) URN-resolution systems. The URNs can be created in the absence of these systems, even before recording in these systems.
See also
References
- ^ "LexML Brasil, Parte 2 – LexML URN", https://projeto.lexml.gov.br/documentacao/Parte-2-LexML-URN.pdf
- ^ "What are persistent names and references?", https://projeto.lexml.gov.br/documentacao/destaques-lexml#nomes-persistentes
- ^ "LexML Brasil: Rede de Informação Legislativa e Jurídica". www.lexml.gov.br. Retrieved 2025-09-06.
- ^ "Uniform Resource Names (URN) Namespaces", IANA. https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml
- ^ Gulik, Dirk-Willem van; Fältström, Patrik; Daigle, Leslie; Iannella, Renato (20 May 2025). "Uniform Resource Names (URN) Namespace Definition Mechanisms".
- ^ Spinosa, PierLuigi. "RFC 9676 - LEX: A Uniform Resource Name (URN) Namespace for Sources of Law". IETF Datatracker. IETF. Retrieved 14 January 2026.
- ^ Moats, Ryan (20 May 2025). "RFC 2141 - URN Syntax".
- ^ Spinosa, Pierluigi; Francesconi, Enrico; Lupo, Caterina (27 April 2021). "A Uniform Resource Name (URN) Namespace for Sources of Law (LEX)".
- ^ "A Trivial Convention for using HTTP in URN Resolution", https://datatracker.ietf.org/doc/html/rfc2169
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.