RFC 9676 | LEX: URN Namespace for Sources of Law | May 2025 |
Spinosa, et al. | Informational | [Page] |
This document describes LEX, a Uniform Resource Name (URN) namespace identifier that identifies, names, assigns, and manages persistent resources in the legal domain. This specification allows adoption of a commonconvention by multiple jurisdictions to facilitate ease of reference andaccess to resources in the legal domain.¶
This specification is an IndependentSubmission to the RFC Series. It is not a standard and does not have theconsensus of the IETF.¶
This document is not an Internet Standards Track specification; it is published for informational purposes.¶
This is a contribution to the RFC Series, independently of any other RFC stream. The RFC Editor has chosen to publish this document at its discretion and makes no statement about its value for implementation or deployment. Documents approved for publication by the RFC Editor are not candidates for any level of Internet Standard; see Section 2 of RFC 7841.¶
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained athttps://www.rfc-editor.org/info/rfc9676.¶
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document.¶
The purpose of the LEX namespace is to assign a unique identifier in a well-defined format to documents that are sources of law. In this context, "sources of law" include any legal document within the domainof legislation, case law, administrative acts, or regulations. Potentialsources of law (acts under the process of law formation, such as bills) areincluded as well. "Legal doctrine", that is, the body of knowledge andtheoretical speculation typical of legal scholars (e.g., commentary onjudgment, jurisprudence review, commentary on legislation, encyclopedicentries, monographs, articles in magazines, manuals, etc.) is explicitly notcovered.¶
The identifier is conceived so that its construction depends only onthe content of the document itself and not its online availability, physical location, and access mode. The identifier itself is assignedby the jurisdiction of the identified document. A document thatis not available online may, nevertheless, have a LEX URN identifier.¶
The LEX URN may be used as a way to represent references (andmore generally, any type of relation) among various sources of law.In an online environment with resources distributed among differentweb publishers, LEX URNsallow a simplified global interconnection of legal documents by meansof automated resolution. LEX URNs consist of persistent and location-independent identifiers and are particularlyuseful when they can be mapped into or associated with locators suchas HTTP URLs. Moreover, LEX URN details can be used as a referenceto create persistent and location-independent identifiers that are HTTP-based[RFC3986].¶
This specification of a unique identifier for legal documentsfollows a number of initiatives in the field of legal documentmanagement.¶
Since 2001, the Italian Government promoted the NormeInRete project through the National Center for Information Technology in the Public Administration, the Ministry of Justice, and the National Research Council of Italy (CNR). The NormeInRete project was aimed at introducing standards for describing and identifying sources of law using XML and URN techniques.¶
Other national initiatives in Europe introduced standards for thedescription of legal sources[FRAN]. Collaborationsbetween government, national research institutes, anduniversities have defined national XML standards for legal documentmanagement, as well as schemes for legal document identification.Outside of Europe, similar initiatives have addressed similar problems[FRAN]. Several of these identifiers are based on a URN schema.¶
In today's information society, the processes of political, social, and economic integration of European Union (EU) Member States, as well as the increasing integration of the worldwide legal and economic processes, are causing a growing interest in the exchange of legal information at national and transnational levels.The growing desire for improved quality and accessibility of legalinformation amplifies the need for interoperability among legalinformation systems across national boundaries. A common, well-definedschema used to identify sources of law at an international level is anessential prerequisite for interoperability.¶
Interest groups within several countries have already expressed their intention to adopt a shared solution based on a URN technique. In several conferences (such as[LVI]), representatives of the Publications Office of the European Union (OP) have expressed the need for a unique identifier for sources of law, based on open standards and able to provide advanced modalities of document hyperlinking, with the aim of promoting interoperability among national and European institution information systems.Similar concerns have been raised by international groups concerned with free access to legal information, and the Permanent Bureau of the Hague Conference on Private International Law[HCPIL] encourages State Parties to "adopt neutral methods of citation of their legal materials, including methods that are medium-neutral, provider-neutral and internationally consistent". In a similar direction, the CEN Metalex initiative is moving, at the European level, towards the definition of a standard interchange format for sources of law, including recommendations for defining naming conventions for them.¶
Additionally, the need for unique identifiers for sources of law is ofparticular interest in the domain of case law. This need is acutely felt within both common law systems (where cases are the main law sources) and civil law systems, because unique identifiers can provide integrated access to cases and legislation, as well as the ability to track the relationships between them. This domain is characterizedby a high degree of fragmentation in case law information systems,which usually lack interoperability.¶
In the European Union, the community institutions have stressed theneed for citizens, businesses, lawyers, prosecutors, and judges tobecome more aware of (directly applicable) EU laws and alsothe various national legal systems. The growing importance ofnational judiciaries for the application of community law wasstressed in the resolution of the European Parliament of 9 July 2008on the role of the national judge in the European judicial system.Similarly, the Council of the European Union has underlined the importance of cross-border access to national case law, as well as the need for its standardization, with a vision of a decentralized architecture with integrated access. The Working Party on Legal Data Processing (e-Law) of the Council of the European Union formed a task group to study the possibilities for improving cross-border access to national case law. Taking notice of the report of theWorking Party's task group, in 2009, the Council of the European Union decided toelaborate on a uniform European system for the identification ofcase law (i.e., the European Case-Law Identifier (ECLI)) and a uniform set of metadata based on the Dublin Core.¶
The Council of the European Union invited the Member States to introduce the European Legislation Identifier (ELI) in the legal information systems, which is an HTTP-based, Semantic Web-oriented identification system for legislation of the European Union and Member States.¶
The LEX identifier (also referred to in this text as "LEX name") isconceived to be general enough to provide guidance at the coreof the standard and offer sufficient flexibility to cover a wide variety ofneeds for identifying legal documents of different types,namely, legislative, case law, and administrative acts. Moreover, itcan be effectively used within a federative environment wheredifferent publishers (public and private) can provide their own items, in[FRBR] sense (seeSection 5.2),of a legal document (that is, there is more than one manifestation (seeSection 5.2) of the same legal document).¶
Specifications and syntax rules for the LEX identifier can also be usedfor HTTP-based naming conventions to cope withdifferent requirements in legal information management, for example,the need to have an identifier that is compliant with the Linked Open Dataprinciples.¶
This document supplements the required name syntax with a namingconvention that interprets all these recommendations into an originalsolution for sources of law identification.¶
The specifications in this document promote interoperabilityamong legal information systems by defining a namespaceconvention and structure that will create and manage identifiers forlegal documents. The identifiers are intended to have the following qualities:¶
These qualities facilitate management of legal documents anda mechanism for stable cross-collection and cross-countryreferences.¶
Transparency means that, for a given act and its relevant metadata(issuing authority, type of measure, etc.), it is possible to createa related URN that is able touniquely identify the act in a way that is reversible(from an act to its URN and from aURN to the act).¶
Language neutrality, in particular, is an important feature thatpromotes adoption of the standard by organizations that must adhere toofficial language requirements. This specification providesguidance to both public and private groups that create, promulgate,and publish legal documents. Registrants wish to minimize thepotential for creating conflicting proprietary schemes, whilepreserving sufficient flexibility to allow for diverse document typesand to respect the need for local control of collections by anequally diverse assortment of administrative entities.¶
The challenge is to provide the right amount guidance at thecore of the specification while providing sufficient flexibility tocover a wide variety of needs. LEX does this bysplitting the identifier into parts. The first part uses apreexisting standard specification ("country/jurisdiction namestandard") to indicate the country (or more generally, thejurisdiction) of origin for the legal document being identified; theremainder ("local-name") is intended for local use in identifyingdocuments issued in that country or jurisdiction.¶
The second part depends only on the identification system for sources of law operating in that nation, and it is mainly composed by formalized information related to the enacting authority, the type of measure, the details, and possibly the annex.¶
The identification system based on uniform names includes:¶
A schema for assigning names capable of unambiguously representing any addressed source of law (namely legislation, case law, and administrative acts) issued by any authority (intergovernmental, supranational, national, regional, and local) at any time (past, present, and future).¶
A resolution mechanism -- in a distributed environment -- that ties auniform name to the online location of the correspondingresource(s).¶
This document considers the first of these requirements. It alsocontains a few references to the architecture of the resolutionservice and to the corresponding software.¶
The LEX name is linked to the document through metadata, whichmay be specified as follows:¶
Within the document itself through a specific element withinan XML schema or by a meta tag[W3C.HTML].¶
Externally by means of a Resource Description Framework[W3C.RDF-SCHEMA]triple, a specific attribute in a database, etc.¶
At least one of these references is necessary to enable automatedconstruction, an update of catalogues (distributed and centralized),and the implementation of resolvers that associate the uniform nameof a document with its physical location. LEX assumes noparticular relationship between the originator of the document, itspublisher, the implementer of catalogues, or resolution services.¶
LEX names can be used in references as an HREF attribute value of thehypertext link to the referred document.This link can be created in two ways:¶
Manually inserting the link with the uniform name in the referring document. This is a burdensome procedure, especially fordocuments that are already online.¶
Automatically constructing (either permanently or temporarily)the link with the uniform name from references in the text usinga parser. This procedure offers more time savings, even if it is subject to acertain percentage of errors, since references are not alwaysaccurate or complete. This solution could nevertheless beacceptable for documents that are already published.¶
No matter which method is adopted, new documents producedin a certain format (for example, XML, XHTML, etc.) should express references through the uniform nameof the document referred to.¶
The following terms are used in this document:¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14[RFC2119][RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document uses a syntax that is based on the Augmented Backus-Naur Form (ABNF)[RFC5234] meta-language, which is used in many RFCs.¶
The LEX namespace has been registered in the "Formal URNNamespaces" registry. SeeSection 12.¶
The identifier has the following hierarchical structure:¶
"urn:lex:" NSS¶
where NSS is the Namespace Specific String composed as follows:¶
NSS = jurisdiction ":" local-name¶
where:¶
The jurisdiction element is composed of two specific fields:¶
jurisdiction = jurisdiction-code *(";" jurisdiction-unit)¶
where:¶
Usually the identification code of the country where the source of law is issued. To facilitate the transparency of the name, the jurisdiction-code usually follows the rules of identification of other Internet applications, based on domain name (for details and special cases, seeSection 2.2).¶
Due to the differences in representation in the various languages of a country, the use of the standard[ISO.3166-1] is stronglyRECOMMENDED for easier identification of the country. Therefore, a LEX URN ID always begins with a sequence of ASCII characters: "urn:lex:ccTLD". For all the other components that follow the jurisdiction-code, the Jurisdictional Registrar decides the mode of representation (ASCII or UTF-8 percent-encoding; seeSection 3.4).¶
Where applicable, the domain name of the country or multinational orinternational organization is used. If such information is not available fora particular institution, a specific code will be defined (seeSection 2.2). Examples reported in this document arehypothetical and assume that the corresponding domain name is used for thejurisdiction-code.¶
The possible administrative hierarchicalsub-structures defined by each country or organization within theirspecific legal system. This additional information can be used when two or more levels of legislative or judicial production exist(e.g., federal, state, and municipality level) and the same bodies maybe present in each jurisdiction. Therefore, the jurisdiction-unit differs for acts of the same type issued by similar authorities but pertain to different jurisdictions related to different geographical areas. An example can be the following:¶
The following are fictitious examples of sources of law identifiers:¶
urn:lex:it:stato:legge:2003-09-21;456 (Italian act)urn:lex:fr:etat:loi: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:commission:directive:2010-03-09;2010-19-EU (EU Commission Directive)urn:lex:us:supreme.court:decision:1978-04-28;77-5953 (US SC decision: Riley vs Illinois)urn:lex:be:conseil.etat:decision:2008-07-09;185.273 (Decision of the Belgian Council of State)¶
A new jurisdiction-code registry has been created. Note that this is a CNR registry andnot an IANA registry.¶
Each entry contains the following elements:¶
The table, available at the address lex-urn.nic.it, is initially empty. The registry is initially empty. The following are possible example entries:¶
"br"; "Brazil"; "Prodasen, Federal Senate, address, contact"; \[reference\]"eu"; "European Union"; "DG Digit, European Commission, address, contact"; \[reference\]"un.org"; "United Nations"; "DPI, United Nations, address, contact"; \[reference\]¶
CNR is responsible for thejurisdiction-code and the root lex-nameserver.nic.it registries of the resolutionrouting.¶
A new Jurisdictional Registrar will contact CNR or the designatedexpert(s) according to the established rules of governance (publishedon the CNR website dedicated to LEX governance). The applicationwill be evaluated according to the Jurisdictional Registrarauthoritativeness and the offered guarantees. The designatedexpert(s) will evaluate such applications with a similar approach asevaluations of the DNS. Typically, such applications should come from publicadministrations, as authorities enacting sources of law.¶
The adopted registration policy is similar to that of the "Expert Review"policy specified in[RFC8126]. The designated expert(s) will assignjurisdiction-codes based on the following principles:¶
If a request comes from a jurisdiction that corresponds to acountry and the jurisdiction-code is the same as a top-level Country Code Top-Level Domain (ccTLD),then the top-level ccTLD should beused as the jurisdiction-code.¶
If a request comes from a jurisdiction that corresponds to a multi-national organization (e.g., European Union) or international organization (e.g., United Nations and World Trade Organization), the Top-Level Domain Name (e.g., "eu") or the Domain Name (e.g., "un.org" and "wto.org") of the organization should be used as the jurisdiction-code.¶
If a multi-national or international organization doesnot have a registered domain, the designated expert(s) should assignsomething like "name.lex.arpa", where the name will be the acronym of the organization name in the language chosen by the organization itself.For example, the jurisdiction-code of the European Economic Communitycould be "eec.lex.arpa". The alias mechanism allows for acronyms in different languages.¶
Jurisdiction-codesMUST NOT be renamed, because thatwould violate the rule that URN assignments be persistent.¶
Jurisdiction-codesMUST NOT ever be deleted. They can only be marked as"obsolete", i.e., closed for new assignments within the jurisdiction.Requests to obsolete a jurisdiction-code are also processed bythe designated expert(s).¶
Designated expert(s) can unilaterally initiate allocation orobsolescence of a jurisdiction-code.¶
Requests for new jurisdiction-code assignments must includethe organization or country requesting it and contact information (email)of who requested the assignment.¶
The LEX namespace identifier (NID) syntax conforms to[RFC8141]. However, a series of characters are reserved for identifyingelements or sub-elements, or for future extensions of the LEX namingconvention (seeSection 3.2).¶
The Jurisdictional Registrar (or those it delegates) of each adheringcountry or organization is responsible for the definition oracceptance of the uniform name's primary elements (issuing authorityand type of legal measure).¶
The scope is global. In fact, each Body that enacts sources of law can identify them by this scheme. Furthermore, other bodies (even non-enacting sources of law, such as newspapers, magazine publishers, etc.) that aim to reference legal documents can unequivocally identify them by this scheme.¶
This section lists the general features applicable to alljurisdictions.¶
The characters are defined in accordance with[RFC8141]. For various reasons that are explained later, only a subset of characters isallowed in the LEX NSS. All other characters are either eliminated or converted.¶
For the full syntax of the uniform names in the LEX space, pleaseseeSection 8.¶
The following characters are reserved in the specific LEXnamespace:¶
To keep backward compatibility with existing applications in somejurisdictions, the LEX NID syntax does not include the use of thecharacter "/" in this version. This character is always converted into"-", except in the formal annexes (seeSection 6.4.1).¶
For all the languages where different cases (uppercase or lowercase) or different spellings of the same word are possible, names belonging to LEX namespace are case-insensitive. For the Latin alphabet, it isRECOMMENDED that names be created in lower case, but names that differ only in case or in the spelling of the same wordMUST be considered equivalent (e.g., "Ministry" will be recorded as "ministry").¶
In order to exploit the DNS as a routing tool towards the properresolution system, keep editing and communication more simple, and avoid character percent-encoding, it isRECOMMENDED that characters outside the ASCII range (e.g., national characters, diacritic signs, etc.) are turned into base ASCIIcharacters (e.g., the Italian term "sanità" (sanitU+00E0)" replaced into"sanita", the French term "ministère" (ministU+00E8re) replaced into"ministere", in case by transliteration (e.g., "München" (MU+00FCnchen)replaced into "muenchen").¶
This mapping consists of:¶
Transcription from non-Latin alphabets¶
Transliteration of some signs (e.g., diaeresis and eszett)¶
Preservation of only the basic characters, eliminating the signsplaced above (e.g., accents and tilde), below (e.g., cedilla and little tail), or on (e.g., oblique cut)¶
The most suitable, well-known, and widespread mapping system for a givenlanguageMUST be chosen by the jurisdiction or by thejurisdiction-unit (in agreement with the jurisdiction) in the case ofdifferent languages in various regions, also taking into account the choicesmade for the same language by other jurisdictions. This mapping is simplerand more feasible for languages that use the Latin alphabet and graduallybecomes more complex for other alphabets and for writing systems that useopposite orientation (from right to left) or are based on ideographicsymbols.¶
If this conversion is not acceptable by a specific jurisdiction or it is not available in a given language, UnicodeMUST be used, and for accessing network protocols, any Unicode code points outside the ASCII rangeMUST be converted to UTF-8 percent-encoding according to[RFC3986] and[RFC3629] .¶
In this case, it should be noted that the generated URN (as well as some of its parts) cannot be used directly for routing through the DNS. Therefore, the jurisdiction must adopt one of the following strategies:¶
Convert non-ASCII characters within the DNS into IDNencoding using Punycode translation[RFC5894] (e.g.,"münchen" (mU+00FCnchen) in xn--mnchen-3ya) and develop asoftware interface that converts the URN before the navigation in the DNS.¶
Create a routing service relying on a software, outside of the DNS,that addresses a proper resolution service.¶
Note that the LEX URN ID could contain groups of characters (UTF-8 percent-encoded) of some languages with different orientations. In this case, the BiDi rules apply[RFC5893].¶
The preferred order is summarized as follows:¶
Conversion into basic ASCII is theRECOMMENDED solution (because conversions for network protocols and the DNS are not needed).¶
Using Unicode and converting to UTF-8 percent-encoding[RFC3629] for accessing network protocols and to Punycode[RFC5894] only for navigation in DNS via software interface.¶
Creation of a routing service relying on a software outside of DNSand addressing a proper resolution service.¶
The first solution allows native DNS routing while the other twosolutions require software development for the interface or the routing.However, it is up to the specific jurisdiction to choose the preferredsolution.¶
The following are two examples (Latin and Cyrillic alphabets) relating to the differentsolutions adopted:¶
A circular adopted by the Municipality of Munich (Rundschreiben derStadt "München" (MU+00FCnchen)):¶
- ASCII: urn:lex:de:stadt.munchen:rundschreiben:...;- Unicode: urn:lex:de:stadt.mU+00FCnchen:rundschreiben:...;- UTF-8: urn:lex:de:stadt.m%C3%BCnchen:rundschreiben:...;- PUNYCODE: urn:lex:de:stadt.xn--mnchen-3ya:rundschreiben:...¶
A state law of the Russian Federation (Latin: gosudarstvo zakon;Cyrillic: "состояние закон" (U+0441U+043EU+0441U+0442U+043EU+044FU+043DU+0438U+0435U+0437U+0430U+043AU+043EU+043D)), assuming that the Russia jurisdiction-code is expressed in ASCII ("ru")(while the Cyrillic version would be "рф" (U+0440U+0444)):¶
- ASCII: urn:lex:ru:gosudarstvo:zakon:...- Unicode: urn:lex:ru:U+0441U+043EU+0441U+0442U+043EU+044FU+043D U+0438U+0435:U+0437U+0430U+043AU+043EU+043D:...- UTF-8: urn:lex:ru:%D1%81%D0%BE%D1%81%D1%82%D0%BE%D1 %8F%D0%BD%D0%B8%D0%B5:%D0%B7%D0%B0%D0%BA %D0%BE%D0%BD:...- PUNYCODE: urn:lex:ru:xn--80aebe3cdmfdkg:xn--80ankme:...¶
Abbreviations are often used in law for indicating institutions (e.g.,Min.), structures (e.g., Dept.), or legal measures (e.g., Reg.), but they are notused in a uniform way. Therefore, their expansion is highlyRECOMMENDED(e.g., "Min." is expanded as "ministry").¶
[ISO.8601-1.2019] and[ISO.8601-2.2019] describe the international format for representing dates. DatesMUST always be represented in this format (4 digits for the year, 2 digits for the month, and 2 digits for the day):¶
date-iso = year "-" month "-" day¶
For example, "September 2, 99" will be written as "1999-09-02".¶
This format ensures interoperability between different representation systems and there are several programs for mapping other formats to this one. However, to make reading and understanding such other formats (e.g., Jewish calendar), the LEX URN scheme provides that the date can be added in the jurisdiction's own format. The date in the previous example (1999-09-02) would be as follows:¶
in Hebrew characters (21 Elul 5759):¶
כ״א-בֶּאֱלוּל-תשנ״ט¶
Note that the example above uses right-to-left (RTL) script, which in the context of this specification may be displayed differently by different document presentation environments. The descriptive text may be more reliable to follow than the necessarily device- and application-specific rendering.¶
in U+ notation:¶
U+05D8U+05F4U+05E0U+05E9U+05EAU+002DU+05DCU+05D5U+05BCU+05DCU+05D0U+05B1U+05D1U+05B6U+05BCU+002DU+05D0U+05F4U+05DB¶
in UTF-8 code:¶
%d7%98%d7%b4%d7%a0%d7%a9%d7%aa-%d7%9c%d7%95%d6%bc%d7%9c%d7%90%d6%b1%d7%91%d6%b6%d6%bc-%d7%90%d7%b4%d7%9b¶
Therefore, for all the dates in the LEX URN identifier (see Sections6.3 and7.1.2),it is possible to indicate the date in the local format:¶
date = date-iso ["|" date-loc]¶
For example, 1999-09-02 will be written in
ISO plus Hebrew format as:1999-09-02|כ״א-בֶּאֱלוּל-תשנ״ט
which is to be converted into UTF-8 for network protocols and for resolution (seeSection 3.4). The characters that are not allowed (e.g., "/") or reserved (e.g., ",") cannot exist inside the date-loc and thereforeMUST be turned into ".". To be aligned with ISO format, any blank between day, month, and yearMUST be converted into "-".¶
In the above Hebrew character examples, the sequence of characters
is"כ" (HEBREW LETTER KAF, U+05DB),"״" (HEBREW PUNCTUATION GERSHAYIM, U+05F4),"א" (HEBREW LETTER ALEF, U+05D0),"-" (HYPHEN-MINUS, U+002D),"בֶּ" (HEBREW LETTER BET, HEBREW POINT SEGOL, HEBREW POINT DAGESH OR MAPIQ, U+05D1 U+05B6 U+05BC),"אֱ" (HEBREW LETTER ALEF, HEBREW POINT HATAF SEGOL, U+05D0 U+05B1),"ל" (HEBREW LETTER LAMED, U+05DC),"וּ" (HEBREW LETTER VAV, HEBREW POINT DAGESH OR MAPIQ, U+05D5 U+05BC),"ל" (HEBREW LETTER LAMED, U+05DC),"-" (HYPHEN-MINUS, U+002D),"ת" (HEBREW LETTER TAV, U+05EA),"ש" (HEBREW LETTER SHIN, U+05E9),"נ" (HEBREW LETTER NUN, U+05E0),"״" (HEBREW PUNCTUATION GERSHAYIM, U+05F4), and"ט" (HEBREW LETTER TET, U+05D8).¶
This section discusses features related to specific jurisdictions. The implementation of these features isRECOMMENDED.¶
When explicitly present, all language connectives (e.g., articles, prepositions, etc.), punctuation marks, and special characters (e.g., apostrophes, dashes, etc.) are eliminated (no transformation occurs in cases of languages with declensions or agglutinating languages). The words that are left are connected to each other by a dot ("."), which substitutes for the space (e.g., "Ministry of Finances, Budget, and Economic Planning" becomes "ministry.finances.budget.economic.planning" and "Ministerstvo Finansov" becomes "ministerstvo.finansov").¶
The use of acronyms might be confusing and encourage ambiguity inuniform names (the same acronym may indicate two differentinstitutions or structures); therefore, their expansion is highlyRECOMMENDED(e.g., "FAO" is expanded as "food.agriculture.organization").¶
To standardise the representation, it is highlyRECOMMENDED that any ordinalnumber included in a component of a document name (e.g., in thedescription of an institution Body) is indicated in Western Arabicnumerals, regardless to the original expression, whether Romannumerals, an adjective, Arabic numerals with an apex, etc.(such as IV, third, 1° (1U+00B0), and 2^). For example, "Department IV" becomes "department.4".¶
The uniform name must identify one and only one document (moreprecisely a "bibliographic resource"[ISBD]; see alsoSection 5.2)and is created in such a way that it is:¶
According to the Functional Requirements for Bibliographic Records (FRBR)[FRBR] model developed by IFLA (International Federation of Library Associations and Institutions), four fundamental entities (or aspects) can be specified in a source of law, as in any intellectual production.¶
The first two entities reflect its contents:¶
The other two entities relate to its form:¶
In this document, the[FRBR] model has been interpreted for thespecific characteristics of the legal domain. In particular, apartfrom the language that does produce a specific expression, thediscriminative criterion between expression and manifestation isbased on the difference of the juridical effects that a variation canprovide with respect to the involved actors (citizens, parties,and institutions). In this scenario, the main characteristic of theexpression of an act is represented by its validity over the timeduring which it provides the same juridical effects. These effects maychange as a result of amendments or annulments of other legislative orjurisprudential acts. Therefore, notes, summaries, comments,anonymizations, and other editorial activities over the same text donot produce different expressions. Instead, they produce different manifestations.¶
The local-name within the LEX namespaceMUST contain all thenecessary pieces of information enabling the unequivocalidentification of a legal document. If the local-name violatesthis requirement, the related URN is not a valid one within the LEXnamespace.¶
In the legal domain, three components are alwayspresent at the "work" level: the enacting authority, the measure type, and thedetails. A fourth component, the annex, is added if any.It is often necessary to differentiate various expressions, that is:¶
the original version and all the amended versions of the samedocument, and¶
the versions of the text expressed in the different officiallanguages of the state or organization.¶
Finally, the uniform name allows a distinction among diversemanifestations that may be produced by multiple publishers usingdifferent means and formats.¶
In every case, the basic identifier of the source of law (work)remains the same, but information is added regarding the specificversion under consideration (expression). Similarly, a suffix is addedto the expression for representing the characteristics of thepublication (manifestation).¶
Information that forms a uniform name for a source of law at each level(work, expression, and manifestation) is expressed in the officiallanguage of the relevant jurisdiction. More language-dependent names (aliases) are created in cases where there are multiple official languages (as in Switzerland) or more involved jurisdictions (as in international treaties).¶
Therefore, the more general structure of the local-name appears asfollows:¶
local-name = work ["@" expression] ["$" manifestation]¶
However, consistent with legislative practice, the uniform name ofthe main original provision (work) becomes the identifier of anentire class of documents that includes the following: the original main document,the annexes, and all the versions, languages, and formatsthat are subsequently generated.¶
The structure of the document identifier is comprised of the fourfundamental elements mentioned above, distinguished one fromthe other and ordered by increasingly narrowdomains and competencies:¶
work = authority ":" measure ":" details *(":" annex)¶
where:¶
Both the main document and its annexes have theirown uniform names so that they can be referenced individually; theidentifier of the annex adds a suffix to that of the main document. In a similar way, the identifier of an annex of an annex adds an ending to that of the annex that it is attached to.¶
The main elements of the work name are generally divided into severalelementary components, and for each component, specific rules ofrepresentation are established (criteria, modalities, syntax, andorder).For the details regarding each element, seeSection 6.The following are hypothetical examples of work identifiers:¶
urn:lex:it:stato:legge:2006-05-14;22urn:lex:uk:ministry.justice:decree:1999-10-07;45urn:lex:ch;glarus:regiere:erlass:2007-10-15;963urn:lex:es:tribunal.supremo:decision:2001-09-28;68urn:lex:fr:assemblee.nationale:proposition.loi:13.legislature;1762urn:lex:br:estado:constituicao:1988-10-05;lex-1urn:lex:un.org:united.nations;general.assembly:resolution: 1961-11-28;a-res-1661urn:lex:nl:hoge.raad:besluit:2008-04-01;bc8581¶
The type of measure is important to identifycase law and legislation, especially within legal systemswhere cases are traditionally identified only through the year ofrelease and a number. Since the aim of the LEX schema is toidentify specific materials, the type of measure or the full date areable to differentiate between materials belonging to aspecific case.¶
The following is an example where the type of measure or the full dateare essential for identify specific materials of a case:¶
4/59 Judgment of the EEC Court of Justice 04/04/1960, Mannesmann AG and others / ECSC High Authority¶
urn:lex:eec.lex.arpa:court.justice:judgement:1960-04-04;4-59¶
4/59 Order of the EEC Court of Justice 18/05/1960, Mannesmann AG and others / ECSC High Authority¶
urn:lex:eec.lex.arpa:court.justice:order:1960-05-18;4-59¶
International treaties involve multiple signatory jurisdictionsand are therefore represented through multiple identifiers, each of them relatedto a signatory. For example, a bilateral France andGermany treaty is identified through two URNs (aliases) belonging toeither the "fr" or "de" jurisdiction(e.g., "urn:lex:fr:etat:traite:..." and "urn:lex:de:staat:vertrag:..."since it pertains to both the French and German jurisdictions).¶
In the states or organizations that have multiple officiallanguages, a document has multiple identifiers. Each identifier is expressed ina different official language and is basically a set of equivalent aliases.This system permits manual or automated construction of the uniformname of the referred source of law in the same language used in thedocument itself(e.g., "urn:lex:eu:council:directive:2004-12-07;31" and"urn:lex:eu:consiglio:direttiva:2004-12-07;31").¶
Moreover, a document can be assigned more than one uniform name inorder to facilitate its linking from other documents. This option canbe used for documents that, although unique, are commonly referencedfrom different perspectives, for example, the form of a document'spromulgation and its specific content (e.g., a Regulation promulgated through a Decree of the President of the Republic).¶
There may be several expressions of a legal text connected tospecific versions or languages.¶
Each version is characterized by the period of time during which thattext is to be considered to be in force or effective.The lifetime of a version ends with the issuing of the subsequentversion. New versions of a text may be brought into existence by:¶
amendments due to the issuing of other legalacts and to the subsequent production of updated or consolidatedtexts,¶
correction of publication errors (rectification or errata corrige), and¶
entry into or departure from a particular time span, depending onthe specific date in which different partitions of a text come intoforce.¶
Each version may be expressed in more than one language,with each language version having its own specific identifier.The identifier of a source of law expression adds such information tothe work identifier using the following main structure:¶
expression = version [":" language]¶
where:¶
The following are hypothetical examples of document identifiers for expressions:¶
urn:lex:ch:etat:loi:2006-05-14;22@originel:fr (original version in French)urn:lex:ch:staat:gesetz:2006-05-14;22@original:de (original version in German)urn:lex:ch:etat:loi:2006-05-14;22@2008-03-12:fr (amended version in French)urn:lex:ch:staat:gesetz:2006-05-14;22@2008-03-12:de (amended version in German)urn:lex:be:conseil.etat:decision:2008-07-09;185.273@originel:fr (original version in French of a Belgian decision)¶
To identify a specific manifestation, the uniform name of theexpression is followed by a suitable suffix containing the followingmain elements:¶
Thus, the manifestation suffix reads:¶
manifestation = editor ":" format [":" component [":" feature]]¶
To indicate possible features or peculiarities, each main element ofthe manifestationMAY be followed by further specifications(separated by ";"), for example, the archive name and electronic publisherfor the editor and the version for format.Therefore, the main elements of the manifestation will assume thefollowing forms:¶
editor = publisher *(";" specification) format = mime *(";" specification) component = part *(";" specification) feature = attribute *(";" specification)¶
The syntax details of the manifestation element are shown inSection 8 in the related part.¶
The following are hypothetical examples:¶
The original version of the Italian act 3 April 2000, n. 56 might havethe following manifestations with their relative uniform names:¶
PDF format (vers. 1.7) of the whole act edited by the Italian Parliament:¶
urn:lex:it:stato:legge:2000-04-03;56$parlamento.it:application-pdf;1.7¶
XML format (version 2.2 DTD NIR) of the text of the act and PDF format(version 1.7) of the "Figura 1" (figure 1) contained in the body, edited bythe Italian Senate:¶
urn:lex:it:stato:legge:2000-04-03;56$senato.it:text-xml; dtd-nir-2.2:testourn:lex:it:stato:legge:2000-04-03;56$senato.it: application-pdf;1.7:figura.1¶
The Spanish URN of the HTML format of the whole Judgment of theEuropean Court of Justice n. 33/08 of 11/06/2009, in Spanish version,published in the Jurifast database in anonymized form:¶
urn:lex:eu:tribunal.justicia:sentencia:2009-06-11;33-08@original:es$juradmin.eu;jurifast:text-html:todo:anonimo¶
It is useful to be able to assign a uniform name to amanifestation (or to a part of it) in case non-textual objects areinvolved. These may be multimedia objects that are non-textual intheir own right (e.g., geographic maps, photographs, etc.) or textsrecorded in non-textual formats (e.g., image scans of documents).¶
References to sources of law often refer to specific partitions ofthe act (article, paragraph, etc.) and not to the entire document.¶
From a legal point of view, a partition is always a text block thatrepresents a logical subdivision of an act.¶
In the digital representation, a partition is represented by an element (a block of text) with its own ID; this ID aims to identify the related element and locate it. Therefore, it is possible to either extract or point to a partition.¶
For markup that does not fit the logical structure of the text (like HTML),generally only the starting point of the partition, rather than thewhole block of text or element, is identified through a label (e.g., <aid=partitionID></a> tag in the HTML markup language[W3C.HTML]). In this case, it is only possible to point to a partition but not extract it.¶
Partitions should be assigned unique labels orIDs within the including document, and their value should be the sameregardless of document format.¶
To enable the construction of the partition identifier between different collections of documents, specific construction rules for IDs or labels will be defined and shared within each country or jurisdiction for any document type. For example, in legislation, paragraph 2 of article 3 might have the value "art3;par2" as the label or ID; similarly, for case law, paragraph 22 of the judgment in Case 46/76 Bauhuis v Netherlands might have the value "par22" as the label or ID.¶
Furthermore, it is useful to foresee the compatibility withapplications that are able to manage this information (e.g., returning theproper element); these procedures are particularly useful in the caseof rather long acts, such as codes, constitutions, regulations, etc.For this purpose, it is necessary that the partition identifier betransmitted to the servers (resolution and application). Therefore,it cannot be separated by the typical "#" character of URI fragment,which is not transmitted to the server.¶
According to these requirements, the syntax of a reference is:¶
URN-reference = URN-document ["~" partition-id]¶
For example, referring to paragraph 3 of article 15 of the FrenchAct of 15 May 2004, n. 106, the reference can be"urn:lex:fr:etat:loi:2004-05-15;106~art15;par3".¶
If a different separator ("~") is used after the document name, the partition ID is not withheld by the browser but is transmitted to the resolution process. If thepartition syntax is compatible with the media type used, this enables the resolver to retrieve (forexample, out of a database) only the referred partition; otherwise, the whole act is returned.¶
When resolving to HTTP,the resolverSHALL transform the partition ID to an appropriate internal reference (#) on the page or at the beginning if that point cannot be found.The transformation in the URI fragment is obtained by appending the "#" character followed by the partition ID tothe URL (in theexample above, the returned URL will be <URL-document>#art15;par3).Doing this, knowing the granularity of the act markup, the resolvercould exploit the hierarchical structure of the ID by eliminating sub-partitions that are not addressed. In the previous example, if only the article was identified in theact, it could return <URL-document>#art15only.¶
It is possible to use the general syntax (with "#"); in thiscase, only the URN document component of the reference is transmittedto the resolver; therefore, the whole document will always be retrieved.¶
The authority element of a uniform name may indicate the following in thevarious cases:¶
The actual authority issuing the legal provision. Morespecifically, the authority adopting the provision or enacting it.¶
The institution where the provision is registered, known, andreferenced to, even if produced by others (e.g., the billsidentified through the reference to the Chamber where they arepresented).¶
The institution regulated (and referred to in citations) by thelegal provision even when this is issued by another authority(e.g., the statute of a Body).¶
The entity that proposed the legal material not yet included in theinstitutional process (e.g., a proposed bill written by apolitical party).¶
Some sources of law are enacted by a number of issuing parties (e.g.,inter-ministerial decrees, agreements, etc.). In this case, theauthority element contains all the issuing parties (properlyseparated) as follows:¶
authority = issuer *("+" issuer)¶
This is an example: "ministry.justice+ministry.finances".¶
Each issuing authority is essentially represented by either aninstitutional office (e.g., Prime Minister) or an institution (e.g.,Ministry); in the last case, the authority is indicated in accordancewith the institution's hierarchical structure, from more generalto more specific (Council, Department, etc.), ending with therelative office (President, Director, etc.).Therefore, the structure of the issuer is as follows:¶
issuer = (institution *(";" body-function)) / office¶
This is an example: "ministry.finances;department.revenues;manager".¶
Depending on the kind of measure, the body within the issuingauthority is unambiguously determined (e.g., the Council for RegionalActs), and it is not normally indicated in the references.Just like in practice, the indication of the enacting authority islimited to the minimum in relation to the type of measure(e.g., "region.tuscany:act" and not "region.tuscany;council:act").¶
Generally, the function is indicated, sometimes instead of the Bodyitself:¶
In the case of political, representative, or elective offices(e.g., "university.oxford;rector:decree" instead of"university.oxford;rectorship:decree").¶
When referring to a top officer in the institution (e.g., generalmanager, general secretary, etc.), which is not always possible toassociate a specific internal institutional structure to(e.g., "national.council.research;general.manager").¶
It is not indicated when it clearly corresponds to the person incharge of an institution (typically, a general director); in thiscase, only the structure and not the person in charge is indicated(e.g., "ministry.justice;department.penitentiary.administration").¶
The functionMUST be indicated when:¶
Acts and measures bearing the same relevance as an act, issued orenacted since the foundation of the State, have conventionallyindicated "state" (expressed in each country's official language) asthe authority. The same convention is used for constitutions, codes(civil, criminal, civil procedure, criminal procedure, etc.), andinternational treaties.¶
In uniform names, the issuing authority of a document is mandatory.This makes it unnecessary to indicate any further qualification of themeasure (e.g., ministerial decree, directorial ordinance, etc.), evenif it is widely used.When the authority-measure combination clearly identifies a specificdocument, the type of measure is not defined through attributesreferring to the enacting authority(e.g., "region.tuscany:act" and not "region.tuscany:regional.act").¶
In the measure element, it is usually sufficient to indicate the type of a measure. As usual, rather than through the formal details (date and number), references to sources of law may be made through some of their characteristics, such as the subject matter covered (e.g., accounting regulations), nicknames referring to the promoter (e.g., Bolkestein directive), or the topic of the act (e.g., Bankruptcy Law), etc. In these cases, the type of measureMAY be followed by further specifications that are useful in referencing, even if the details are lacking:¶
measure = measure-type *(";" specification)¶
These are examples: "regulations;accounting" or "act;bankruptcy".¶
There are legislative measures that, although unique, are usually cited in different ways, for example, introducing them into the legal order through a legislative act (President's decree, legislative decree, etc.) or through their legislative category (regulations, consolidation, etc.). In order to ensure the validity of the references in all cases, an alias (an additional URN LEX identifier) that takes into account the measure category is added to what represents the legislative form of the same act (e.g., "state:decree.legislative:1992-07-24;358" and "state:consolidation;public.contracts:1992-07-24;358").¶
The sources of law including different normative references areusually introduced in legislation through the adoption or the issuingof an act, which they are either included or attached to. Therefore, it is necessary to create an alias linking the two aspects ofthe same document. Specifically, the different measures can be:¶
Adopted/issued by an authority different from the one regulated bythe provision (e.g., the statute of a Body). In this case, thecorrelation is established between two uniform names, each featuringa completely different authority element(e.g., "italian.society.authors.publishers:statute" and"ministry.cultural.activities+ministry.finances.budget.economic.planning:decree").¶
Issued by the institution itself either because it has issuingauthority or by virtue of a proxy (e.g., a provision that refers tothe functioning of the Body itself). In this case, the two aliasesshare the first part of the authority(e.g., "municipality.firenze:statute" and"municipality.firenze;council:deliberation").¶
Issued by the same Body to regulate a particular sector of its owncompetence. In this case, the authority element is the same(e.g., "ministry.justice:regulation;use.information.tools.telematic.process" and "ministry.justice:decree").¶
The details of a source of law usually include the date of theenactment and the identification number (inclusion in the body oflaws, registry, protocol, etc.).¶
Some measures can have multiple dates. There are also cases in whichthe number of the measure does not exist (unnumbered measures) or ameasure has multiple numbers (e.g., unified cases). For thesereasons, the setup of both elements (date and number) includesmultiple values.¶
Some institutions (e.g., the Parliaments) usually identify documentsthrough their period of reference (e.g., the legislature number)rather than through a date, which would be much less meaningful andnever used in references (e.g., Senate bill S.2544 of the XIVlegislature). In these cases, the component period issubstituted for the component dates.¶
Usually, details of a measure are not reported according to a specificsequence. In accordance with the global structure of the uniformname, which goes from general to specific, the sequence date-number has the following form:¶
details = (dates / period) ";" numbers¶
The following are examples: "2000-12-06;126" and "14.legislature;s.2544".¶
Some sources of law, even if unique, are identified by more than onedate. In this case, all the given dates are tobe reported and indicated as follows:¶
dates = date *("," date)¶
For example, the measure of the Data Protection Authority of December 30, 1999-January 13, 2000, No. 1/P/2000 has the following uniform name:¶
personal.data.protection.authority:measure:1999-12-30,2000-01- 13;1-p-2000¶
As specified inSection 3.6, all the dates can have the date typical of the jurisdiction in addition to the ISO format.¶
Measures not officially numbered in the publications may have anon-unequivocal identifier, because several measures of the same typecan exist and can be issued on the same day by the same authority.To ensure that the uniform name is unambiguous, the numbers fieldMUST, in any case, contain a discriminating element, which can be anyidentifier used internally and not published by the authority(e.g., protocol).¶
If the authority does not have its own identifier, one identifierMUST be created for the name system. In order to easily differentiateit, such number is preceded by the string "lex-":¶
number-lex = "lex-" 1*DIGIT¶
The following is an example: "ministry.finances:decree:1999-12-20;lex-3".¶
It is the responsibility of the authority issuing a document to assign adiscriminating specification to it. When there are multiple authorities,only one of them is responsible for the assignment of the number tothe document (e.g., the proponent).¶
The unnumbered measures published on an official publication (e.g.,the Official Gazette), arerecognized by the univocal identifying label printed on the paper instead of by a progressive number.Such an identifier, even if it is unofficial but assigned to a document inan official publication, is preferred because it has the clearadvantage of being public and is therefore easier to find.¶
Some legal documents (e.g., bills), even if unique, are identified bya set of numbers (e.g., the unification of cases or bills).In this case, in the numbers field, all the identifiers arereported, according to the following structure:¶
number = document-id *("," document-id)¶
The following is an example: "2000-06-12;c-10-97,c-11-97,c-12-97".¶
The characters that are not allowed (e.g., "/") or reserved (e.g.,":"), including the comma, cannot exist inside the document-id andthereforeMUST be turned into "-".¶
When special characters contained in the number of the act aredistinctive of the act itself (e.g., bill n. 123-bis (removal of 123)and n. 123/bis (return of 123)) and would disappear with theconversion to "-", a further ending must be added todistinguish the acts (e.g., bill n.123-bis-removal and 123-bis-return).¶
Although annexes are an integral part of a legal document, they may be referred to and undergo amendments separately from the act to which they are annexed. Therefore, it is necessary that both the main document as well as each formal individual annex is unequivocally identified.¶
Formal annexes may be registered as separate parts or together with a legal provision; they may or may not be autonomous in nature. In any case, theyMUST be given a uniform name that includes the uniform name of the source of law to which they are attached and a suffix that identifies the annex itself.¶
The suffix of formal annexes includes the official heading of theannex and, possibly, further specifications (e.g., the title) thatwill facilitate the retrieval of the annex in case the identifier ismissing:¶
annex = annex-id *(";" specification)¶
The following is an example:¶
region.sicily;council:deliberation:1998-02-12;14:annex.a; borders.park¶
The characters that are not allowed (e.g., "/") or that are reserved (e.g., ":") must not be featured in the annex-id and thereforeMUST be turned into ".".¶
When there are annexes to an annex, their corresponding identifiers are created by adding to the identifier of the original annex those of the annexes that are connected with it (that is, attached to it). For example, Table 1 attached to the Annex A of the preceding legal act has the following uniform name:¶
region.sicily;council:deliberation:1998-02-12;14:annex.a; borders.park:table.1;municipality.territories¶
The creation of an updated text of a document may have one of thefollowing forms:¶
In a "multi-version" document, each time interval should have a linkto the related in-force document version that can bedisplayed.In a "single-version" document, the metadata should contain links toall the previous modifications and a link only to the followingversion, if any.¶
[RFC8288] can be used as a reference to establish links betweendifferent document versions, either in the "multi-version" or in the"single-version" document. According to[RFC8288], the followingrelations are useful:¶
It isRECOMMENDED that these relations be inserted in the header ofeach version (if "single-version") or associated to each entrycontaining a single URN (if "multi-version").¶
In order to identify the different time versions of the same act, a specific suffix has to be added to the uniform name of the original document.¶
Such a suffix identifies each version of a legal provision andincludes, first and foremost, one of the following elements:¶
The issuing date of the last amending measure taken into account.¶
The date that the communication of the rectification orerrata corrige was published.¶
A specification that must identify the reason concerning theamendment (e.g., the specific phase of the legislative process),for the cases in which the date is not usually used (e.g., bills).¶
It is possible to add further specifications that willdistinguish each of the different versions of the text to guaranteeidentifier unequivocalness. Examples include changes of the in-force or effectiveness of a formal partition or portion of the text itself (e.g., when the amendments introduced by an act are applied at different times) or different events occurring on the same date.¶
version = (amendment-date / specification) *(";" (event-date / event))¶
where:¶
The issuing date of an amending act was chosen as the identifier of aversion because it can be obtained from the heading (formal data). For example, the name "state:royal.decree:1941-01-30;12@1998-02-19"identifies the updated text of the "Royal Decree of 30/1/1941, No.12" with the amendments introduced by the "Law Decree of 19/2/1998,No. 51" without any indication of its actual entry into force.The same uniform name with the additional ending ";1999-01-01" indicatesthe in-force or effective version starting on a different date (1/1/99).¶
For full compatibility, every update of text, or of the effectiveness, of a "multi-version" document implies the creation of a new uniform name, even if the object remains single, containing the identifier of the virtually generated version, as in the case of a "single-version" document. Specific metadata will associateevery uniform name with the period of time during which such a name,together with its corresponding text, is to be considered valid(e.g., the "multi-version" document containing "R.D. of 01/30/1941,no. 12", updated by the amendments introduced by the "D.Lgs. of02/19/1998, no. 51", contains the name of the original version"state:royal.decree:1941-01-30;12" as well as the name of the updatedversion "state:royal.decree:1941-01-30;12@1998-02-19").¶
Note that if there are attachments or annexes, the creation of anew version (even in the case of only one component) would imply thecreation of a new uniform name for all the connected objects in orderto guarantee their alignment (i.e., the main document,attachments, and annexes).¶
As specified inSection 3.6, all the dates can have the date typical of the jurisdiction in addition to the date in ISO format.¶
; Structure of a Uniform Resource Name (URN) of the LEX namespace; - NID = LEX namespace identifier; - NSS = LEX Namespace Specific StringURN = "urn:" NID ":" NSSNID = "lex"; Structure of a LEX specific nameNSS = jurisdiction ":" local-name; Structure of the jurisdiction elementjurisdiction = jurisdiction-code *(";" jurisdiction-unit)jurisdiction-code = 2*alf-dotjurisdiction-unit = alf-dot; Structure of the local-name elementlocal-name = work ["@" expression] ["$" manifestation]; Structure of the work elementwork = authority ":" measure ":" details *(":" annex); Structure of the authority elementauthority = issuer *("+" issuer)issuer = (institution *(";" body-function)) / officeinstitution = alf-dotbody-function = alf-dotoffice = alf-dot; Structure of the measure elementmeasure = measure-type *(";" specification)measure-type = alf-dotspecification = alf-dot; Structure of the details elementdetails = (dates / period) ";" numbersdates = date *("," date)period = alf-dotnumbers = number / number-lexnumber = (document-id *("," document-id))document-id = alf-dot-othnumber-lex = "lex-" 1*DIGIT; Structure of the annex elementannex = annex-id *(";" specification)annex-id = alf-dot; Structure of the expression elementexpression = version [":" language]; Structure of the version elementversion = (amendment-date / specification) *(";" (event-date / event))amendment-date = dateevent-date = dateevent = alf-dot; Structure of the language elementlanguage = 2*3alfa *["-" extlang] / 4*8alfaextlang = 3alfa *2("-" 3alfa); Structure of the manifestation elementmanifestation = editor ":" format [":" component [":" feature]]editor = publisher *(";" specification)publisher = alf-dot-hypformat = mime *(";" specification)mime = alf-dot-hypcomponent = part *(";" specification)part = alf-dot-hypfeature = attribute *(";" specification)attribute = alf-dot-hyp; Structure of the datedate = date-iso ["|" date-loc]date-iso = year "-" month "-" dayyear = 4DIGITmonth = 2DIGITday = 2DIGITdate-loc = *(alfadot / other); Allowed, reserved and future characters; - allowed = alfadot / other / reserved; - reserved = ":" / "@" / "$" / "+" / "|" / ";" / "," / "~"; - future = "*" / "!"alf-dot = alfanum *alfadotalf-dot-hyp = alfanum *(alfadot / "-")alf-dot-oth = alfanum *(alfadot / other)alfadot = alfanum / "."alfa = lowercase / uppercasealfanum = alfa / DIGIT / encodedlowercase = %x61-7A ; lower-case ASCII letters (a-z)uppercase = %x41-5A ; upper-case ASCII letters (A-Z)DIGIT = %x30-39 ; decimal digits (0-9)encoded = "%" 2HEXDIGHEXDIG = DIGIT / %x41-46 / %x61-66 ; hex digits (0-9,A-F,a-f)other = "-" / "_" / "'" / "=" / "(" / ")"¶
Under the LEX namespace, each country or international organizationis assigned a jurisdiction-code, which characterizes the URNs ofthe source of law of that country or jurisdiction. This code isassigned according to ccTLD (as well as TLDN (Top-Level Domain Name)or DN (Domain Name) for organizations) representation, and it isthe value of the jurisdiction-code element, which preserves cross-country uniqueness of the identifiers.¶
Any country or jurisdiction that intends to adopt this schemaMUSTidentify a Jurisdictional Registrar, an organization that shares anddefines the structure of the optional part (jurisdiction-unit) ofthe name, according to the organization of the state or institution(for details, seeSection 2.2). It must appoint a Jurisdictional Registrar and must apply the Designated Experts to register the new jurisdiction-code.¶
For example, in a federal state,a jurisdiction-unit corresponding to the name of each Member State(e.g., "br;sao.paulo", "br;minas.gerais", etc.) may be defined.¶
The process of assigning the local-name is managed by eachspecific country or jurisdiction under the related jurisdictionelement.¶
In any country, the Jurisdictional Registrar shares and defines theassignment of the primary elements (issuing authority and type oflegal measure) of the local-names considering the characteristics ofits own state or institution organization.¶
The Jurisdictional RegistrarMUST establish, according to the guidelinesindicated in this document, a uniform procedure within thecountry or organization to define local-name elements, makedecisions about normalizations, solve and avoid possiblename collisions, and maintain authoritative registries ofvarious kinds (e.g., for authorities, types of measures, etc.). Inparticular, accurate point-in-time representations of the structureand naming of government entities are important to semantically awareapplications in this domain.¶
Moreover, the Jurisdictional Registrar shares and defines the rules to constructpartition IDs for each document type, possibly in accordance withthose already defined in other jurisdictions.¶
Finally, the Jurisdictional Registrar will develop and publish the rules and guidelines for the local-name construction as well as the predefined values and codes. The Jurisdictional Registrar should also promote the LEX URN identifier for the sources of law of its jurisdiction.¶
Such a set of rules will have to be followed by all institutionalbodies adopting the LEX URN identification system in a country orjurisdiction, as well as by private publishers. Each of them willbe responsible for assigning names to their domains.¶
Identifiers in the LEX namespace are defined through ajurisdiction element assigned to the sources of law of a specificcountry or organization, and a local-name is assigned by the issuingauthority in conformance with the syntax defined inSection 5. Themain elements (authority and type of measure) of the local-name aredefined by the Jurisdictional Registrar, so that it is ensured thatthe constructed URNs are unique. The Jurisdictional RegistrarMUSTprovide clear documentation of rules by which names are to beconstructed andMUST update its registries and make them accessible.¶
Any enacting authority is responsible for defining formal parameters toguarantee local-name uniqueness by attributing, if necessary, aconventional internal number, which when combined with the other local-name components (authority, measure, and date), builds a uniqueidentifier. Uniqueness is achieved by checking against the catalogueof previously assigned names.¶
The persistence of identifiers depends on the durability of theinstitutions that assign and administer them. The goal of the LEXschema is to maintain uniqueness and persistence of all resourcesidentified by the assigned URNs.¶
In particular, CNR is responsible for maintainingthe uniqueness of the jurisdiction element. Given that thejurisdiction is assigned on the basis of the long-held ccTLDrepresentation of the country (or the TLDN or DN of the organization)and that the associated code for country or organization is expected tocontinue indefinitely, the URN also persists indefinitely.¶
The rules for the construction of the name are conceived to delegatethe responsibility of their uniqueness to a set of authorities thatis identified within each country or organization.¶
Therefore, each authority is responsible for assigning URNs thathave a very long life expectancy and can be expected to remain uniquefor the foreseeable future. Practical and political considerations,as well as diverse local forms of government organization, willresult in different methods of assigning responsibility for differentlevels of the name.¶
Where this cannot be accomplished by the implementation of anauthoritative hierarchy, it is highly desirable that it be done bycreating consensus around a series of published rules for thecreation and administration of names by institutions and bodies thatoperate by means of collaboration rather than compulsion.¶
Issuing authorities that operate in more localized scopes, rangingfrom national scope down to very local scope,MUST equally takeresponsibility for the persistence of identifiers within their scope.¶
The task of the resolution service is to associate a LEXidentifier with a specific document address on the Internet. Incontrast with systems that can be constructed around rigorous andenforceable engineering premises, such as DNS, the LEX namespaceresolver will be expected to cope with a wide variety of inputsthat are incomplete or partially incorrect, particularly those created by the automated extraction ofreferences from texts. In this document,the result is a particular emphasis on a flexible and robust resolverdesign.¶
The system has a distributed architecture based on two fundamentalcomponents: a chain of information in the DNS and aseries of resolution services from URNs to URLs, each competentwithin a specific domain of the namespace.¶
The client retrieves the document associated with this URN using theprocedure described in[RFC3404], which starts with a DNS NAPTRquery.¶
A resolution service can delegate the resolution and management ofhierarchically dependent portions of the name.Delegation of this responsibility will not be unreasonably withheldprovided that the processes for their resolution and management arerobust and followed.¶
For the LEX namespace, CNR will 1) maintain the root zone of thechain resolution, equivalent to "lex.urn.arpa" (see[RFC3405]), inthe lex-nameserver.nic.it (seeSection 12) and 2) update the DNSinformation with a new record to delegate the relative resolutionwhen a new country (e.g., "br") or organization is added(seeSection 2.2). This delegation may be obtained by a regularexpression that matches the initial part of the URN (e.g.,"urn:lex:br") and redirects towards the proper zone (e.g.,"lex.senado.gov.br").¶
Likewise, the institution responsible for the jurisdiction uniformnames (e.g., "urn:lex:br") has the task of managing the relative rootin the DNS system (e.g., "lex.senado.gov.br" zone) and routing theresolution towards its resolvers on the basis of parts of the uniformnames. In a similar way, it can delegate the resolution ofcountry/organization sub-levels (e.g., "urn:lex:br;sao.paolo")towards the relative zone (e.g., "lex.sao-paolo.gov.br").¶
Such a DNS routing chain does not work for all the URN componentscontaining percent-encoded characters. Therefore, when converting a LEX URNin UTF-8 code to a DNS query, clientsMUST perform any necessary punycodeconversion[RFC5891] before sending the query.¶
The resolution service is made up of two elements: a knowledge base(consisting in a catalogue or a set of transformation rules) and software to query the knowledge base.¶
Incompleteness and inaccuracy are rather frequent in legal citations;thus, incomplete or inaccurate uniform names of the referred documentare likely to be built from textual references (this is evenmore frequent if they are created automatically through a specificparser). For this reason, the implementation of a catalogue, based ona relational database, is suggested, as it will lead to higherflexibility in the resolution process.¶
In addition, the catalogue must manage the aliases, the variousversions and languages of the same source of law, and therelated manifestations.¶
It is suggested that each enacting authority implement its owncatalogue, assigning a corresponding unambiguous uniform name to eachresource.¶
First, the resolverSHOULD separate the part corresponding tothe partition ID from the document name, with the "~" separator.¶
The resolution processSHOULD implement a normalization of theuniform name to be resolved. This may involve transforming somecomponents to the canonical form (e.g., filling out the acronyms,expanding the abbreviations, unifying the institution names,standardizing the type of measures, etc.). For this function,authorities and types of measure registries are useful.¶
The resolverSHOULD then query the catalogue searching for the URNthat corresponds exactly to the given one (normalized if necessary).Since the names coming from the references may be inaccurate orincomplete, an iterative and heuristic approach (based on partialmatches) is indicated. Incompletereferences (not including all the elements to create the canonicaluniform name) are normal and natural; for a human reader, thereference would be "completed" by contextual understanding of thereference in the document in which it occurs.¶
In this phase, the resolver should use the partition ID informationto retrieve, if it is possible, only the referred partition;otherwise, the entire document is returned.¶
Lacking more specific indications, the resolverSHOULD select thebest (most recent) version of the requested source of law andprovide all the manifestations with their related items.A more specific indication in the uniform name to be resolved will,of course, result in a more selective retrieval, based on anysuggested expression and/or manifestations components (e.g., date,language, format, etc.).¶
Finally, the resolverSHOULD append the "#" characterfollowed by the partition ID to URLs, to create URI fragments forbrowser pointing.¶
Security considerations are those normally associated with the use andresolution URNs in general. Additional security considerations concerningthe authenticity of a document do not pertain to the LEX specifications,but they pertain to security and trust issues that can be addressed with other means,like digital signatures, data encryption, etc.¶
IANA has registered LEX namespace in the"Formal URN Namespaces" registry[RFC8141].¶
In addition, to activate a distributed resolution system, IANA has registered the following NAPTR record in the URN.ARPA domain:¶
lex.urn.arpa. IN NAPTR 100 10 "" "" "" lex-nameserver.nic.it.¶
Note that lex-nameserver.nic.it indicates the CNR server (seeSection 2.2) that is responsible for the resolution of the LEX namespace at the time of this writing.¶
The authors wish to thank all those who provided suggestions and comments.¶
The authors are grateful to the Legislative XML community[SART] for the interesting discussions on this topic and to the Working Group "Identification of the legal resources through URNs" of the Italian NormeInRete project for the guidance provided[SPIN].¶
The authors owe a debt of gratitude toTom Bruce, former director of the Legal Information Institute of the Cornell University Law School, for his contribution in revising this document and sharing fruitful discussions that greatly improved the document. The authors wish to specially thankMarc van Opijnen (Dutch Ministry of Security and Justice) for his valuable comments on LEX specifications, which contributed to improving this document, as well as for the common work aimed to harmonize the ECLI and LEX specifications. Thanks also toJoao Alberto de Oliveira Lima, Legislative System Analyst of the Brazilian Federal Senate, and toAttila Torcsvari, Information Management Consultant, for their detailed comments on the first draft versions of this document, which provided significant improvements to the final document. Thanks also toRobert Richards of the Legal Information Institute (Cornell University Law School), promoter and maintainer of the Legal Informatics Research social network, as well as to the members of this network, for their valuable comments on this document.¶
Finally, many thanks go toLoriana Serrotti, who significantly contributed to the first draft versions of this document.¶