{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allratestoday-com/json-schema/allratestoday-com-cb-pair-schema.json",
  "title": "CbPair",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/allratestoday-com-central-bank-rates-api-openapi.yml#/components/schemas/CbPair",
  "type": "object",
  "properties": {
    "bank": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "rate_date": {
      "type": "string",
      "format": "date"
    },
    "source": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "rate": {
      "type": "number",
      "format": "double"
    },
    "rate_type": {
      "type": "string"
    },
    "derived": {
      "type": "boolean",
      "description": "True when not directly published by the bank (inverse or cross-computed)"
    },
    "method": {
      "type": "string",
      "enum": [
        "published",
        "inverse",
        "cross"
      ]
    },
    "disclaimer": {
      "type": "string"
    }
  }
}