aboutsummaryrefslogtreecommitdiff
path: root/data/schemas/community_module.jsonschema
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2025-02-28 09:23:04 +1100
committerNick Brassel <nick@tzarc.org>2025-02-28 09:23:04 +1100
commita63fd7f01cdabd9ce85bb09ae2b573fd3b8e60aa (patch)
tree35d817580e5244d62a150a2d012f72906a610977 /data/schemas/community_module.jsonschema
parent6d0e5728aa61b442885d48caf49d29e5c60e8197 (diff)
parentcdb865cf60b17593f5c811c24a21d7b3030d8653 (diff)
Merge remote-tracking branch 'upstream/develop'
Diffstat (limited to 'data/schemas/community_module.jsonschema')
-rw-r--r--data/schemas/community_module.jsonschema17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/schemas/community_module.jsonschema b/data/schemas/community_module.jsonschema
new file mode 100644
index 0000000000..a3474476df
--- /dev/null
+++ b/data/schemas/community_module.jsonschema
@@ -0,0 +1,17 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema#",
+ "$id": "qmk.community_module.v1",
+ "title": "Community Module Information",
+ "type": "object",
+ "required": ["module_name", "maintainer"]
+ "properties": {
+ "module_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
+ "maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "keycodes": {"$ref": "qmk.definitions.v1#/keycode_decl_array"},
+ "features": {"$ref": "qmk.keyboard.v1#/definitions/features_config"},
+ }
+}