{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "EnrichedPairResponse",
  "type": "object",
  "properties": {
    "result": {"type": "string"},
    "documentation": {"type": "string"},
    "terms_of_use": {"type": "string"},
    "time_last_update_unix": {"type": "integer"},
    "time_last_update_utc": {"type": "string"},
    "time_next_update_unix": {"type": "integer"},
    "time_next_update_utc": {"type": "string"},
    "base_code": {"type": "string"},
    "target_code": {"type": "string"},
    "conversion_rate": {"type": "number"},
    "target_data": {
      "type": "object",
      "properties": {
        "locale": {"type": "string"},
        "two_letter_code": {"type": "string"},
        "currency_name": {"type": "string"},
        "currency_name_short": {"type": "string"},
        "display_symbol": {"type": "string"},
        "flag_url": {"type": "string"}
      }
    }
  }
}
