feat: added upgrade schemas vor BambuMQTT v1 and v2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/common/firmware_details.schema.json",
|
||||
"title": "FirmwareDetails",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": { "type": "string" },
|
||||
"force_update": { "type": "boolean" },
|
||||
"url": { "$ref": "../../common/url.schema.json" },
|
||||
"version": { "$ref": "../../common/version.schema.json" }
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"force_upgrade": { "type": "boolean" },
|
||||
"idx": { "type": "integer" },
|
||||
"idx2": { "type": "integer" },
|
||||
"lower_limit": { "type": "string", "pattern": "..\\...\\...\\..." },
|
||||
"lower_limit": { "type": "string", "pattern": "^(?:\\d{2}\\.){3}\\d{2}$" },
|
||||
"message": { "type": "string" },
|
||||
"module": { "type": "string" },
|
||||
"new_version_state": { "type": "integer" },
|
||||
|
||||
Reference in New Issue
Block a user