diff options
Diffstat (limited to 'data/schemas/keymap.jsonschema')
| -rw-r--r-- | data/schemas/keymap.jsonschema | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema new file mode 100644 index 000000000..35c5b5c98 --- /dev/null +++ b/data/schemas/keymap.jsonschema | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | { | ||
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", | ||
| 3 | "$id": "qmk.keymap.v1", | ||
| 4 | "title": "Keymap Information", | ||
| 5 | "type": "object", | ||
| 6 | "properties": { | ||
| 7 | "author": {"$ref": "qmk.definitions.v1#/text_identifier"}, | ||
| 8 | "keyboard": {"$ref": "qmk.definitions.v1#/text_identifier"}, | ||
| 9 | "keymap": {"$ref": "qmk.definitions.v1#/text_identifier"}, | ||
| 10 | "layout": {"$ref": "qmk.definitions.v1#/layout_macro"}, | ||
| 11 | "layers": { | ||
| 12 | "type": "array", | ||
| 13 | "items": { | ||
| 14 | "type": "array", | ||
| 15 | "items": {"type": "string"} | ||
| 16 | } | ||
| 17 | }, | ||
| 18 | "config": {"$ref": "qmk.keyboard.v1"}, | ||
| 19 | "notes": { | ||
| 20 | "type": "string", | ||
| 21 | "description": "asdf" | ||
| 22 | } | ||
| 23 | } | ||
| 24 | } \ No newline at end of file | ||
