A legislation experiment
Introduction:
This implementation has been inspired by my work in Central and Local government where the teams I work with have all needed a much more referencable set of documents than are currently published.
These examples are all derived from the existing XML formats supplied by the publishers.
Please read the accompanying “A love letter to the Parliamentary Counsel of the world” first.
Dedicated to all those tasked with documenting, interpreting and coding our regs and laws.
Current examples:
Digital Services Act (EU)
Notes: Multi lingual example, considered complete.
Web interface: https://hamish.dev/experiments/rulestyles/dsa/en
API endpoint: https://hamish.dev/api/rulestyles/dsa/en etc.
Size: 1385 data points
General Data Protection Regulation (EU)
Notes: English version. Not checked.
Web interface: https://hamish.dev/experiments/rulestyles/gdpr/en
API endpoint: https://hamish.dev/api/rulestyles/gdpr/en etc.
Size: 1392 data points
Accident Compensation Act 2001 (NZ)
Notes: Nearly complete (Schedule 3 and 3A to do).
Web interface: https://hamish.dev/experiments/rulestyles/acc/en
API endpoint: https://hamish.dev/api/rulestyles/acc/en etc.
Size: +5703 data points
Harmful Digital Communications Act (NZ)
Notes: New Zealand small act example, considered complete.
Web interface: https://hamish.dev/experiments/rulestyles/hdca/en
API endpoint: https://hamish.dev/api/rulestyles/hdca/en
Size: 443 data points
Dissemination of Terrorist Content Online (EU)
Notes: Excludes annexes, considered unfinished, developed as test to check robustness and reusability of EU XML processing
Web interface: https://hamish.dev/experiments/rulestyles/dtco/en
API endpoint: https://hamish.dev/api/rulestyles/dtco/en
Size: 377 data points
Natural and Built Environment Bill (NZ)
Notes: This is a bill, but published as if it was an act. Good stress test given size. Excludes schedules.
Web interface: https://hamish.dev/experiments/rulestyles/nba/en
API endpoint: https://hamish.dev/api/rulestyles/nba/en
Size: 10,186 data points