{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExchangeRate",
  "title": "ExchangeRate",
  "type": "object",
  "properties": {
    "sourceCurrency": {
      "type": "string",
      "description": "The source currency code.",
      "example": "NGN"
    },
    "destinationCurrency": {
      "type": "string",
      "description": "The destination currency code.",
      "example": "GBP"
    },
    "rate": {
      "type": "number",
      "format": "double",
      "description": "The current indicative exchange rate."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the rate was last updated."
    }
  }
}