{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://continuum.internal/schemas/bambulab/v1/envelope.schema.json", "title": "CommandEnvelope", "description": "Fields every Bambu MQTT command/response shares. This is the 'base class' — other schemas extend it via allOf + $ref. JSON Schema doesn't have inheritance either, strictly speaking (no 'extends' keyword) — allOf is composition: it says the instance must satisfy THIS schema AND whatever else is listed alongside it. It's the closest thing to real inheritance ergonomics of anything we've used across this whole schema stack (proto, Rust), because $ref + allOf lets you name and reuse a shape without re-declaring its fields, which proto/Rust composition can't quite do (there you still write `common: PrinterReportCommon` by hand on every struct).", "type": "object", "properties": { "sequence_id": { "type": "string" }, "command": { "type": "string" } }, "required": ["sequence_id", "command"] }