What it does
validate_citation checks a legal citation against the Slovak corpus to see whether it resolves to an exact document. It supports several citation kinds: ECLI, CELEX, IRI (slov-lex / EUR-Lex URLs), spisová značka (case file number), regulation number (N/YYYY), and bare identification numbers. There is no fuzzy matching — a citation either resolves exactly or it doesn't.
Like every tool in this connector, it is read-only, covers Slovak law only, and its output is informational, not legal advice.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | Yes | The citation to validate (ECLI, CELEX, IRI, spisová značka, regulation number, or bare identification number). |
Returns
{
"validated": true,
"citation": "...",
"citation_kind": "...",
"document_content_id": "...",
"reason": "...",
"temporal_status": "..."
}
temporal_status applies to legislation only and is one of current, not_yet_in_force, superseded, repealed, or unknown. It is null for case-law citations and for a miss.
Example
Before including a citation like 311/2001 Z. z. or an ECLI identifier in a drafted answer, the calling AI validates it with validate_citation to confirm it resolves to a real document — and, for legislation, whether it's still in force.
Notes
- Deterministic, debits your monthly corpus quota (see Usage limits).
- Issues a provenance receipt on a successful hit — pass it to Verify answer's
receiptsinput to confirm the citation actually came from Lexomat.