Code-driven Manifesto: Standardizing Japan’s Local Government Systems (a technical read)

どうも〜おかむーです! Today I want to talk about something both nerdy and civic: how Japan is trying to standardize local government core systems, and what that looks like from a data-and-engineering lens. If you care about APIs, CSVs, PDFs, and making government data actually useful, this one's for you!
- The Digital Agency and the Local Government System Standardization law are pushing mandatory "standard-compliant systems" for ~20 core local government tasks.
- Many official artifacts are PDFs or ad-hoc CSVs; machine-readable APIs and stable schemas are still inconsistent across agencies.
- Technical fixes are straightforward: canonical schemas, versioned APIs, sample implementations, CI for spec changes — in short, treat policy like software!
Conclusion
The policy direction is excellent: mandating standard-conformant systems aligns incentives across municipalities. But from an engineering viewpoint, the execution needs stronger machine-readable artifacts (OpenAPI/JSON Schema), provenance/versioning, and operational patterns (APIs, registries, test suites). These are low-hanging fruits that would turn policy into usable infrastructure.
Report
What the law and policy say (quick recap)
The Digital Agency outlines that information systems used for designated tasks must conform to ministerial standardization criteria (see digital.go.jp). The e-Gov law text codifies roles for prefectures and municipalities to align systems (e-gov.go.jp). That’s policy clarity — nice!
Reality on the ground: PDF vs CSV vs API
Look, this is the part engineers cry about: many specs live in PDFs, some datasets are CSVs (example: https://notice.go.jp/docs/status_notice.csv and various gov CSV endpoints), and APIs are spotty. PDFs are great for humans, terrible for automation. CSVs help but often lack schema or metadata (encoding, column types, JIS codes). An API-first approach would be cleaner.
These are concrete pain points:
- Missing machine-readable schema (JSON Schema/OpenAPI)
- No centralized catalog with versioning and provenance
- Inconsistent identifiers (municipality codes, business codes) across datasets
- Scattered sample data and no test suites for validators
Quick technical checklist (what to implement)
- Publish OpenAPI specs for each standardized service plus JSON Schema for payloads
- Provide canonical CSV and JSON dumps with metadata (schema, charset UTF-8, licenses)
- Setup a public registry (gov data catalog) with dataset versioning and changelogs
- Offer reference implementations and client SDKs (Python/JS)
- CI that runs schema validators and example transactions against sandbox APIs
Example: simple Python snippet to fetch and validate a CSV
import requests
import pandas as pd
from jsonschema import validate
r = requests.get('https://notice.go.jp/docs/status_notice.csv')
open('status_notice.csv','wb').write(r.content)
df = pd.read_csv('status_notice.csv')
print(df.columns)
Suppose you have a JSON Schema for rows
schema = {"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string"}},"required":["id","status"]}
for row in df.to_dict(orient='records'):
validate(instance=row, schema=schema)
要するに、API + schema + tests。これで自治体間の互換性ボトルネックはかなり潰せますよ。
Policy goals vs measurable outputs
Policy sets obligations — but metrics matter. If the goal is "resident convenience" and "operational efficiency", we need KPIs tied to data quality: API uptime, schema compliance rate across municipalities, mean time to adopt new standard revision. Right now the documentation shows intent but not consistent machine-measured outcomes.
Implementation roadmap (practical)
まとめ
Policy momentum is real — the law and Digital Agency work provide authority. Engineers can turn that into scalable infrastructure by insisting on machine-readable contracts, tests, and reference implementations. That’s how you make "standardized systems" actually interoperable and reusable.
おかむーから一言
I’ve built startups and shipped GovTech stuff — treat policy like code: version it, test it, and automate the hell out of it. Let’s make government systems that developers actually want to integrate with!
Sources
- https://www.digital.go.jp/policies/local_governments
- https://laws.e-gov.go.jp/law/503AC0000000040
- https://www5.cao.go.jp/keizai-shimon/kaigi/special/reform/wg6/2025/shiryou3-2.pdf
- https://www.mhlw.go.jp/content/10901000/001085498.pdf
- https://www.city.setagaya.lg.jp/documents/20875/1.pdf
- https://notice.go.jp/docs/status_notice.csv
- https://www5.cao.go.jp/j-j/wp/wp-je24/csv/d1-1-4.csv
- https://www.digital.go.jp/assets/contents/node/basic_page/field_ref_resources/0066e8a8-6734-44ab-a9a9-8e09ba9cb508/xxxxxx_hospital.csv
- https://www.env.go.jp/content/900398071.csv
- https://greenfinanceportal.env.go.jp/csv/issuance_list_gb.csv
- https://ja.wikipedia.org/wiki/%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB
- https://www.chisou.go.jp/sousei/pdf/r5_guideline-checkaction.pdf
- https://www.digital.go.jp/
- https://www.pref.yamaguchi.lg.jp/uploaded/attachment/160746.pdf
- https://kotobank.jp/word/%E3%81%A7%E3%81%98%E3%81%9F%E3%82%8B-3199189
Share
Related Reports

Code-driven Manifesto: Auditing Local Gov Data and Systems (Kagawa case study)
Local gov systems run but hide data behind UIs; expose CSV/JSON, APIs, and common schemas to unlock value.

Code-driven Check: Japan’s Open Data and the Machine-Readable Gap
Digital Japan has dashboards and rules, but PDFs and messy formats still block automated policy verification; mandate CSV/JSON, APIs, and dataset linting.

Code Speaks: Testing Japan's Gov Data and Dashboards
Japan has great dashboards but inconsistent machine-readability. This report inspects e-Stat, Japan Dashboard, Kantei PDFs, and proposes API-first fixes and practical code examples.