{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-currency-pairs-response-schema.json",
  "title": "CurrencyPairsResponse",
  "description": "Supported currency pairs, represented as an object containing other objects.\n\nThis outer object contains multiple key-value pairs, where each key is a currency pair code (e.g. `BTC/USD`, `ETH/EUR`), and each corresponding value is an inner object containing details about that currency pair.\n\n<b><pre> &lt; * &gt; </pre></b>\n<details id='currency-pair-schema'>\n  <summary>\n    The inner object representing a single currency pair. It has the following schema: \n  </summary>\n\n  | Parameter | Description |\n  |-----------|-------------|\n  | **`base`**    | The base currency. |\n  | **`quote`**    | The quote currency. |\n  | **`base_step`**    | The minimal step for changing the quantity in the base currency. |\n  | **`quote_step`**    | The minimal step for changing the amount in the quote currency. |\n  | **`min_order_size`**    | The minimal order quantity (in the base currency) accepted by the exchange. |\n  | **`max_order_size`**    | The maximal order quantity (in the base currency) accepted by the exchange. |\n  | **`min_order_size_quote`**    | The minimal order quantity (in the quote currency) accepted by the exchange. |\n  | **`status`**    | The status of the currency pair. <br/>Indicates whether it is available for use. <br/>Possible values are: `active`, `inactive`. |\n\n</details>",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-configuration-api-openapi.yml#/components/schemas/CurrencyPairsResponse",
  "type": "object",
  "additionalProperties": {
    "$ref": "#/$defs/CurrencyPair"
  },
  "$defs": {
    "CurrencyPair": {
      "type": "object",
      "description": "A supported currency pair.",
      "properties": {
        "base": {
          "type": "string",
          "description": "The base currency."
        },
        "quote": {
          "type": "string",
          "description": "The quote currency."
        },
        "base_step": {
          "type": "string",
          "format": "decimal",
          "description": "The minimal step for changing the quantity in the base currency."
        },
        "quote_step": {
          "type": "string",
          "format": "decimal",
          "description": "The minimal step for changing the amount in the quote currency."
        },
        "min_order_size": {
          "type": "string",
          "format": "decimal",
          "description": "The minimal order quantity (in the base currency) accepted by the exchange."
        },
        "max_order_size": {
          "type": "string",
          "format": "decimal",
          "description": "The maximal order quantity (in the base currency) accepted by the exchange."
        },
        "min_order_size_quote": {
          "type": "string",
          "format": "decimal",
          "description": "The minimal order quantity (in the quote currency) accepted by the exchange."
        },
        "status": {
          "type": "string",
          "description": "The status of the currency pair. \nIndicates whether it is available for use.",
          "enum": [
            "active",
            "inactive"
          ]
        }
      },
      "required": [
        "base",
        "quote",
        "base_step",
        "quote_step",
        "min_order_size",
        "max_order_size",
        "min_order_size_quote",
        "status"
      ]
    }
  }
}