mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
use valid json syntax for jsonschema
This commit is contained in:
parent
8cbd631fcb
commit
d667eb193d
@ -33,7 +33,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"not": {"required": ["vendorId", "productId"]}, // reject via keys...
|
"not": {
|
||||||
|
"$comment": "reject via keys...",
|
||||||
|
"required": ["vendorId", "productId"]
|
||||||
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||||
"keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
|
"keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
|
||||||
@ -351,7 +354,7 @@
|
|||||||
"axis_resolution": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
"axis_resolution": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
||||||
"axes": {
|
"axes": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": {"enum": ["x", "y", "z", "rx", "ry", "rz"]}
|
"propertyNames": {"enum": ["x", "y", "z", "rx", "ry", "rz"]},
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,8 @@
|
|||||||
"$ref": "qmk.definitions.v1#/hex_number_4d"
|
"$ref": "qmk.definitions.v1#/hex_number_4d"
|
||||||
},
|
},
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "object", // use 'qmk.definitions.v1#/keycode_decl' when problem keycodes are removed
|
"$comment": "use 'qmk.definitions.v1#/keycode_decl' when problem keycodes are removed",
|
||||||
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"key"
|
"key"
|
||||||
],
|
],
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"userspace_version": {
|
"userspace_version": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{"$ref": "qmk.definitions.v1#/keyboard_keymap_tuple"},
|
{"$ref": "qmk.definitions.v1#/keyboard_keymap_tuple"},
|
||||||
{"$ref": "qmk.definitions.v1#/json_file_path"}
|
{"$ref": "qmk.definitions.v1#/json_file_path"}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"userspace_version",
|
"userspace_version",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
{"$ref": "qmk.definitions.v1#/keyboard_keymap_env"},
|
{"$ref": "qmk.definitions.v1#/keyboard_keymap_env"},
|
||||||
{"$ref": "qmk.definitions.v1#/json_file_path"}
|
{"$ref": "qmk.definitions.v1#/json_file_path"}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"userspace_version",
|
"userspace_version",
|
||||||
|
Loading…
Reference in New Issue
Block a user