chore: schema reorganization
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user