{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/com-exchange-trade-update-payload-schema.json", "title": "ExchangeTradeUpdatePayload", "description": "ExchangeTradeUpdatePayload schema from Blockchain.com WebSocket APIs", "type": "object", "properties": { "seqnum": { "type": "integer" }, "event": { "type": "string", "const": "updated" }, "channel": { "type": "string", "const": "trades" }, "symbol": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" }, "side": { "type": "string", "enum": [ "buy", "sell" ] }, "qty": { "type": "number" }, "price": { "type": "number" }, "trade_id": { "type": "string" } }, "required": [ "seqnum", "event", "channel", "symbol", "timestamp", "side", "qty", "price", "trade_id" ] }