summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/mappings/info_defaults.hjson3
-rw-r--r--data/schemas/keyboard.jsonschema11
2 files changed, 14 insertions, 0 deletions
diff --git a/data/mappings/info_defaults.hjson b/data/mappings/info_defaults.hjson
index d1f1579c55..fd59dacac0 100644
--- a/data/mappings/info_defaults.hjson
+++ b/data/mappings/info_defaults.hjson
@@ -11,6 +11,9 @@
11 "on_state": 1 11 "on_state": 1
12 }, 12 },
13 "debounce": 5, 13 "debounce": 5,
14 "dynamic_keymap": {
15 "layer_count": 4
16 },
14 "features": { 17 "features": {
15 "command": false, 18 "command": false,
16 "console": false 19 "console": false
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 57aeb3de22..d3a26923b5 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -333,6 +333,17 @@
333 } 333 }
334 } 334 }
335 }, 335 },
336 "dynamic_keymap": {
337 "type": "object",
338 "properties": {
339 "eeprom_max_addr": {"$ref": "./definitions.jsonschema#/unsigned_int"},
340 "layer_count": {
341 "type": "integer",
342 "minimum": 1,
343 "maximum": 32
344 }
345 }
346 },
336 "eeprom": { 347 "eeprom": {
337 "properties": { 348 "properties": {
338 "driver": {"type": "string"}, 349 "driver": {"type": "string"},