diff options
-rw-r--r-- | data/schemas/keyboard.jsonschema | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index f250ffd8a..9355ee49b 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema | |||
@@ -163,7 +163,8 @@ | |||
163 | "items": { | 163 | "items": { |
164 | "oneOf": [ | 164 | "oneOf": [ |
165 | { | 165 | { |
166 | "type": "string" | 166 | "type": "string", |
167 | "pattern": "^[A-K]\\d{1,2}$" | ||
167 | }, | 168 | }, |
168 | { | 169 | { |
169 | "type": "null" | 170 | "type": "null" |
@@ -175,13 +176,15 @@ | |||
175 | "cols": { | 176 | "cols": { |
176 | "type": "array", | 177 | "type": "array", |
177 | "items": { | 178 | "items": { |
178 | "type": "string" | 179 | "type": "string", |
180 | "pattern": "^[A-K]\\d{1,2}$" | ||
179 | } | 181 | } |
180 | }, | 182 | }, |
181 | "rows": { | 183 | "rows": { |
182 | "type": "array", | 184 | "type": "array", |
183 | "items": { | 185 | "items": { |
184 | "type": "string" | 186 | "type": "string", |
187 | "pattern": "^[A-K]\\d{1,2}$" | ||
185 | } | 188 | } |
186 | } | 189 | } |
187 | } | 190 | } |