{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/send21-io/json-schema/send21-io-quote-info-schema.json",
  "title": "QuoteInfo",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/send21-io-openapi.json#/components/schemas/QuoteInfo",
  "type": "object",
  "properties": {
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "rate": {
      "type": "number",
      "format": "double"
    },
    "lockedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "draftId": {
      "type": "string",
      "format": "uuid"
    },
    "network": {
      "$ref": "#/$defs/PaymentNetwork"
    },
    "currency": {
      "$ref": "#/$defs/PaymentCurrency"
    },
    "tokenAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "cryptoAmountBaseUnits": {
      "type": "integer",
      "format": "int64"
    },
    "platformFeeBaseUnits": {
      "type": "integer",
      "format": "int64"
    },
    "fiatAmount": {
      "type": "number",
      "format": "double"
    },
    "fiatCurrency": {
      "type": [
        "string",
        "null"
      ]
    },
    "rateSource": {
      "type": [
        "string",
        "null"
      ]
    },
    "bolt11": {
      "type": [
        "string",
        "null"
      ]
    },
    "lockedUntil": {
      "type": "string",
      "format": "date-time"
    },
    "sha256": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PaymentCurrency": {
      "enum": [
        "Btc",
        "Usdc",
        "Usdt",
        "Eurc",
        "Sol",
        "Eth"
      ],
      "type": "string"
    },
    "PaymentNetwork": {
      "enum": [
        "Mainnet",
        "Testnet4",
        "Signet",
        "Regtest",
        "Solana",
        "SolanaDevnet",
        "Ethereum",
        "EthereumSepolia",
        "Base",
        "BaseSepolia",
        "Arbitrum",
        "ArbitrumSepolia",
        "Polygon",
        "PolygonAmoy"
      ],
      "type": "string"
    }
  }
}