{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-margin-balance-request-schema.json",
  "title": "Margin balance request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hitbtc-futures-accounts-api-openapi.yml#/components/schemas/trading_MarginBalanceRequest",
  "allOf": [
    {
      "$ref": "#/$defs/trading_StrictValidateRequest"
    },
    {
      "type": "object",
      "required": [
        "margin_balance"
      ],
      "properties": {
        "margin_balance": {
          "type": "number",
          "minimum": 0,
          "description": "Amount of currency reserved for margin trading."
        }
      }
    }
  ],
  "$defs": {
    "trading_StrictValidateRequest": {
      "title": "Strict validate",
      "type": "object",
      "properties": {
        "strict_validate": {
          "type": "boolean",
          "description": "Price and quantity will be checked for incrementation within the symbol tick size and quantity step (see the symbol `tick_size` and `quantity_increment`).",
          "default": false
        }
      }
    }
  }
}