Input: The Nevada Revised Statutes website,
mirrored with the included script into /tmp
.
Output: Well-formed JSON which implements the laws' structure as the legislature created it:
{
"nominalDate": 2018,
"dateAccessed": "2018-01-28",
"statuteTree": {
"titles": [
{
"chapters": [
{
"url": "https://www.leg.state.nv.us/nrs/NRS-1.html",
"name": "Judicial Department Generally",
"number": "1",
"subChapters": [
{
etc.