Browse Source

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

This reverts commit e41762be64.
pull/11473/head
Zach White 3 years ago
committed by Zach White
parent
commit
82007aa03a
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      data/schemas/keyboard.jsonschema

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

@ -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}$"
}
}
}


Loading…
Cancel
Save