{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quote-trade/json-schema/quote-trade-order-response-schema.json",
  "title": "OrderResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quote-trade.openapi.yaml#/components/schemas/OrderResponse",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "accountId": {
      "type": "integer",
      "format": "int64"
    },
    "symbol": {
      "type": "string"
    },
    "clientOrderId": {
      "type": "string"
    },
    "executedQty": {
      "type": "string"
    },
    "orderId": {
      "type": "integer",
      "format": "int64"
    },
    "origQty": {
      "type": "string"
    },
    "price": {
      "type": "string"
    },
    "reduceOnly": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ]
    },
    "side": {
      "type": "string",
      "enum": [
        "BUY",
        "SELL"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "NEW",
        "PARTIALLY_FILLED",
        "FILLED",
        "CANCELED",
        "EXPIRED",
        "REJECTED",
        "UNKNOWN"
      ]
    },
    "stopPrice": {
      "type": "string"
    },
    "timeInForce": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "targetStrategy": {
      "type": "string"
    },
    "updateTime": {
      "type": "integer",
      "format": "int64"
    },
    "assetId": {
      "type": "integer"
    },
    "tokenId": {
      "type": "integer"
    },
    "groupAssetId": {
      "type": "integer"
    }
  },
  "required": [
    "symbol",
    "clientOrderId",
    "orderId",
    "status"
  ]
}