Browse Source

loosen up the schema to allow any pin format

pull/11101/head
Zach White 3 years ago
parent
commit
e41762be64
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      data/schemas/keyboard.jsonschema

+ 3
- 6
data/schemas/keyboard.jsonschema View File

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


Loading…
Cancel
Save