diff options
| author | Zach White <skullydazed@gmail.com> | 2021-01-08 00:00:15 -0800 |
|---|---|---|
| committer | Zach White <skullydazed@drpepper.org> | 2021-01-08 08:40:23 -0800 |
| commit | 30331b383f9ef4620e47aa07e4f9af7fae9d30b3 (patch) | |
| tree | 4d1a12b52d99aa3c31f6a859c9a71959159d58de /data | |
| parent | a828a82d59b6205a56f7d42d51217f13ffbcb0d5 (diff) | |
| download | qmk_firmware-30331b383f9ef4620e47aa07e4f9af7fae9d30b3.tar.gz qmk_firmware-30331b383f9ef4620e47aa07e4f9af7fae9d30b3.zip | |
fix bugs triggered by certain boards
Diffstat (limited to 'data')
| -rw-r--r-- | data/schemas/keyboard.jsonschema | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 9355ee49b..e13771e92 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema | |||
| @@ -167,6 +167,10 @@ | |||
| 167 | "pattern": "^[A-K]\\d{1,2}$" | 167 | "pattern": "^[A-K]\\d{1,2}$" |
| 168 | }, | 168 | }, |
| 169 | { | 169 | { |
| 170 | "type": "number", | ||
| 171 | "multipleOf": 1 | ||
| 172 | }, | ||
| 173 | { | ||
| 170 | "type": "null" | 174 | "type": "null" |
| 171 | } | 175 | } |
| 172 | ] | 176 | ] |
| @@ -176,15 +180,37 @@ | |||
| 176 | "cols": { | 180 | "cols": { |
| 177 | "type": "array", | 181 | "type": "array", |
| 178 | "items": { | 182 | "items": { |
| 179 | "type": "string", | 183 | "oneOf": [ |
| 180 | "pattern": "^[A-K]\\d{1,2}$" | 184 | { |
| 185 | "type": "string", | ||
| 186 | "pattern": "^[A-K]\\d{1,2}$" | ||
| 187 | }, | ||
| 188 | { | ||
| 189 | "type": "number", | ||
| 190 | "multipleOf": 1 | ||
| 191 | }, | ||
| 192 | { | ||
| 193 | "type": "null" | ||
| 194 | } | ||
| 195 | ] | ||
| 181 | } | 196 | } |
| 182 | }, | 197 | }, |
| 183 | "rows": { | 198 | "rows": { |
| 184 | "type": "array", | 199 | "type": "array", |
| 185 | "items": { | 200 | "items": { |
| 186 | "type": "string", | 201 | "oneOf": [ |
| 187 | "pattern": "^[A-K]\\d{1,2}$" | 202 | { |
| 203 | "type": "string", | ||
| 204 | "pattern": "^[A-K]\\d{1,2}$" | ||
| 205 | }, | ||
| 206 | { | ||
| 207 | "type": "number", | ||
| 208 | "multipleOf": 1 | ||
| 209 | }, | ||
| 210 | { | ||
| 211 | "type": "null" | ||
| 212 | } | ||
| 213 | ] | ||
| 188 | } | 214 | } |
| 189 | } | 215 | } |
| 190 | } | 216 | } |
