{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-requests-rfq-create-request-schema.json",
  "title": "requests.RfqCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-rfqs-api-openapi.yml#/components/schemas/requests.RfqCreateRequest",
  "type": "object",
  "required": [
    "legs",
    "quantity"
  ],
  "properties": {
    "counterparties": {
      "description": "Reserved for future use; currently ignored for RFQ creation and drafts",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "is_anonymous": {
      "description": "Whether to hide the taker desk name from RFQ counterparties; ignored for drafts",
      "type": "boolean"
    },
    "label": {
      "description": "User-defined RFQ label; ignored for drafts",
      "type": "string"
    },
    "legs": {
      "description": "Strategy and optional fixed-price hedge legs; maximum 25",
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/requests.RfqLeg"
      }
    },
    "max_slippage": {
      "description": "MaxSlippage sets the collateral held against this RFQ while it is open, as\na fraction of underlying spot, replacing the configured bound for this RFQ\nonly. It does not limit the price the RFQ may execute at. Empty leaves the\nconfigured one in place. Ignored for drafts.",
      "type": "string"
    },
    "quantity": {
      "description": "Positive total strategy size",
      "type": "string"
    },
    "side": {
      "description": "Side commits the RFQ to one direction of the strategy, which is then the\nonly direction it may be executed in. Empty leaves it two-way. Ignored for\ndrafts.",
      "type": "string",
      "enum": [
        "BUY",
        "SELL"
      ]
    },
    "strategy": {
      "description": "Draft strategy label; maximum 64 bytes and defaults to custom for drafts; ignored on RFQ create",
      "type": "string"
    }
  },
  "$defs": {
    "requests.RfqLeg": {
      "type": "object",
      "required": [
        "market",
        "ratio",
        "side"
      ],
      "properties": {
        "market": {
          "description": "Paradex market symbol",
          "type": "string"
        },
        "price": {
          "description": "Any positive value marks a hedge leg; the leg is then fixed at the market's mark price at creation",
          "type": "string"
        },
        "ratio": {
          "description": "Positive decimal multiplier for the leg",
          "type": "string"
        },
        "side": {
          "description": "Leg direction",
          "type": "string",
          "enum": [
            "BUY",
            "SELL"
          ]
        }
      }
    }
  }
}