lt_get_edition_text
Fetches the consolidated text of a Lithuanian legal act in force on a given date or a specific edition, using its TAR code and optional edition ID.
Instructions
Fetch the consolidated text of an act in force on a date, or a specific edition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date (``YYYY-MM-DD``); the edition in force on that day. Default: today. | |
| tar_kodas | Yes | e.g. ``"1001010ISTAIII-1524"``. | |
| suvestines_id | No | a specific edition from ``lt_list_editions`` (instead of ``date``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale | No | ||
| title | No | ||
| format | No | text/plain | |
| content | 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. | |
| byte_size | No | ||
| cached_at | No | When that stored copy was fetched. | |
| tar_kodas | 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 | ||
| 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 |