diff options
Diffstat (limited to 'data/schemas/api_keyboard.jsonschema')
-rw-r--r-- | data/schemas/api_keyboard.jsonschema | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/data/schemas/api_keyboard.jsonschema b/data/schemas/api_keyboard.jsonschema new file mode 100644 index 000000000..d638658a1 --- /dev/null +++ b/data/schemas/api_keyboard.jsonschema | |||
@@ -0,0 +1,23 @@ | |||
1 | { | ||
2 | "$id": "qmk.api.keyboard.v1", | ||
3 | "allOf": [ | ||
4 | {"$ref": "qmk.keyboard.v1"}, | ||
5 | { | ||
6 | "properties": { | ||
7 | "keymaps": { | ||
8 | "type": "object", | ||
9 | "properties": { | ||
10 | "url": {"type": "string"} | ||
11 | } | ||
12 | |||
13 | }, | ||
14 | "parse_errors": {"$ref": "qmk.definitions.v1#/string_array"}, | ||
15 | "parse_warnings": {"$ref": "qmk.definitions.v1#/string_array"}, | ||
16 | "processor_type": {"type": "string"}, | ||
17 | "protocol": {"type": "string"}, | ||
18 | "keyboard_folder": {"type": "string"}, | ||
19 | "platform": {"type": "string"} | ||
20 | } | ||
21 | } | ||
22 | ] | ||
23 | } | ||