diff options
Diffstat (limited to 'data/schemas/community_module.jsonschema')
-rw-r--r-- | data/schemas/community_module.jsonschema | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/schemas/community_module.jsonschema b/data/schemas/community_module.jsonschema new file mode 100644 index 0000000000..92981ceb5c --- /dev/null +++ b/data/schemas/community_module.jsonschema @@ -0,0 +1,18 @@ +{ + "$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": "./definitions.jsonschema#/text_identifier"}, + "maintainer": {"$ref": "./definitions.jsonschema#/text_identifier"}, + "license": {"type": "string"}, + "url": { + "type": "string", + "format": "uri" + }, + "keycodes": {"$ref": "./definitions.jsonschema#/keycode_decl_array"}, + "features": {"$ref": "./keyboard.jsonschema#/definitions/features_config"} + } +} |