83 lines
4.2 KiB
JSON
83 lines
4.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/print/print.schema.json",
|
|
"title": "PrintReport",
|
|
"description": "The ongoing print-state push (root key \"print\") - NOT a direct reply to the pushall request (that goes to \"pushing\", see request/pushing/pushall.schema.json). Sending pushall makes the printer start/refresh this stream; it isn't itself request/response, which is also why this is its own category folder rather than sitting under pushing/ - a category here is 'what root key does this arrive under', not 'what triggered it'.",
|
|
"allOf": [
|
|
{ "$ref": "../../../common/envelope.schema.json" },
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"command": { "const": "push_status" },
|
|
|
|
"upgrade_state": { "$ref": "../../common/upgrade_state.schema.json" },
|
|
"ipcam": { "$ref": "../../common/ipcam.schema.json" },
|
|
"upload": { "$ref": "../../common/upload.schema.json" },
|
|
"net": { "$ref": "../../common/net.schema.json" },
|
|
"hms": { "$ref": "../../common/hms.schema.json" },
|
|
"online": { "$ref": "../../common/online.schema.json" },
|
|
"ams": { "$ref": "../../common/ams/ams.schema.json" },
|
|
"vt_tray": { "$ref": "../../common/vt_tray.schema.json" },
|
|
"lights_report": { "$ref": "../../common/lights_report.schema.json" },
|
|
"xcam": { "$ref": "../../common/xcam.schema.json" },
|
|
|
|
"nozzle_diameter": { "$ref": "../../common/nozzle_diameter.schema.json" },
|
|
"nozzle_type": { "$ref": "../../common/nozzle_type.schema.json" },
|
|
"nozzle_temper": { "type": "number" },
|
|
"nozzle_target_temper": { "type": "number" },
|
|
"bed_temper": { "type": "number" },
|
|
"bed_target_temper": { "type": "number" },
|
|
"chamber_temper": { "type": "number" },
|
|
"chamber_target_temper": { "type": "number" },
|
|
"fan_gear": { "type": "integer" },
|
|
"heatbreak_fan_speed": { "type": "string" },
|
|
"cooling_fan_speed": { "type": "string" },
|
|
"big_fan1_speed": { "type": "string" },
|
|
"big_fan2_speed": { "type": "string" },
|
|
|
|
"s_obj": { "type": "array", "items": {} },
|
|
"filam_bak": { "type": "array", "items": {} },
|
|
"stg": { "type": "array", "items": { "type": "number" } },
|
|
|
|
"mc_print_stage": { "type": "string" },
|
|
"mc_percent": { "type": "integer" },
|
|
"mc_remaining_time": { "type": "integer" },
|
|
|
|
"ams_status": { "type": "integer" },
|
|
"ams_rfid_status": { "type": "integer" },
|
|
"hw_switch_state": { "type": "integer" },
|
|
"spd_mag": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
"spd_lvl": { "type": "integer", "minimum": 1, "maximum": 4 },
|
|
"print_error": { "type": "integer" },
|
|
"lifecycle": { "type": "string", "enum": ["product"] },
|
|
"wifi_signal": { "type": "string", "pattern": "^-([0-9]{1,2}|100)dBm$" },
|
|
"gcode_state": { "type": "string", "enum": [ "idle", "IDLE", "finish", "FINISH", "running", "RUNNING" ] },
|
|
"gcode_file_prepare_percent": { "type": "string" },
|
|
"queue_number": { "type": "integer" },
|
|
"queue_total": { "type": "integer" },
|
|
"queue_est": { "type": "integer" },
|
|
"queue_sts": { "type": "integer" },
|
|
"project_id": { "type": "string" },
|
|
"profile_id": { "type": "string" },
|
|
"task_id": { "type": "string" },
|
|
"subtask_id": { "type": "string" },
|
|
"subtask_name": { "type": "string" },
|
|
"gcode_file": { "type": "string" },
|
|
"stg_cur": { "type": "integer" },
|
|
"print_type": { "type": "string", "enum": [ "", "idle", "IDLE" ] },
|
|
"home_flag": { "type": "integer" },
|
|
"mc_print_line_number": { "type": "string" },
|
|
"mc_print_sub_stage": { "type": "integer" },
|
|
"sdcard": { "type": "boolean" },
|
|
"force_upgrade": { "type": "boolean" },
|
|
"mess_production_state": { "type": "string", "enum": [ "active", "inactive", "ACTIVE", "INACTIVE" ] },
|
|
"layer_num": { "type": "integer" },
|
|
"total_layer_num": { "type": "integer" },
|
|
"cali_version": { "type": "integer" },
|
|
"k": { "type": "string" },
|
|
"flag3": { "type": "integer" }
|
|
}
|
|
}
|
|
]
|
|
}
|