diff options
Diffstat (limited to 'data/schemas/keyboard.jsonschema')
| -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 | } |
