aboutsummaryrefslogtreecommitdiff
path: root/data
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 /data
parente2e793c1c3efeb96108072c2c8a57555c0fa76a0 (diff)
downloadqmk_firmware-82007aa03a93ba77e54f4660c80ef3749630de0c.tar.gz
qmk_firmware-82007aa03a93ba77e54f4660c80ef3749630de0c.zip
Revert "loosen up the schema to allow any pin format"
This reverts commit e41762be64c170f42ab3f8aa6b7e3078e5895e92.
Diffstat (limited to 'data')
-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 f250ffd8a..9355ee49b 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -163,7 +163,8 @@
163 "items": { 163 "items": {
164 "oneOf": [ 164 "oneOf": [
165 { 165 {
166 "type": "string" 166 "type": "string",
167 "pattern": "^[A-K]\\d{1,2}$"
167 }, 168 },
168 { 169 {
169 "type": "null" 170 "type": "null"
@@ -175,13 +176,15 @@
175 "cols": { 176 "cols": {
176 "type": "array", 177 "type": "array",
177 "items": { 178 "items": {
178 "type": "string" 179 "type": "string",
180 "pattern": "^[A-K]\\d{1,2}$"
179 } 181 }
180 }, 182 },
181 "rows": { 183 "rows": {
182 "type": "array", 184 "type": "array",
183 "items": { 185 "items": {
184 "type": "string" 186 "type": "string",
187 "pattern": "^[A-K]\\d{1,2}$"
185 } 188 }
186 } 189 }
187 } 190 }