{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-rate-response-schema.json",
  "title": "RateResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-exchange-rate-api-openapi.yml#/components/schemas/RateResponse",
  "properties": {
    "base": {
      "type": "string",
      "title": "Base",
      "default": "USD"
    },
    "target": {
      "type": "string",
      "title": "Target"
    },
    "rate": {
      "type": "number",
      "title": "Rate"
    },
    "fetched_at": {
      "type": "string",
      "title": "Fetched At"
    },
    "source": {
      "type": "string",
      "title": "Source"
    },
    "visitor_country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Visitor Country"
    },
    "show_local_currency": {
      "type": "boolean",
      "title": "Show Local Currency",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "target",
    "rate",
    "fetched_at",
    "source"
  ]
}