summaryrefslogtreecommitdiff
path: root/data/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'data/schemas')
-rw-r--r--data/schemas/keyboard.jsonschema7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 95387ba367..6f4f9c82ac 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -108,6 +108,10 @@
"type": "object",
"additionalProperties": false,
"properties": {
+ "driver": {
+ "type": "string",
+ "enum": ["pwm", "software", "timer", "custom"]
+ },
"breathing": {"type": "boolean"},
"breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"levels": {
@@ -118,7 +122,8 @@
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
- "on_state": {"$ref": "qmk.definitions.v1#/bit"}
+ "on_state": {"$ref": "qmk.definitions.v1#/bit"},
+ "as_caps_lock": {"type": "boolean"}
}
},
"bluetooth": {