aboutsummaryrefslogtreecommitdiff
path: root/data/schemas/keymap.jsonschema
diff options
context:
space:
mode:
Diffstat (limited to 'data/schemas/keymap.jsonschema')
-rw-r--r--data/schemas/keymap.jsonschema11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema
index 99aeaa6b6c..71b39fc7c4 100644
--- a/data/schemas/keymap.jsonschema
+++ b/data/schemas/keymap.jsonschema
@@ -35,6 +35,17 @@
}
}
},
+ "dip_switches": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["on", "off"],
+ "properties": {
+ "on": {"type": "string"},
+ "off": {"type": "string"}
+ }
+ }
+ },
"macros": {
"type": "array",
"items": {