@betanyc/nyc-charter-laws-rules 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -10
- package/data/index/json/admin_code.json +719 -670
- package/data/index/json/versions.json +7 -7
- package/data/index/markdown/admin_code.md +789 -733
- package/data/index/markdown/charter.md +1 -1
- package/data/index/markdown/rules.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,11 +112,11 @@ get_version()
|
|
|
112
112
|
Example response:
|
|
113
113
|
|
|
114
114
|
```
|
|
115
|
-
NYC Charter: Current through Local Law 2026/
|
|
116
|
-
Administrative Code: Current through Local Law 2026/
|
|
117
|
-
Rules of NYC: Current through rules effective May
|
|
115
|
+
NYC Charter: Current through Local Law 2026/094, enacted May 16, 2026, and includes amendments effective through May 17, 2026. (854 sections)
|
|
116
|
+
Administrative Code: Current through Local Law 2026/094, enacted May 16, 2026, and includes amendments effective through May 17, 2026. (12558 sections)
|
|
117
|
+
Rules of NYC: Current through rules effective May 20, 2026. (8645 sections)
|
|
118
118
|
|
|
119
|
-
Index built: 2026-05-
|
|
119
|
+
Index built: 2026-05-26T01:30:51.847Z
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
---
|
|
@@ -157,7 +157,7 @@ nyc-charter-laws-rules/
|
|
|
157
157
|
└── dist/ ← compiled MCP server (built locally)
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
The JSON and Markdown indexes are committed to the repo. Anyone who clones it gets 22,
|
|
160
|
+
The JSON and Markdown indexes are committed to the repo. Anyone who clones it gets 22,057 sections across all three documents immediately — no build step required to browse or run the server.
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
@@ -165,11 +165,11 @@ The JSON and Markdown indexes are committed to the repo. Anyone who clones it ge
|
|
|
165
165
|
|
|
166
166
|
All content is sourced from publicly available bulk XML downloads hosted by [American Legal Publishing](https://codelibrary.amlegal.com/codes/newyorkcity/latest/overview). No API key required.
|
|
167
167
|
|
|
168
|
-
| Document | Sections | Bulk XML source |
|
|
169
|
-
|
|
170
|
-
| NYC Charter | 854 | `http://files.amlegal.com/pdffiles/NewYorkCity/Charter/XML.zip` |
|
|
171
|
-
| NYC Administrative Code | 12,
|
|
172
|
-
| Rules of the City of New York | 8,645 | `http://files.amlegal.com/pdffiles/NewYorkCity/Rules/XML.zip` |
|
|
168
|
+
| Document | Sections | Current Through | Bulk XML source |
|
|
169
|
+
|---|---|---|---|
|
|
170
|
+
| NYC Charter | 854 | LL 2026/094, amendments through May 17, 2026 | `http://files.amlegal.com/pdffiles/NewYorkCity/Charter/XML.zip` |
|
|
171
|
+
| NYC Administrative Code | 12,558 | LL 2026/094, amendments through May 17, 2026 | `http://files.amlegal.com/pdffiles/NewYorkCity/Admin/XML.zip` |
|
|
172
|
+
| Rules of the City of New York | 8,645 | Rules effective through May 20, 2026 | `http://files.amlegal.com/pdffiles/NewYorkCity/Rules/XML.zip` |
|
|
173
173
|
|
|
174
174
|
AML publishes updated ZIPs as new local laws and rules are adopted. Re-run `npm run fetch-data && npm run build-index` to refresh the index and commit the updated files.
|
|
175
175
|
|
|
@@ -343,6 +343,22 @@ Or if running from a local clone:
|
|
|
343
343
|
|
|
344
344
|
---
|
|
345
345
|
|
|
346
|
+
## Changelog
|
|
347
|
+
|
|
348
|
+
### 0.1.2 — May 25, 2026
|
|
349
|
+
- Updated index: Charter and Admin Code now current through **Local Law 2026/094** (enacted May 16, 2026), up from LL 2026/086
|
|
350
|
+
- Updated index: Rules now current through **May 20, 2026**, up from May 15, 2026
|
|
351
|
+
- Admin Code gained 7 sections (12,551 → 12,558)
|
|
352
|
+
- Total indexed sections: 22,057 (up from 22,050)
|
|
353
|
+
|
|
354
|
+
### 0.1.1
|
|
355
|
+
- Initial published release with full JSON and Markdown indexes committed to repo
|
|
356
|
+
|
|
357
|
+
### 0.1.0
|
|
358
|
+
- Initial release
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
346
362
|
## Contributing
|
|
347
363
|
|
|
348
364
|
Issues and pull requests welcome at [github.com/BetaNYC/nyc-charter-laws-rules](https://github.com/BetaNYC/nyc-charter-laws-rules).
|