lt_get_provision
Retrieve any Lithuanian act provision by citation reference, returning its full text and a ready-to-use citation, with an optional date to get the wording in force on that day.
Instructions
Fetch one provision of an act by reference, with its full text and a ready citation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | a provision reference as written in documents - ``"12 str. 3 d. 5 p."``, ``"12 straipsnio 3 dalis"``, ``"24.1"``, ``"24.1 p."``, ``"11 punktas"``, ``"II skyrius"`` - or an id from ``lt_get_provisions`` (``"d1:p-24.1"``). | |
| date | No | ISO date - the provision as worded in the text in force that day (default: today). | |
| document | No | numbered document to look in when the act holds several (0 = the act; approved rules/annexes are 1, 2 ...). Without it the largest matching document wins and the other matches are listed in ``alternatives``. | |
| tar_kodas | Yes | e.g. ``"1001010ISTAIII-1524"``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Ancestor labels, outermost first. | |
| stale | No | ||
| title | No | ||
| eli_uri | No | ||
| warning | No | ||
| eli_note | No | Lithuania has no data.europa.eu ELI for the TAR dataset. eli_uri carries the canonical e-tar.lt legalAct URL (the stable national identifier), which is also the source_url. | |
| cached_at | No | When that stored copy was fetched. | |
| full_text | No | ||
| provision | Yes | One provision (chapter, article, part, point ...) with a stable id. | |
| tar_kodas | No | ||
| as_of_date | No | ||
| source_url | No | ||
| text_source | No | ||
| alternatives | No | Other provision ids matching the same reference. | |
| dataset_note | No | The Lithuanian Register of Legal Acts (TAR) is served as open data via the data.gov.lt Spinta API (dataset gov/lrsk/teises_aktai: models Dokumentas, Suvestine, Priedas; CC BY 4.0). Acts are addressed by their TAR code (tar_kodas, e.g. '2014-21296'); discover acts with lt_search (matches the title). Consolidated editions (suvestines redakcijos) come from the Suvestine model, attachments (priedai) from the Priedas model. Language: Lithuanian. | |
| retrieved_at | No | ||
| suvestines_id | No | ||
| content_sha256 | No | SHA-256 of the whole act text the provisions were parsed from. | |
| document_title | No | ||
| edition_valid_to | No | ||
| provision_sha256 | No | ||
| served_from_cache | No | True when data.gov.lt failed and a stored copy was served instead. | |
| source_fetched_at | No | Oldest fetch time of any source response used (cache incl.). | |
| edition_valid_from | No | ||
| provision_citation | No | ||
| human_readable_citation | No |