|
8 | 8 | "properties": {
|
9 | 9 | "driver": {
|
10 | 10 | "type": "string",
|
11 |
| - "enum": ["quadrature", "custom"] |
| 11 | + "enum": ["custom", "quadrature"] |
12 | 12 | },
|
13 | 13 | "rotary": {
|
14 | 14 | "type": "array",
|
|
28 | 28 | "dip_switch_config": {
|
29 | 29 | "type": "object",
|
30 | 30 | "properties": {
|
31 |
| - "pins": { |
32 |
| - "$ref": "qmk.definitions.v1#/mcu_pin_array" |
33 |
| - } |
| 31 | + "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"} |
34 | 32 | }
|
35 |
| - }, |
| 33 | + } |
36 | 34 | },
|
37 | 35 | "type": "object",
|
38 |
| - "not": { "required": [ "vendorId", "productId" ] }, // reject via keys... |
| 36 | + "not": {"required": ["vendorId", "productId"]}, // reject via keys... |
39 | 37 | "properties": {
|
40 | 38 | "keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
41 | 39 | "keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
|
|
146 | 144 | "properties": {
|
147 | 145 | "driver": {
|
148 | 146 | "type": "string",
|
149 |
| - "enum": ["pwm", "software", "timer", "custom"] |
| 147 | + "enum": ["custom", "pwm", "software", "timer"] |
150 | 148 | },
|
151 | 149 | "default": {
|
152 | 150 | "type": "object",
|
|
318 | 316 | },
|
319 | 317 | "features": {
|
320 | 318 | "$ref": "qmk.definitions.v1#/boolean_array",
|
321 |
| - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }, |
322 |
| - "not": { "required": [ "lto" ] } |
| 319 | + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, |
| 320 | + "not": {"required": ["lto"]} |
323 | 321 | },
|
324 | 322 | "indicators": {
|
325 | 323 | "type": "object",
|
|
344 | 342 | "type": "object",
|
345 | 343 | "additionalProperties": false,
|
346 | 344 | "properties": {
|
347 |
| - "filename": { |
348 |
| - "type": "string" |
349 |
| - }, |
350 |
| - "c_macro": { |
351 |
| - "type": "boolean" |
352 |
| - }, |
353 |
| - "json_layout": { |
354 |
| - "type": "boolean" |
355 |
| - }, |
| 345 | + "filename": {"type": "string"}, |
| 346 | + "c_macro": {"type": "boolean"}, |
| 347 | + "json_layout": {"type": "boolean"}, |
356 | 348 | "layout": {
|
357 | 349 | "type": "array",
|
358 | 350 | "items": {
|
|
435 | 427 | "properties": {
|
436 | 428 | "animations": {
|
437 | 429 | "type": "object",
|
438 |
| - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } |
439 |
| - "additionalProperties": { |
440 |
| - "type": "boolean" |
441 |
| - } |
| 430 | + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, |
| 431 | + "additionalProperties": {"type": "boolean"} |
442 | 432 | },
|
443 | 433 | "default": {
|
444 | 434 | "type": "object",
|
|
450 | 440 | "speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
|
451 | 441 | }
|
452 | 442 | },
|
453 |
| - "driver": {"type": "string"}, |
| 443 | + "driver": { |
| 444 | + "type": "string", |
| 445 | + "enum": [ |
| 446 | + "custom", |
| 447 | + "is31fl3218", |
| 448 | + "is31fl3729", |
| 449 | + "is31fl3731", |
| 450 | + "is31fl3733", |
| 451 | + "is31fl3736", |
| 452 | + "is31fl3737", |
| 453 | + "is31fl3741", |
| 454 | + "is31fl3742a", |
| 455 | + "is31fl3743a", |
| 456 | + "is31fl3745", |
| 457 | + "is31fl3746a", |
| 458 | + "snled27351" |
| 459 | + ] |
| 460 | + }, |
454 | 461 | "center_point": {
|
455 | 462 | "type": "array",
|
456 | 463 | "minItems": 2,
|
|
499 | 506 | "properties": {
|
500 | 507 | "animations": {
|
501 | 508 | "type": "object",
|
502 |
| - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } |
503 |
| - "additionalProperties": { |
504 |
| - "type": "boolean" |
505 |
| - } |
| 509 | + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, |
| 510 | + "additionalProperties": {"type": "boolean"} |
506 | 511 | },
|
507 | 512 | "default": {
|
508 | 513 | "type": "object",
|
|
516 | 521 | "speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
|
517 | 522 | }
|
518 | 523 | },
|
519 |
| - "driver": {"type": "string"}, |
| 524 | + "driver": { |
| 525 | + "type": "string", |
| 526 | + "enum": [ |
| 527 | + "aw20216s", |
| 528 | + "custom", |
| 529 | + "is31fl3218", |
| 530 | + "is31fl3729", |
| 531 | + "is31fl3731", |
| 532 | + "is31fl3733", |
| 533 | + "is31fl3736", |
| 534 | + "is31fl3737", |
| 535 | + "is31fl3741", |
| 536 | + "is31fl3742a", |
| 537 | + "is31fl3743a", |
| 538 | + "is31fl3745", |
| 539 | + "is31fl3746a", |
| 540 | + "snled27351", |
| 541 | + "ws2812" |
| 542 | + ] |
| 543 | + }, |
520 | 544 | "center_point": {
|
521 | 545 | "type": "array",
|
522 | 546 | "minItems": 2,
|
|
568 | 592 | "properties": {
|
569 | 593 | "animations": {
|
570 | 594 | "type": "object",
|
571 |
| - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } |
572 |
| - "additionalProperties": { |
573 |
| - "type": "boolean" |
574 |
| - } |
| 595 | + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, |
| 596 | + "additionalProperties": {"type": "boolean"} |
575 | 597 | },
|
576 | 598 | "brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
577 | 599 | "default": {
|
|
774 | 796 | "st7565": {"type": "boolean"},
|
775 | 797 | "wpm": {"type": "boolean"}
|
776 | 798 | }
|
777 |
| - } |
| 799 | + }, |
778 | 800 | "watchdog": {"type": "boolean"},
|
779 | 801 | "watchdog_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
780 | 802 | "sync_matrix_state": {
|
|
0 commit comments