summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2020-12-01 16:04:22 -0800
committerZach White <skullydazed@drpepper.org>2021-01-07 21:21:12 -0800
commitb2c26f7cdd4b268e80f98cae7f444956559436ec (patch)
treea621c5ac6baee49c128ada7f9af940d50440eb3e /data
parent266a85eda0cbb63852565d0c1d7ddb24700b8c1f (diff)
get qmk generate-api into a good state
Diffstat (limited to 'data')
-rw-r--r--data/schemas/keyboard.jsonschema33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 75e792b646..9355ee49bd 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -90,6 +90,9 @@
"type": "object",
"additionalProperties": false,
"properties": {
+ "filename": {
+ "type": "string"
+ },
"c_macro": {
"type": "boolean"
},
@@ -119,6 +122,18 @@
"type": "number",
"min": 0.25
},
+ "r": {
+ "type": "number",
+ "min": 0
+ },
+ "rx": {
+ "type": "number",
+ "min": 0
+ },
+ "ry": {
+ "type": "number",
+ "min": 0
+ },
"w": {
"type": "number",
"min": 0.25
@@ -199,6 +214,12 @@
"min": 0,
"multipleOf": 1
},
+ "max_brightness": {
+ "type": "number",
+ "min": 0,
+ "max": 255,
+ "multipleOf": 1
+ },
"pin": {
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
@@ -207,6 +228,18 @@
"type": "number",
"min": 0,
"multipleOf": 1
+ },
+ "sleep": {"type": "boolean"},
+ "split": {"type": "boolean"},
+ "split_count": {
+ "type": "array",
+ "minLength": 2,
+ "maxLength": 2,
+ "items": {
+ "type": "number",
+ "min": 0,
+ "multipleOf": 1
+ }
}
}
},