{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "bmc_uart_protocol_receipt.schema.json", "title": "BMC UART protocol offline receipt", "type": "object", "required": ["schema", "status", "scenario", "counterparty", "parser", "safety", "authority_boundary"], "properties": { "schema": { "const": "bmc-uart-protocol-receipt-v1" }, "status": { "type": "string" }, "scenario": { "type": "string" }, "counterparty": { "enum": ["pc_emulator", "real_bmc"] }, "parser": { "type": "object", "required": ["status", "sample_count", "missing_mask", "raw_token_count", "rejected_echo_windows"], "properties": { "status": { "type": "string" }, "sample_count": { "type": "integer", "minimum": 0 }, "missing_mask": { "type": "integer", "minimum": 0 }, "raw_token_count": { "type": "integer", "minimum": 0 }, "selected_window_start": { "type": "integer" }, "rejected_echo_windows": { "type": "integer", "minimum": 0 } }, "additionalProperties": true }, "safety": { "type": "object", "required": ["flash_attempted", "real_ptc_fan_bmc_action_attempted", "driver_install_attempted"], "properties": { "flash_attempted": { "const": false }, "real_ptc_fan_bmc_action_attempted": { "const": false }, "driver_install_attempted": { "const": false } }, "additionalProperties": true }, "authority_boundary": { "type": "string" } }, "additionalProperties": true }