chore: schema reorganization

This commit is contained in:
2026-08-31 11:02:55 +00:00
parent fe735c310b
commit 20ecc1e8bd
20 changed files with 112 additions and 22 deletions
@@ -1,26 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/info/_module_info.schema.json",
"title": "ModuleInfo",
"type": "object",
"properties": {
"name": { "type": "string" },
"sw_ver": { "type": "string" },
"hw_ver": { "type": "string" },
"loader_ver": { "type": "string" },
"product_name": { "type": "string" },
"sn": { "type": "string" },
"visible": { "type": "boolean" },
"flag": { "type": "integer" }
},
"required": [
"name",
"sw_ver",
"hw_ver",
"loader_ver",
"sn",
"product_name",
"visible",
"flag"
]
}
@@ -10,7 +10,7 @@
"command": { "const": "get_version" },
"module": {
"type": "array",
"items": { "$ref": "_module_info.schema.json" }
"items": { "$ref": "../../common/module_info.schema.json" }
}
},
"required": ["module"]