{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astranexo-com/json-schema/astranexo-com-exchange-rate-schema.json",
  "title": "ExchangeRate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/astranexo-com-tipo-de-cambio-api-openapi.yml#/components/schemas/ExchangeRate",
  "type": "object",
  "properties": {
    "buy": {
      "type": "number"
    },
    "sell": {
      "type": "number"
    },
    "date": {
      "type": "string",
      "format": "date"
    },
    "source": {
      "type": "string",
      "description": "Origen del tipo de cambio — `hacienda` o `bccr` (referencia), `ventanilla` (tasa de una entidad autorizada), `mercado` (otras monedas) o `unavailable`."
    },
    "entity": {
      "type": "string"
    },
    "note": {
      "type": "string",
      "description": "Motivo cuando el tipo de cambio no está disponible."
    }
  }
}