{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blofin/json-schema/blofin-get-api-v1-spot-trade-order-detail-response-schema.json",
  "title": "GetApiV1SpotTradeOrderDetailResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blofin-spot-api-openapi.yml#/components/schemas/GetApiV1SpotTradeOrderDetailResponse",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string"
    },
    "clientOrderId": {
      "type": "string"
    },
    "instId": {
      "type": "string"
    },
    "marginMode": {
      "type": "string"
    },
    "positionSide": {
      "type": "string"
    },
    "side": {
      "type": "string"
    },
    "orderType": {
      "type": "string"
    },
    "price": {
      "type": "string"
    },
    "size": {
      "type": "string"
    },
    "reduceOnly": {
      "type": "string"
    },
    "leverage": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "filledSize": {
      "type": "string"
    },
    "averagePrice": {
      "type": "string"
    },
    "fee": {
      "type": "string"
    },
    "pnl": {
      "type": "string"
    },
    "createTime": {
      "type": "string"
    },
    "updateTime": {
      "type": "string"
    },
    "orderCategory": {
      "type": "string"
    },
    "tpTriggerPrice": {
      "type": "string"
    },
    "tpOrderPrice": {
      "type": "string"
    },
    "slTriggerPrice": {
      "type": "string"
    },
    "slOrderPrice": {
      "type": "string"
    },
    "algoClientOrderId": {
      "type": "string"
    },
    "algoId": {
      "type": "string"
    },
    "brokerId": {
      "type": "string"
    },
    "targetCurrency": {
      "type": "string"
    },
    "feeCurrency": {
      "type": "string"
    }
  }
}