{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-currency-ratio-details-schema.json",
  "title": "CurrencyRatioDetails",
  "description": "CurrencyRatioDetails description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-currency-ratio-service-api-openapi.yml#/components/schemas/CurrencyRatioDetails",
  "type": "object",
  "properties": {
    "currencyRatioDetailDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CurrencyRatioDetailsDto"
      }
    }
  },
  "$defs": {
    "CurrencyRatioDetailsDto": {
      "type": "object",
      "required": [
        "fromCurrencyCode",
        "toCurrencyCode",
        "toFactor"
      ],
      "properties": {
        "exchangeRate": {
          "type": "number",
          "description": "\"Exchange Rate\" from Currency Ratio"
        },
        "fromCurrencyCode": {
          "type": "string",
          "description": "\"From Currency\" Code from Currency Ratio"
        },
        "fromFactor": {
          "type": "integer",
          "format": "int64",
          "description": "\"From\" Factor from Currency Ratio"
        },
        "toCurrencyCode": {
          "type": "string",
          "description": "\"To Currency\" Code from Currency Ratio"
        },
        "toFactor": {
          "type": "integer",
          "format": "int64",
          "description": "\"To\" Factor from Currency Ratio"
        }
      },
      "title": "CurrencyRatioDetailsDto",
      "description": "CurrencyRatioDetailsDto description"
    }
  }
}