feat: added upgrade schemas vor BambuMQTT v1 and v2

This commit is contained in:
2026-09-02 15:08:27 +00:00
parent 053f1d3ec4
commit de5aa86a2b
22 changed files with 393 additions and 3 deletions
@@ -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" },