{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astranexo-com/json-schema/astranexo-com-exchange-rate-pair-schema.json",
  "title": "ExchangeRatePair",
  "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/ExchangeRatePair",
  "type": "object",
  "properties": {
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "buy": {
      "type": "number"
    },
    "sell": {
      "type": "number"
    },
    "rate": {
      "type": "number",
      "description": "Igual a `sell`."
    },
    "date": {
      "type": "string",
      "format": "date"
    },
    "source": {
      "type": "string"
    },
    "entity": {
      "type": "string"
    },
    "fallback": {
      "type": "boolean",
      "description": "Se pidió una entidad que no estaba disponible y respondió la cadena de referencia."
    },
    "stale": {
      "type": "boolean",
      "description": "Se usó el último valor guardado."
    },
    "note": {
      "type": "string"
    }
  }
}