A JSON file in your project whose contents match the schema you gave.
About
Writes a JSON file into your project from data you supply, after checking that data against a JSON Schema. You can give the schema inline or point to a schema file in the project. If the data does not match, nothing is written and you get each failing field with the reason.
It is for anyone who produces configuration, content records or other structured files and wants a wrong shape caught before it lands on disk.
The file is written with two-space indentation. Without a schema it writes the data as given, unchecked. It currently runs inside Syvon.
- TypeScript
- JSON Schema
Requirements
- Runs with
- Node.js 20 or later
- Operating systems
- windows, macos, linux
Costs
- External costs
- None
License
- License
- UNLICENSED (pending owner decision)Licence terms are not decided yet. Nothing can be acquired until the owner decides them.
- Does not
- It does not fix or fill in data that fails the schema; it reports the errors and writes nothing.