{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-client-trade-schema.json", "title": "ClientTrade", "description": "A single trade.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/revolut-orders-api-openapi.yml#/components/schemas/ClientTrade", "type": "object", "properties": { "tdt": { "type": "integer", "format": "int64", "description": "Trade date and time, expressed in Unix epoch milliseconds." }, "aid": { "type": "string", "description": "Crypto-asset ID code." }, "anm": { "type": "string", "description": "Crypto-asset full name." }, "p": { "type": "string", "description": "Price in major currency units. For example, for USD, `116243.32` represents 116243.32 dollars." }, "pc": { "type": "string", "description": "Price currency." }, "pn": { "type": "string", "description": "Price notation." }, "q": { "type": "string", "description": "Quantity." }, "qc": { "type": "string", "description": "Quantity currency." }, "qn": { "type": "string", "description": "Quantity notation." }, "ve": { "type": "string", "description": "Venue of execution. Always equals `REVX`." }, "pdt": { "type": "integer", "format": "int64", "description": "Publication date and time, expressed in Unix epoch milliseconds." }, "vp": { "type": "string", "description": "Venue of publication. Always equals `REVX`." }, "tid": { "type": "string", "description": "Transaction identification code." }, "oid": { "type": "string", "format": "uuid", "description": "Unique identifier for the order associated with the trade." }, "s": { "type": "string", "enum": [ "buy", "sell" ], "description": "Indicates the trade direction of the order." }, "im": { "type": "boolean", "description": "Indicates whether the trade was a maker (true) or taker (false)." } }, "required": [ "tdt", "aid", "anm", "p", "pc", "pn", "q", "qc", "qn", "ve", "pdt", "vp", "tid", "oid", "im" ] }