diff options
Diffstat (limited to 'data/schemas')
| -rw-r--r-- | data/schemas/keyboard.jsonschema | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 967b5f990..f5fb611bd 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema | |||
| @@ -85,8 +85,16 @@ | |||
| 85 | "layout_aliases": { | 85 | "layout_aliases": { |
| 86 | "type": "object", | 86 | "type": "object", |
| 87 | "additionalProperties": { | 87 | "additionalProperties": { |
| 88 | "type": "string", | 88 | "oneOf": [ |
| 89 | "pattern": "^LAYOUT_[0-9a-z_]*$" | 89 | { |
| 90 | "type": "string", | ||
| 91 | "enum": ["LAYOUT"] | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | "type": "string", | ||
| 95 | "pattern": "^LAYOUT_[0-9a-z_]*$" | ||
| 96 | } | ||
| 97 | ] | ||
| 90 | } | 98 | } |
| 91 | }, | 99 | }, |
| 92 | "layouts": { | 100 | "layouts": { |
