Revert "loosen up the schema to allow any pin format"

This reverts commit e41762be64c170f42ab3f8aa6b7e3078e5895e92.
changelog
Zach White 4 years ago committed by Zach White
parent e2e793c1c3
commit 82007aa03a
  1. 9
      data/schemas/keyboard.jsonschema

@ -163,7 +163,8 @@
"items": { "items": {
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "string",
"pattern": "^[A-K]\\d{1,2}$"
}, },
{ {
"type": "null" "type": "null"
@ -175,13 +176,15 @@
"cols": { "cols": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string",
"pattern": "^[A-K]\\d{1,2}$"
} }
}, },
"rows": { "rows": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string",
"pattern": "^[A-K]\\d{1,2}$"
} }
} }
} }

Loading…
Cancel
Save