22 lines
806 B
JSON
22 lines
806 B
JSON
{
|
|
"$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/calibration.schema.json",
|
|
"title": "CalibrationRequest",
|
|
"allOf": [
|
|
{ "$ref": "../../../common/envelope.schema.json" },
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"command": { "const": "calibration" },
|
|
"option": {
|
|
"description": "Following bitmask is required for the `option` field: `if (lidarCalibration) bitmask |= 1; if (bedLevelling) bitmask |= 1 << 1; if (vibrationCompensation) bitmask |= 1 << 2; if (motorCancellation) bitmask |= 1 << 3;`",
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 15
|
|
}
|
|
},
|
|
"required": ["option"]
|
|
}
|
|
]
|
|
}
|