fix bugs triggered by certain boards

This commit is contained in:
Zach White 2021-01-08 00:00:15 -08:00 committed by Zach White
parent a828a82d59
commit 30331b383f
4 changed files with 59 additions and 20 deletions

View file

@ -166,6 +166,10 @@
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
},
{
"type": "number",
"multipleOf": 1
},
{
"type": "null"
}
@ -176,15 +180,37 @@
"cols": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
"oneOf": [
{
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
},
{
"type": "number",
"multipleOf": 1
},
{
"type": "null"
}
]
}
},
"rows": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
"oneOf": [
{
"type": "string",
"pattern": "^[A-K]\\d{1,2}$"
},
{
"type": "number",
"multipleOf": 1
},
{
"type": "null"
}
]
}
}
}