validate_citation
Validate Icelandic legal citations against a verified database. Checks document and provision existence, and warns if repealed or amended.
Instructions
Validate an Icelandic legal citation against the database.
Parses the citation, checks that the document and provision exist, and returns warnings about status (repealed, amended). This is the zero-hallucination enforcer — never generates citations, only validates against verified data.
Supported Icelandic citation formats:
"L. nr. 90/2018" (full statute reference)
"90/2018 14. gr." (statute with article)
"33/1944" (Constitution by law number)
"HRD 2020 bls. 1234" (Supreme Court decision)
Also supports legacy Nordic formats for cross-referencing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citation | Yes | Citation string to validate (e.g., "L. nr. 90/2018 14. gr." or "90/2018") |