It Normattiva

v0.2.1
io.github.pipeworx-io/it-normattiva Checked 2 days ago Published 1 month ago

Italy — national legislation, from Normattiva's Open Data service (Istituto Poligrafico e Zecca…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

it_normattiva_get_act

Resolve an exact citation (URN:NIR) to an Italian national act — e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196" (the Privacy Code). Returns the act's title, type, emanation date, Gazzetta Ufficiale publication date (kept separate from emanation and from in-force dates), and the opening text (preamble through the start of Article 1). Pass as_of (YYYY-MM-DD) for the version in force on that date (multivigenza), or original: true for the text as originally enacted — default is the current consolidated text. For a specific article's text, use it_normattiva_get_article instead. Source:…

ParameterTypeDescription
urn *stringURN:NIR citation, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196", or urn:nir:stato:<tipo.atto>:<yyyy-mm-dd>;<numero> built from an it_normattiva_search result.
as_ofstringYYYY-MM-DD — the version in force on this date (multivigenza). Omit for the current consolidated text.
originalbooleantrue — return the text as originally enacted, ignoring later amendments.

it_normattiva_get_article

Get the original-language (Italian) text of one article of an Italian national act, as of a given date. "urn" is the bare act citation (e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196", from it_normattiva_search or it_normattiva_get_act) and "article" is the article number, e.g. "1", "2", "12-bis". Pass as_of (YYYY-MM-DD) to resolve the version of that article in force on that date (multivigenza) — publication, emanation and in-force-from/until dates all come back as separate fields. original: true returns the article as originally enacted. annex selects an article inside an allegato…

ParameterTypeDescription
article *stringArticle number, e.g. "1", "2", "12-bis".
urn *stringBare act citation, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196" (no article suffix).
annexstringOptional allegato (annex) number/identifier, if the article is inside an annex rather than the main body.
as_ofstringYYYY-MM-DD — the version in force on this date (multivigenza). Omit for the current consolidated text.
originalbooleantrue — return the article as originally enacted, ignoring later amendments.