summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-01-06 10:37:53 -0800
committerZach White <skullydazed@drpepper.org>2021-01-07 21:21:12 -0800
commit82007aa03a93ba77e54f4660c80ef3749630de0c (patch)
tree133e8f8f7ee6a8638c1e2f4d6524022fb1a6240d
parente2e793c1c3efeb96108072c2c8a57555c0fa76a0 (diff)
Revert "loosen up the schema to allow any pin format"
This reverts commit e41762be64c170f42ab3f8aa6b7e3078e5895e92.
-rw-r--r--data/schemas/keyboard.jsonschema9
1 files changed, 6 insertions, 3 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index f250ffd8a9..9355ee49bd 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -163,7 +163,8 @@
"items": {
"oneOf": [
{
- "type": "string"
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
},
{
"type": "null"
@@ -175,13 +176,15 @@
"cols": {
"type": "array",
"items": {
- "type": "string"
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
}
},
"rows": {
"type": "array",
"items": {
- "type": "string"
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
}
}
}