summaryrefslogtreecommitdiff
path: root/data/schemas/keyboard.jsonschema
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-03-04 17:06:15 +0000
committerGitHub <noreply@github.com>2022-03-04 18:06:15 +0100
commitc0185116d780cee4bf61c70be0221be2e8ce5962 (patch)
tree04483f6a27de52e584ebfbb14437d81bf9b2f401 /data/schemas/keyboard.jsonschema
parent34ba7f1c18a6924f47947e76b32d7620411d1e7a (diff)
downloadqmk_firmware-c0185116d780cee4bf61c70be0221be2e8ce5962.tar.gz
qmk_firmware-c0185116d780cee4bf61c70be0221be2e8ce5962.zip
More validation of declared LAYOUT macro names (#16520)
Diffstat (limited to 'data/schemas/keyboard.jsonschema')
-rw-r--r--data/schemas/keyboard.jsonschema1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index fc0844a086..a8b3d06933 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -109,6 +109,7 @@
},
"layouts": {
"type": "object",
+ "propertyNames": {"$ref": "qmk.definitions.v1#/layout_macro"},
"additionalProperties": {
"type": "object",
"additionalProperties": false,