summaryrefslogtreecommitdiff
path: root/data/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'data/schemas')
-rw-r--r--data/schemas/keyboard.jsonschema9
1 files changed, 6 insertions, 3 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index f250ffd8a9..9355ee49bd 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -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}$"
}
}
}