aboutsummaryrefslogtreecommitdiffstats
path: root/data/schemas/keycodes.jsonschema
diff options
context:
space:
mode:
authorNick Brassel2025-05-19 14:10:39 +0200
committerGitHub2025-05-19 14:10:39 +0200
commit919e2a4f5c1fb8cb3a0bd465091a31ae98486546 (patch)
tree8b0114ec0ca90724a5f12e217219c27cc576b4d1 /data/schemas/keycodes.jsonschema
parentf686ad9e6361e05fcfa78f453f90cd72181a7516 (diff)
Use relative paths for schemas, instead of $id. Enables VScode validation. (#25251)
Diffstat (limited to 'data/schemas/keycodes.jsonschema')
-rw-r--r--data/schemas/keycodes.jsonschema4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/schemas/keycodes.jsonschema b/data/schemas/keycodes.jsonschema
index df6ce95a83..0f9dfc763e 100644
--- a/data/schemas/keycodes.jsonschema
+++ b/data/schemas/keycodes.jsonschema
@@ -30,10 +30,10 @@
"keycodes": {
"type": "object",
"propertyNames": {
- "$ref": "qmk.definitions.v1#/hex_number_4d"
+ "$ref": "./definitions.jsonschema#/hex_number_4d"
},
"additionalProperties": {
- "type": "object", // use 'qmk.definitions.v1#/keycode_decl' when problem keycodes are removed
+ "type": "object", // use './definitions.jsonschema#/keycode_decl' when problem keycodes are removed
"required": [
"key"
],