feat: (almost) all schemas done
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/camera/ipcam_record_set.schema.json",
|
||||
"title": "IpcamRecordSetReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_record_set" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/camera/ipcam_timelapse.schema.json",
|
||||
"title": "IpcamTimelapseReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_timelapse" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/system/get_access_code.schema.json",
|
||||
"title": "GetAccessCodeReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "get_access_code" },
|
||||
"access_code": { "type": "string" }
|
||||
},
|
||||
"required": ["access_code"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/report/system/set_accessories.schema.json",
|
||||
"title": "SetAccessoriesReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "set_accessories" },
|
||||
"accessory_type": { "type": "string", "const": "nozzle" },
|
||||
"nozzle_diameter": {
|
||||
"$ref": "../../common/nozzle_diameter.schema.json"
|
||||
},
|
||||
"nozzle_type": { "$ref": "../../common/nozzle_type.schema.json" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/camera/ipcam_record_set.schema.json",
|
||||
"title": "IpcamRecordSetRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_record_set" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/camera/ipcam_timelapse.schema.json",
|
||||
"title": "IpcamTimelapseRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_timelapse" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/system/get_access_code.schema.json",
|
||||
"title": "GetAccessCodeRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "get_access_code" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v1/request/system/set_accessories.schema.json",
|
||||
"title": "SetAccessoriesRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "set_accessories" },
|
||||
"accessory_type": { "type": "string", "const": "nozzle" },
|
||||
"nozzle_diameter": {
|
||||
"$ref": "../../common/nozzle_diameter.schema.json"
|
||||
},
|
||||
"nozzle_type": { "$ref": "../../common/nozzle_type.schema.json" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report/camera/ipcam_record_set.schema.json",
|
||||
"title": "IpcamRecordSetReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_record_set" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report/camera/ipcam_timelapse.schema.json",
|
||||
"title": "IpcamTimelapseReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_timelapse" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report/system/get_access_code.schema.json",
|
||||
"title": "GetAccessCodeReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "get_access_code" },
|
||||
"access_code": { "type": "string" }
|
||||
},
|
||||
"required": ["access_code"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/report/system/set_accessories.schema.json",
|
||||
"title": "SetAccessoriesReport",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "set_accessories" },
|
||||
"accessory_type": { "type": "string", "const": "nozzle" },
|
||||
"nozzle_diameter": {
|
||||
"$ref": "../../common/nozzle_diameter.schema.json"
|
||||
},
|
||||
"nozzle_type": { "$ref": "../../common/nozzle_type.schema.json" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/request/camera/ipcam_record_set.schema.json",
|
||||
"title": "IpcamRecordSetRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_record_set" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/request/camera/ipcam_timelapse.schema.json",
|
||||
"title": "IpcamTimelapseRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "ipcam_timelapse" },
|
||||
"control": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enable",
|
||||
"ENABLE",
|
||||
"disable",
|
||||
"DISABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/request/system/get_access_code.schema.json",
|
||||
"title": "GetAccessCodeRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "get_access_code" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/bambulab/v2/request/system/set_accessories.schema.json",
|
||||
"title": "SetAccessoriesRequest",
|
||||
"allOf": [
|
||||
{ "$ref": "../../../common/envelope.schema.json" },
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": { "const": "set_accessories" },
|
||||
"accessory_type": { "type": "string", "const": "nozzle" },
|
||||
"nozzle_diameter": {
|
||||
"$ref": "../../common/nozzle_diameter.schema.json"
|
||||
},
|
||||
"nozzle_type": { "$ref": "../../common/nozzle_type.schema.json" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user