1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/data/schemas
Erovia fbfd5312b9
CLI: Validate JSON keymap input (#16261)
* Fix schema validator

It should use the passed schema.

* Add required attributes to keymap schema

* Rework subcommands to validate the JSON keymaps

The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.

* Fix required fields in keymap schema

* Add tests

* Fix compiling keymaps directly from keymap directory

* Schema should not require version for now.
2022-02-28 20:02:39 +00:00
..
api_keyboard.jsonschema Optimize our jsonschema by using refs (#13271) 2021-06-24 20:48:53 -07:00
definitions.jsonschema Allow NO_PIN within info.json (#16359) 2022-02-15 15:41:16 +11:00
false.jsonschema add missing schemas 2021-01-07 21:21:12 -08:00
keyboard.jsonschema Remove half implemented micronucleus bootloader support (#16252) 2022-02-06 22:59:03 +00:00
keymap.jsonschema CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
true.jsonschema add missing schemas 2021-01-07 21:21:12 -08:00