feat: push_status report for Bambu MQTT v2
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/common/job/job.schema.json",
|
||||
"title": "Job",
|
||||
"description": "Print job details",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cur_stage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idx": { "type": "number" },
|
||||
"state": { "type": "number" }
|
||||
},
|
||||
"required": ["idx", "state"]
|
||||
},
|
||||
"stage": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "./stage.schema.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["cur_stage", "stage"]
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/common/job/stage.schema.json",
|
||||
"title": "Job",
|
||||
"description": "Print job stage details",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clock_in": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"color": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"diameter": {
|
||||
"type": "array",
|
||||
"items": { "type": "number" }
|
||||
},
|
||||
"est_time": {
|
||||
"type": "integer"
|
||||
},
|
||||
"heigh": {
|
||||
"type": "number"
|
||||
},
|
||||
"idx": {
|
||||
"type": "integer"
|
||||
},
|
||||
"platform": {
|
||||
"type": "string"
|
||||
},
|
||||
"print_then": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"proc_list": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"tool": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "In case of 3D printing - look at `nozzle_type.schema.json`",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clock_in", "color", "diameter", "est_time",
|
||||
"heigh", "idx", "platform", "print_then",
|
||||
"proc_list", "tool", "type"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user