Added v1 schema for PushStatusReport
This commit is contained in:
@@ -4,19 +4,78 @@
|
||||
"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": "../../../envelope.schema.json" },
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ams": { "$ref": "_ams.schema.json" },
|
||||
"ams_exist_bits": { "type": "string" },
|
||||
"insert_flag": { "type": "boolean" },
|
||||
"power_on_flag": { "type": "boolean" },
|
||||
"tray_exist_bits": { "type": "string" },
|
||||
"tray_is_bbl_bits": { "type": "string" },
|
||||
"command": { "const": "push_status" },
|
||||
|
||||
"upgrade_state": { "$ref": "_upgrade_state.schema.json" },
|
||||
"ipcam": { "$ref": "_ipcam.schema.json" },
|
||||
"upload": { "$ref": "_upload.schema.json" },
|
||||
"net": { "$ref": "_net.schema.json" },
|
||||
"hms": { "$ref": "_hms.schema.json" },
|
||||
"online": { "$ref": "_online.schema.json" },
|
||||
"ams": { "$ref": "_ams.schema.json" },
|
||||
"vt_tray": { "$ref": "_vt_tray.schema.json" },
|
||||
"lights_report": { "$ref": "_lights_report.schema.json" },
|
||||
"xcam": { "$ref": "_xcam.schema.json" },
|
||||
"xcam_status": { "type": "string" }
|
||||
|
||||
"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": {} },
|
||||
|
||||
"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" ] },
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user