From 82007aa03a93ba77e54f4660c80ef3749630de0c Mon Sep 17 00:00:00 2001 From: Zach White Date: Wed, 6 Jan 2021 10:37:53 -0800 Subject: [PATCH] Revert "loosen up the schema to allow any pin format" This reverts commit e41762be64c170f42ab3f8aa6b7e3078e5895e92. --- data/schemas/keyboard.jsonschema | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index f250ffd8a9a..9355ee49bd3 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}$" } } }