summaryrefslogtreecommitdiff
path: root/data/schemas/definitions.jsonschema
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-01 10:25:43 +0100
committerGitHub <noreply@github.com>2022-04-01 10:25:43 +0100
commit11db29bedb24acc6d8c8ab30e4fa7d80b208b023 (patch)
treeded828de94c07e733bbf951b19541de0510fb4df /data/schemas/definitions.jsonschema
parent64974a7f8fbda680ea307a9a4c2cb1cfbe92c01e (diff)
Lint keyboard/project name (#16766)
Diffstat (limited to 'data/schemas/definitions.jsonschema')
-rw-r--r--data/schemas/definitions.jsonschema16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/schemas/definitions.jsonschema b/data/schemas/definitions.jsonschema
index 46aba52cbd..cca30af827 100644
--- a/data/schemas/definitions.jsonschema
+++ b/data/schemas/definitions.jsonschema
@@ -71,6 +71,22 @@
"type": "number",
"min": 0.25
},
+ "keyboard": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "converter/numeric_keypad_IIe",
+ "emptystring/NQG",
+ "maple_computing/christmas_tree/V2017"
+ ]
+ },
+ {
+ "type": "string",
+ "pattern": "^[0-9a-z][0-9a-z_/]*$"
+ }
+ ]
+ },
"mcu_pin_array": {
"type": "array",
"items": {"$ref": "#/mcu_pin"}