Refactor schemas

This commit is contained in:
LordGrey 2023-03-26 18:35:35 +00:00
parent 93a0c60edb
commit 20bd8edb5f
3 changed files with 14 additions and 12 deletions

View File

@ -5,19 +5,21 @@
"output": {
"type": "string",
"title":"edt_dev_spec_outputPath_title",
"default":"auto"
"propertyOrder": 1
},
"rate": {
"type": "integer",
"title": "edt_dev_spec_baudrate_title",
"default": 5000000
"default": 5000000,
"propertyOrder": 2
},
"brightnessControlMaxLevel": {
"type": "integer",
"title": "edt_conf_color_brightness_title",
"default": 31,
"minimum": 1,
"maximum": 31
"maximum": 31,
"propertyOrder": 3
}
},

View File

@ -5,7 +5,6 @@
"output": {
"type": "string",
"title": "edt_dev_spec_outputPath_title",
"default": "auto",
"required": true,
"propertyOrder": 1
},
@ -32,11 +31,11 @@
"subtract_minimum",
"sub_min_cool_adjust",
"sub_min_warm_adjust",
"hyperserial_cold_white",
"hyperserial_neutral_white",
"wled_auto",
"wled_auto_max",
"wled_auto_accurate",
"cold_white",
"neutral_white",
"auto",
"auto_max",
"auto_accurate",
"white_off"
],
"default": "white_off",
@ -53,7 +52,7 @@
"edt_dev_enum_white_off"
]
},
"propertyOrder": 5
"propertyOrder": 4
}
},
"additionalProperties": true

View File

@ -5,14 +5,15 @@
"output": {
"type": "string",
"title": "edt_dev_spec_outputPath_title",
"default": "auto"
"propertyOrder": 1
},
"rate": {
"type": "integer",
"title": "edt_dev_spec_baudrate_title",
"default": 3075000,
"minimum": 2106000,
"maximum": 3075000
"maximum": 3075000,
"propertyOrder": 2
}
},
"additionalProperties": true