diff options
Diffstat (limited to 'data/schemas')
| -rw-r--r-- | data/schemas/definitions.jsonschema | 5 | ||||
| -rw-r--r-- | data/schemas/keyboard.jsonschema | 98 | 
2 files changed, 99 insertions, 4 deletions
diff --git a/data/schemas/definitions.jsonschema b/data/schemas/definitions.jsonschema index cca30af827..1bdfbbeb03 100644 --- a/data/schemas/definitions.jsonschema +++ b/data/schemas/definitions.jsonschema @@ -41,8 +41,6 @@                      "LAYOUT_2x2uC",                      "LAYOUT_2x3uC",                      "LAYOUT_625uC", -                    "LAYOUT_ANSI_DEFAULT", -                    "LAYOUT_JP",                      "LAYOUT_ortho_3x12_1x2uC",                      "LAYOUT_ortho_4x12_1x2uC",                      "LAYOUT_ortho_4x12_1x2uL", @@ -57,8 +55,7 @@                      "LAYOUT_planck_1x2uR",                      "LAYOUT_preonic_1x2uC",                      "LAYOUT_preonic_1x2uL", -                    "LAYOUT_preonic_1x2uR", -                    "LAYOUT_reviung34_2uL" +                    "LAYOUT_preonic_1x2uR"                  ]              },              { diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index adb63fd13e..ba1a6b6cc9 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -12,6 +12,14 @@              "type": "string",              "format": "uri"          }, +        "development_board": { +            "type": "string", +            "enum": ["promicro", "elite_c", "proton_c", "bluepill", "blackpill_f401", "blackpill_f411"] +        }, +        "pin_compatible": { +            "type": "string", +            "enum": ["promicro"] +        },          "processor": {              "type": "string",              "enum": ["cortex-m0", "cortex-m0plus", "cortex-m3", "cortex-m4", "MKL26Z64", "MK20DX128", "MK20DX256", "MK66FX1M0", "STM32F042", "STM32F072", "STM32F103", "STM32F303", "STM32F401", "STM32F405", "STM32F407", "STM32F411", "STM32F446", "STM32G431", "STM32G474", "STM32L412", "STM32L422", "STM32L432", "STM32L433", "STM32L442", "STM32L443", "GD32VF103", "WB32F3G71", "atmega16u2", "atmega32u2", "atmega16u4", "atmega32u4", "at90usb162", "at90usb646", "at90usb647", "at90usb1286", "at90usb1287", "atmega32a", "atmega328p", "atmega328", "attiny85", "unknown"] @@ -84,6 +92,16 @@              "enum": ["COL2ROW", "ROW2COL"]          },          "debounce": {"$ref": "qmk.definitions.v1#/unsigned_int"}, +        "caps_word": { +            "type": "object", +            "additionalProperties": false, +            "properties": { +                "enabled": {"type": "boolean"}, +                "both_shifts_turns_on": {"type": "boolean"}, +                "double_tap_shift_turns_on": {"type": "boolean"}, +                "idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}, +            }, +        },          "combo": {              "type": "object",              "properties": { @@ -194,6 +212,62 @@                  "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}              }          }, +        "led_matrix": { +            "type": "object", +            "properties": { +                "driver": {"type": "string"}, +                "layout": { +                    "type": "array", +                    "items": { +                        "type": "object", +                        "additionalProperties": false, +                        "properties": { +                            "matrix": { +                                "type": "array", +                                "minItems": 2, +                                "maxItems": 2, +                                "items": { +                                    "type": "number", +                                    "min": 0, +                                    "multipleOf": 1 +                                } +                            }, +                            "x": {"$ref": "qmk.definitions.v1#/key_unit"}, +                            "y": {"$ref": "qmk.definitions.v1#/key_unit"}, +                            "flags": {"$ref": "qmk.definitions.v1#/unsigned_decimal"} +                        } +                    } +                } +            } +        }, +        "rgb_matrix": { +            "type": "object", +            "properties": { +                "driver": {"type": "string"}, +                "layout": { +                    "type": "array", +                    "items": { +                        "type": "object", +                        "additionalProperties": false, +                        "properties": { +                            "matrix": { +                                "type": "array", +                                "minItems": 2, +                                "maxItems": 2, +                                "items": { +                                    "type": "number", +                                    "min": 0, +                                    "multipleOf": 1 +                                } +                            }, +                            "x": {"$ref": "qmk.definitions.v1#/key_unit"}, +                            "y": {"$ref": "qmk.definitions.v1#/key_unit"}, +                            "flags": {"$ref": "qmk.definitions.v1#/unsigned_decimal"} +                        } +                    } +                } +            } +        },          "rgblight": {              "type": "object",              "additionalProperties": false, @@ -236,6 +310,30 @@                  }              }          }, +        "secure": { +            "type": "object", +            "additionalProperties": false, +            "properties": { +                "enabled": {"type": "boolean"}, +                "unlock_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}, +                "idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}, +                "unlock_sequence": { +                    "type": "array", +                    "minLength": 1, +                    "maxLength": 5, +                    "items": { +                        "type": "array", +                        "minItems": 2, +                        "maxItems": 2, +                        "items": { +                            "type": "number", +                            "min": 0, +                            "multipleOf": 1 +                        } +                    } +                } +            } +        },          "split": {              "type": "object",              "additionalProperties": false,  | 
