{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coinbase/main/json-schema/coinbase-purchase-currency-schema.json",
  "title": "PurchaseCurrency",
  "description": "A cryptocurrency available for purchase",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinbase-buy-api-openapi.yml#/components/schemas/PurchaseCurrency",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Asset identifier"
    },
    "name": {
      "type": "string",
      "description": "Asset name"
    },
    "symbol": {
      "type": "string",
      "description": "Asset symbol"
    },
    "icon_url": {
      "type": "string",
      "format": "uri",
      "description": "URL for the asset icon"
    },
    "networks": {
      "type": "array",
      "description": "Supported blockchain networks",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Network name"
          },
          "display_name": {
            "type": "string",
            "description": "Network display name"
          },
          "chain_id": {
            "type": "string",
            "description": "Blockchain chain ID"
          },
          "contract_address": {
            "type": "string",
            "description": "Token contract address on this network"
          }
        }
      }
    }
  }
}