Skip to content

Commit

Permalink
loosen up the schema to allow any pin format
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Jan 6, 2021
1 parent 68da9cd commit e41762b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions data/schemas/keyboard.jsonschema
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@
"items": {
"oneOf": [
{
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
"type": "string"
},
{
"type": "null"
Expand All @@ -176,15 +175,13 @@
"cols": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
"type": "string"
}
},
"rows": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
"type": "string"
}
}
}
Expand Down

0 comments on commit e41762b

Please sign in to comment.