The New Zealand Parliamentary Counsel Office (PCO) Te Tari Tohutohu Pāremata is New Zealand's law drafting and publishing office.
The PCO is responsible for:
Providing access to legislation is a fundamental part of the PCO’s role – and in 2008 they launched the New Zealand Legislation website. The site provides free access to legislation, including up-to-date reprints of Acts and Legislative Instruments.
Use of the website has increased significantly over time. In the year July 2016 to June 2017, it had an average of over 250,000 visitors per month.
New documents – and new versions of existing documents – are published on the website.
At the same time, PDF and XML versions are added to a subscriber website. An RSS feed enables users to get a notification when this happens. Users who wish to download and maintain their own database of New Zealand legislation can use this functionality to do so.
The XML directory structure for the subscriber website, which provides access to current and all previous versions of legislation in XML and PDF formats, is available through data.govt.nz:
The Document Type Definitions (DTDs) for legislative documents can also be accessed via the site (these define the structure of the XML versions of legislation).
This case study was updated on 24 August 2017.
Re-use of this case study is licensed under a Creative Commons Attribution 3.0 New Zealand Licence.