{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woox/json-schema/woox-get-max-margin-response-schema.json",
  "title": "GetMaxMarginResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woox-spotmargin-api-openapi.yml#/components/schemas/GetMaxMarginResponse",
  "allOf": [
    {
      "$ref": "#/$defs/CommonResponse"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "symbol": {
              "type": "string",
              "description": "The trading pair symbol, e.g., 'SPOT_ETH_USDT'."
            },
            "availableBaseQuantity": {
              "type": "string",
              "description": "The maximum available quantity of the base token to sell into the quote token."
            },
            "availableQuoteQuantity": {
              "type": "string",
              "description": "The maximum available quantity of the quote token to buy the base token."
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "CommonResponse": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "description": "true"
        },
        "timestamp": {
          "type": "integer",
          "description": "timestamp"
        }
      }
    }
  }
}