Structuring JLPT grammar data
A flat JSON schema that survived three refactors.
A grammar point is a row, not a tree.
The schema
Every refactor tried to make it smarter; every refactor made it worse. Flat won.
- id, level, pattern
- meaning, connection notes
- example sentences as a list