{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-otcrequest-quote-request-schema.json",
  "title": "OTCRequestQuoteRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-otc-openapi.yml#/components/schemas/OTCRequestQuoteRequest",
  "type": "object",
  "required": [
    "side",
    "baseCurrency",
    "quoteCurrency"
  ],
  "properties": {
    "side": {
      "$ref": "#/$defs/TxnSideEnum"
    },
    "baseCurrency": {
      "type": "string",
      "description": "Base currency"
    },
    "quoteCurrency": {
      "type": "string",
      "description": "Quote currency"
    },
    "baseSize": {
      "type": "string",
      "description": "Size in `baseCurrency`. Mutually exclusive with `quoteSize`."
    },
    "quoteSize": {
      "type": "string",
      "description": "Size in `quoteCurrency`. Mutually exclusive with `baseSize`."
    },
    "clOrderId": {
      "type": "string",
      "description": "Client order ID assigned by the client"
    }
  },
  "$defs": {
    "TxnSideEnum": {
      "type": "string",
      "enum": [
        "BUY",
        "SELL"
      ],
      "description": "Transaction side"
    }
  }
}