{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "nostr/nostr-follow-button",
  "version": "0.1.0",
  "title": "Nostr Follow Button",
  "category": "nostr",
  "icon": "heart",
  "description": "Follow/unfollow Nostr users",
  "supports": {
    "html": false
  },
  "attributes": {
    "npub": {
      "type": "string",
      "default": ""
    },
    "pubkey": {
      "type": "string",
      "default": ""
    },
    "nip05": {
      "type": "string",
      "default": ""
    },
    "theme": {
      "type": "string",
      "enum": ["", "light", "dark"],
      "default": ""
    },
    "relays": {
      "type": "string",
      "default": ""
    },
    "show-avatar": {
      "type": "boolean",
      "default": false
    },
    "text": {
      "type": "string",
      "default": "Follow me on nostr"
    }
  }
}
