How it works · 1
Unified Resource Identifier — VRI
One short, permanent address for every public document and every part of it — an article, a point, a task, a budget programme. Just as a postal address tells you where a house is, a VRI tells you where a specific piece of information is.
The problem
Public information is spread across thousands of documents: laws, Cabinet regulations, institution statutes, development plans, the budget, government decisions and court rulings. They live in different systems, and each system numbers them in its own way — or not at all.
Today
A reference is written in words: "Development Planning System Law, Article 3, Part 2". A person understands it, but a computer cannot reliably follow it. When the law is amended, it is no longer clear which text was meant. Linking a law to a plan, a budget line or an institution can only be done by hand.
With VRI
The same place is lv-lik-2008-05-08.art3.d2. You can copy this address, put it in a link or a document, and a person, an information system and an AI agent all understand it. It leads straight to that part, not to the whole law.
Without a shared address, simple questions are hard to answer: which national development plan tasks rest on this article, which budget programme funds this function, which court ruling interprets this point, and what exactly did the text say on a given day?
How to read a VRI
A VRI has five parts. The first three are always there; the last two only when needed.
Without the fourth part, the VRI means the whole document. Without the fifth, it means the element in its current version. Numbers are always the ones printed in the document: "Article 23²" is art23s2, "point 4.1.1" is p4.1.1. The type codes come from Latvian (lik = likums, law; nol = nolikums, statute), because the documents themselves are Latvian.
Examples
| VRI | What it means |
|---|---|
lv-lik-2008-05-08.art3.d2 | Development Planning System Law, Article 3, Part 2 |
lv-mkn-2006-322.p4.1.1 | Cabinet Regulation No. 322 (2006), sub-point 4.1.1 |
lv-nol-10-0000.p4.4s1 | Statute of the institution with VPK ID 10-0000, point 4.4¹ |
lv-plan-nap2027.i068 | National Development Plan 2021–2027, item [68] |
lv-dekl-2026-05-28.u001 | Government declaration, task 1 |
lv-st-2019-27-03.p16 | Constitutional Court judgment in case No. 2019-27-03, paragraph 16 |
eu-act-32016r0679.art6.d1 | General Data Protection Regulation (GDPR), Article 6(1) |
lv-vpk-03-0000 | The institution with VPK ID 03-0000 itself — not only documents, but also institutions, functions and systems get a VRI |
The documents behind these links are shown in Latvian, their authentic language.
Time and versions
Laws change. So a VRI comes in two forms: the element address follows an article through all amendments, while the version address (with @date) always shows the same text. Use the version address for a quotation, an AI answer or a legal opinion — then the content stays the same whatever happens later.
The address of a deleted point is never given to other content. A new point inserted between existing ones gets a superscript (for example 4¹), and the addresses of the other points do not change.
Why it matters
VRI is more than document addresses. When every institution, function, legal provision, task, budget programme, service and system has one address, they can all be linked in a single map that answers five questions:
Every record has a known source, every change can be traced by date, and overlaps, double funding or functions without a legal basis become visible automatically.
Key rules
- One address, one resource. The same address means the same thing in every system.
- Numbers come from the document itself. Use the printed number, the case number or the official code — never a row number in a database.
- Never reused. A deleted element keeps its address.
- Old addresses keep working. If an address changes, the old one stays as an alias and leads to the new one.
- Only lowercase letters, digits, "-" and "." — but search ignores upper and lower case.
- Works with existing standards. VRI does not compete with ELI, Akoma Ntoso, ECLI or CELEX; it links them.
Try it
Who is responsible
VRI is a proposal by PPPA and an open reference implementation developed within the Valsts Pirmkods ("State Source Code") concept. If adopted, the standard and its register should be held by the State Chancellery, which coordinates work across the whole government. Identifiers for each document type would be assigned by the body that already publishes those documents — for legal acts, the official gazette "Latvijas Vēstnesis" at the moment of official publication.
On this platform, all structured documents — more than 600,000 elements — and the Resource browser already use VRI.
Full specification (in Latvian): ProcessGit · Valsts-Pirmkods / Vienotais-Resursu-Identifikators-VRI (VRI 0.1, 31 October 2026).