{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bare-bitcoin/json-schema/bare-bitcoin-deposit-destinations-response-schema.json",
  "title": "DepositDestinationsResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/bare-bitcoin-developers-openapi.json#/components/schemas/DepositDestinationsResponse",
  "type": "object",
  "properties": {
    "onchainAddress": {
      "allOf": [
        {
          "$ref": "#/$defs/DepositDestination"
        }
      ],
      "description": "Bitcoin address for on-chain deposits to the account."
    },
    "lightningAddress": {
      "allOf": [
        {
          "$ref": "#/$defs/DepositDestination"
        }
      ],
      "description": "Lightning address (name@bb.no) that accepts payments of any amount to the\n account."
    },
    "lnurlPay": {
      "allOf": [
        {
          "$ref": "#/$defs/DepositDestination"
        }
      ],
      "description": "LNURL-pay code that accepts Lightning payments to the account."
    }
  },
  "$defs": {
    "DepositDestination": {
      "type": "object",
      "properties": {
        "destination": {
          "type": "string"
        },
        "network": {
          "enum": [
            "NETWORK_BITCOIN",
            "NETWORK_LIGHTNING"
          ],
          "type": "string",
          "format": "enum"
        }
      }
    }
  }
}