Use relative paths for schemas, instead of $id. Enables VScode validation. (#25251)

This commit is contained in:
Nick Brassel 2025-05-19 22:10:39 +10:00 committed by GitHub
parent f686ad9e63
commit 919e2a4f5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 197 additions and 169 deletions

View file

@ -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"
],