lt_get_provisions
Retrieve an act's provision structure with stable IDs and references, including chapters, articles, parts, and points, filtered by date or document, and optionally return full text.
Instructions
List the provisions of an act (its structure) with stable ids and references.
Laws: chapters, articles (str-5), parts (str-5-d-2), points (str-5-d-2-p-3),
subpoints. Subordinate acts: chapters and points (p-4, p-4.1). Approved documents and
annexes inside the act are numbered documents (document 1, 2 ...; ids d1:p-24.1).
Amendment notes are in each provision's notes; the act's amending acts in amendments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date - parse the text in force that day (default: today). | |
| document | No | only this numbered document (0 = the act itself). | |
| tar_kodas | Yes | e.g. ``"1001010ISTAIII-1524"``. | |
| include_text | No | full own text per provision (default: a short snippet). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| stale | No | ||
| title | No | ||
| total | No | ||
| header | 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. | |
| documents | No | ||
| tar_kodas | No | ||
| amendments | No | ||
| as_of_date | No | ||
| source_url | No | ||
| text_source | No | ||
| 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. | |
| edition_valid_to | 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 | ||
| human_readable_citation | No |