diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/schemas/keyboard.jsonschema | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 75e792b64..9355ee49b 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema | |||
@@ -90,6 +90,9 @@ | |||
90 | "type": "object", | 90 | "type": "object", |
91 | "additionalProperties": false, | 91 | "additionalProperties": false, |
92 | "properties": { | 92 | "properties": { |
93 | "filename": { | ||
94 | "type": "string" | ||
95 | }, | ||
93 | "c_macro": { | 96 | "c_macro": { |
94 | "type": "boolean" | 97 | "type": "boolean" |
95 | }, | 98 | }, |
@@ -119,6 +122,18 @@ | |||
119 | "type": "number", | 122 | "type": "number", |
120 | "min": 0.25 | 123 | "min": 0.25 |
121 | }, | 124 | }, |
125 | "r": { | ||
126 | "type": "number", | ||
127 | "min": 0 | ||
128 | }, | ||
129 | "rx": { | ||
130 | "type": "number", | ||
131 | "min": 0 | ||
132 | }, | ||
133 | "ry": { | ||
134 | "type": "number", | ||
135 | "min": 0 | ||
136 | }, | ||
122 | "w": { | 137 | "w": { |
123 | "type": "number", | 138 | "type": "number", |
124 | "min": 0.25 | 139 | "min": 0.25 |
@@ -199,6 +214,12 @@ | |||
199 | "min": 0, | 214 | "min": 0, |
200 | "multipleOf": 1 | 215 | "multipleOf": 1 |
201 | }, | 216 | }, |
217 | "max_brightness": { | ||
218 | "type": "number", | ||
219 | "min": 0, | ||
220 | "max": 255, | ||
221 | "multipleOf": 1 | ||
222 | }, | ||
202 | "pin": { | 223 | "pin": { |
203 | "type": "string", | 224 | "type": "string", |
204 | "pattern": "^[A-K]\\d{1,2}$" | 225 | "pattern": "^[A-K]\\d{1,2}$" |
@@ -207,6 +228,18 @@ | |||
207 | "type": "number", | 228 | "type": "number", |
208 | "min": 0, | 229 | "min": 0, |
209 | "multipleOf": 1 | 230 | "multipleOf": 1 |
231 | }, | ||
232 | "sleep": {"type": "boolean"}, | ||
233 | "split": {"type": "boolean"}, | ||
234 | "split_count": { | ||
235 | "type": "array", | ||
236 | "minLength": 2, | ||
237 | "maxLength": 2, | ||
238 | "items": { | ||
239 | "type": "number", | ||
240 | "min": 0, | ||
241 | "multipleOf": 1 | ||
242 | } | ||
210 | } | 243 | } |
211 | } | 244 | } |
212 | }, | 245 | }, |