Confirmed live: both BambuMQTT versions reply to a calibration request
with a dedicated print.calibration report, not just push_status - the
v1 request schema's own description said the opposite ("printer responds
with push_status instead of calibration"), and v2's report schema framed
this as a v1-vs-v2 contrast that no longer holds. Both descriptions
corrected; the printer does still send ordinary push_status updates
alongside the dedicated report as calibration progresses, same as any
other print job, not instead of it.
Added v1/report/print/calibration.schema.json (only existed for v2
before) and wired it into v1/report.schema.json's print category
dispatcher, which never listed it since the file didn't exist.
69 lines
2.9 KiB
JSON
69 lines
2.9 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.schema.json",
|
|
"title": "BambuReport",
|
|
"description": "Matches continuum-proxy's src/printer/bambu_commands::BambuReport. Note the category here is \"print\", not \"pushing\" - sending a pushall request (which does go to \"pushing\", see request.schema.json) makes the printer start/refresh the ongoing state-push stream, which itself arrives under \"print\". They're different root keys because a report category means 'what key does this arrive under', not 'what request caused it'. Each category's value is a oneOf for the same reason as request.schema.json: room for more than one shape per category without a rewrite later.",
|
|
"type": "object",
|
|
"minProperties": 1,
|
|
"maxProperties": 1,
|
|
"properties": {
|
|
"camera": {
|
|
"oneOf": [
|
|
{ "$ref": "report/camera/ipcam_record_set.schema.json" },
|
|
{ "$ref": "report/camera/ipcam_timelapse.schema.json" }
|
|
]
|
|
},
|
|
"info": {
|
|
"oneOf": [
|
|
{ "$ref": "report/info/get_version.schema.json" }
|
|
]
|
|
},
|
|
"mc_print": {
|
|
"oneOf": [
|
|
{ "$ref": "report/mc_print/push_info.schema.json" }
|
|
]
|
|
},
|
|
"print": {
|
|
"oneOf": [
|
|
{ "$ref": "report/print/ams_change_filament.schema.json" },
|
|
{ "$ref": "report/print/calibration.schema.json" },
|
|
{ "$ref": "report/print/ams_control.schema.json" },
|
|
{ "$ref": "report/print/ams_filament_setting.schema.json" },
|
|
{ "$ref": "report/print/ams_get_rfid.schema.json" },
|
|
{ "$ref": "report/print/ams_user_setting.schema.json" },
|
|
{ "$ref": "report/print/gcode_file.schema.json" },
|
|
{ "$ref": "report/print/gcode_line.schema.json" },
|
|
{ "$ref": "report/print/pause.schema.json" },
|
|
{ "$ref": "report/print/print_option.schema.json" },
|
|
{ "$ref": "report/print/print_speed.schema.json" },
|
|
{ "$ref": "report/print/project_file.schema.json" },
|
|
{ "$ref": "report/print/push_status.schema.json" },
|
|
{ "$ref": "report/print/resume.schema.json" },
|
|
{ "$ref": "report/print/stop.schema.json" },
|
|
{ "$ref": "report/print/unload_filament.schema.json" }
|
|
]
|
|
},
|
|
"system": {
|
|
"oneOf": [
|
|
{ "$ref": "report/system/get_access_code.schema.json" },
|
|
{ "$ref": "report/system/ledctrl.schema.json" },
|
|
{ "$ref": "report/system/set_accessories.schema.json" }
|
|
]
|
|
},
|
|
"upgrade": {
|
|
"oneOf": [
|
|
{ "$ref": "report/upgrade/consistency_confirm.schema.json" },
|
|
{ "$ref": "report/upgrade/get_history.schema.json" },
|
|
{ "$ref": "report/upgrade/start.schema.json" },
|
|
{ "$ref": "report/upgrade/upgrade_confirm.schema.json" }
|
|
]
|
|
},
|
|
"xcam": {
|
|
"oneOf": [
|
|
{ "$ref": "report/xcam/xcam_control_set.json" }
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|