From 053f1d3ec43a6113015354610a72f875b542d926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwo=20Strzebo=C5=84ski?= Date: Mon, 31 Aug 2026 21:42:43 +0000 Subject: [PATCH] feat: Added unload filament schema --- .../v1/report/print/unload_filament.schema.json | 15 +++++++++++++++ .../v1/request/print/unload_filament.schema.json | 4 ++-- .../v2/report/print/unload_filament.schema.json | 15 +++++++++++++++ .../v2/request/print/unload_filament.schema.json | 15 +++++++++++++++ 4 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 schemas/bambulab/v1/report/print/unload_filament.schema.json create mode 100644 schemas/bambulab/v2/report/print/unload_filament.schema.json create mode 100644 schemas/bambulab/v2/request/print/unload_filament.schema.json diff --git a/schemas/bambulab/v1/report/print/unload_filament.schema.json b/schemas/bambulab/v1/report/print/unload_filament.schema.json new file mode 100644 index 0000000..6da747a --- /dev/null +++ b/schemas/bambulab/v1/report/print/unload_filament.schema.json @@ -0,0 +1,15 @@ +{ + "$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/unload_filament.schema.json", + "title": "UnloadFilamentReport", + "allOf": [ + { "$ref": "../../../common/envelope.schema.json" }, + { + "type": "object", + "properties": { + "command": { "const": "unload_filament" } + }, + "required": ["param"] + } + ] +} diff --git a/schemas/bambulab/v1/request/print/unload_filament.schema.json b/schemas/bambulab/v1/request/print/unload_filament.schema.json index 5c773ee..72c673a 100644 --- a/schemas/bambulab/v1/request/print/unload_filament.schema.json +++ b/schemas/bambulab/v1/request/print/unload_filament.schema.json @@ -1,7 +1,7 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/print/gcode_line.schema.json", - "title": "GcodeLineRequest", + "$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/print/unload_filament.schema.json", + "title": "UnloadFilamentRequest", "allOf": [ { "$ref": "../../../common/envelope.schema.json" }, { diff --git a/schemas/bambulab/v2/report/print/unload_filament.schema.json b/schemas/bambulab/v2/report/print/unload_filament.schema.json new file mode 100644 index 0000000..b36c59e --- /dev/null +++ b/schemas/bambulab/v2/report/print/unload_filament.schema.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report/print/unload_filament.schema.json", + "title": "UnloadFilamentReport", + "allOf": [ + { "$ref": "../../../common/envelope.schema.json" }, + { + "type": "object", + "properties": { + "command": { "const": "unload_filament" } + }, + "required": ["param"] + } + ] +} diff --git a/schemas/bambulab/v2/request/print/unload_filament.schema.json b/schemas/bambulab/v2/request/print/unload_filament.schema.json new file mode 100644 index 0000000..ecb2b2e --- /dev/null +++ b/schemas/bambulab/v2/request/print/unload_filament.schema.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/request/print/unload_filament.schema.json", + "title": "UnloadFilamentRequest", + "allOf": [ + { "$ref": "../../../common/envelope.schema.json" }, + { + "type": "object", + "properties": { + "command": { "const": "unload_filament" } + }, + "required": ["param"] + } + ] +}