summaryrefslogtreecommitdiff
path: root/data/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'data/schemas')
-rw-r--r--data/schemas/keymap.jsonschema14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema
index 2fcd5f8a51..73aa7c5c22 100644
--- a/data/schemas/keymap.jsonschema
+++ b/data/schemas/keymap.jsonschema
@@ -21,6 +21,20 @@
"items": {"type": "string"}
}
},
+ "encoders": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["ccw", "cw"],
+ "properties": {
+ "ccw": {"type": "string"},
+ "cw": {"type": "string"}
+ }
+ }
+ }
+ },
"macros": {
"type": "array",
"items": {