diff options
Diffstat (limited to 'data/schemas/user_repo_v1_1.jsonschema')
-rw-r--r-- | data/schemas/user_repo_v1_1.jsonschema | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/data/schemas/user_repo_v1_1.jsonschema b/data/schemas/user_repo_v1_1.jsonschema new file mode 100644 index 0000000000..5a7ccce063 --- /dev/null +++ b/data/schemas/user_repo_v1_1.jsonschema @@ -0,0 +1,31 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema#", + "$id": "qmk.user_repo.v1_1", + "title": "User Repository Information", + "type": "object", + "definitions": { + "build_target": { + "oneOf": [ + {"$ref": "qmk.definitions.v1#/keyboard_keymap_tuple"}, + {"$ref": "qmk.definitions.v1#/keyboard_keymap_env"}, + {"$ref": "qmk.definitions.v1#/json_file_path"} + ] + }, + }, + "required": [ + "userspace_version", + "build_targets" + ], + "properties": { + "userspace_version": { + "type": "string", + "enum": ["1.1"] + }, + "build_targets": { + "type": "array", + "items": { + "$ref": "#/definitions/build_target" + } + } + } +} |