summaryrefslogtreecommitdiff
path: root/data/schemas/api_keyboard.jsonschema
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2020-12-01 12:58:00 -0800
committerZach White <skullydazed@drpepper.org>2021-01-07 21:21:12 -0800
commit266a85eda0cbb63852565d0c1d7ddb24700b8c1f (patch)
tree54223d4301f98fe89183031e1bd7a06abba47b87 /data/schemas/api_keyboard.jsonschema
parent0d3aca062e3fd7a4b351a9edc42c6b36686abd4f (diff)
downloadqmk_firmware-266a85eda0cbb63852565d0c1d7ddb24700b8c1f.tar.gz
qmk_firmware-266a85eda0cbb63852565d0c1d7ddb24700b8c1f.zip
add missing schemas
Diffstat (limited to 'data/schemas/api_keyboard.jsonschema')
-rw-r--r--data/schemas/api_keyboard.jsonschema35
1 files changed, 35 insertions, 0 deletions
diff --git a/data/schemas/api_keyboard.jsonschema b/data/schemas/api_keyboard.jsonschema
new file mode 100644
index 0000000000..d570ee9990
--- /dev/null
+++ b/data/schemas/api_keyboard.jsonschema
@@ -0,0 +1,35 @@
+{
+ "allOf": [
+ { "$ref": "qmk.keyboard.v1" },
+ {
+ "$id": "qmk.api.keyboard.v1",
+ "keymaps": {
+ "type": "string"
+ },
+ "parse_errors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "parse_warnings": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "processor_type": {
+ "type": "string"
+ },
+ "protocol": {
+ "type": "string"
+ },
+ "keyboard_folder": {
+ "type": "string"
+ },
+ "platform": {
+ "type": "string"
+ }
+ }
+ ]
+}