aboutsummaryrefslogtreecommitdiffstats
path: root/data/schemas/community_module.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/community_module.jsonschema
parentf686ad9e6361e05fcfa78f453f90cd72181a7516 (diff)
Use relative paths for schemas, instead of $id. Enables VScode validation. (#25251)
Diffstat (limited to 'data/schemas/community_module.jsonschema')
-rw-r--r--data/schemas/community_module.jsonschema8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/schemas/community_module.jsonschema b/data/schemas/community_module.jsonschema
index feced00508..92981ceb5c 100644
--- a/data/schemas/community_module.jsonschema
+++ b/data/schemas/community_module.jsonschema
@@ -5,14 +5,14 @@
"type": "object",
"required": ["module_name", "maintainer"],
"properties": {
- "module_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
- "maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
+ "module_name": {"$ref": "./definitions.jsonschema#/text_identifier"},
+ "maintainer": {"$ref": "./definitions.jsonschema#/text_identifier"},
"license": {"type": "string"},
"url": {
"type": "string",
"format": "uri"
},
- "keycodes": {"$ref": "qmk.definitions.v1#/keycode_decl_array"},
- "features": {"$ref": "qmk.keyboard.v1#/definitions/features_config"}
+ "keycodes": {"$ref": "./definitions.jsonschema#/keycode_decl_array"},
+ "features": {"$ref": "./keyboard.jsonschema#/definitions/features_config"}
}
}