summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-03-05 23:07:47 +0000
committerGitHub <noreply@github.com>2023-03-06 10:07:47 +1100
commit500c4b748491727aa66f72331702072a8417d528 (patch)
tree93d966ae9eb565bd3c655d69d94997b2eb424913 /data
parent07b7fed122a612f2304211f37cf19ea7b392905a (diff)
Reject VIA keys within info.json (#20026)
Diffstat (limited to 'data')
-rw-r--r--data/schemas/keyboard.jsonschema1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 6f4f9c82ac..2afc1ed516 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -23,6 +23,7 @@
}
},
"type": "object",
+ "not": { "required": [ "vendorId", "productId" ] }, // reject via keys...
"properties": {
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
"keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},