Files
continuum-schemas/schemas/bambulab/v2/report.schema.json
T

69 lines
2.6 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report.schema.json",
"title": "BambuReportV2",
"description": "V2 equivalent of v1/report.schema.json - same 'what root key does this arrive under' convention (see v1/report.schema.json for the print-vs-pushing rationale). Only wires categories that actually have a v2 schema on disk; add a property here when a new v2/report/<category>/ schema is added.",
"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/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/calibration.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
}