{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woox/json-schema/woox-set-futures-leverage-schema.json",
  "title": "SetFuturesLeverage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woox-futures-api-openapi.yml#/components/schemas/SetFuturesLeverage",
  "required": [
    "symbol",
    "marginMode",
    "leverage"
  ],
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": ""
    },
    "marginMode": {
      "type": "string",
      "description": "values: CROSS | ISOLATED"
    },
    "positionMode": {
      "type": "string",
      "description": "values: ONE_WAY | HEDGE_MODE Note:only required when marginMode=ISOLATED marginMode=CROSS , ignore this field"
    },
    "leverage": {
      "type": "integer",
      "description": ""
    }
  }
}