{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/qr-code",
  "version": "1.0.0",
  "title": "QR Code",
  "category": "bloqra",
  "icon": "screenoptions",
  "description": "Generate a QR code for a link, Wi-Fi network, contact card, email, phone or text — created right in the editor, no external service.",
  "keywords": [
    "qr",
    "code",
    "scan",
    "wifi",
    "vcard",
    "link"
  ],
  "example": {
    "attributes": {
      "contentType": "url",
      "value": "https://beautifulplugins.com",
      "caption": "Scan to visit"
    }
  },
  "attributes": {
    "contentType": {
      "type": "string",
      "default": "url",
      "enum": [
        "url",
        "text",
        "email",
        "phone",
        "sms",
        "wifi",
        "vcard"
      ]
    },
    "value": {
      "type": "string",
      "default": ""
    },
    "emailSubject": {
      "type": "string",
      "default": ""
    },
    "smsBody": {
      "type": "string",
      "default": ""
    },
    "wifiSsid": {
      "type": "string",
      "default": ""
    },
    "wifiPassword": {
      "type": "string",
      "default": ""
    },
    "wifiEncryption": {
      "type": "string",
      "default": "WPA",
      "enum": [
        "WPA",
        "WEP",
        "nopass"
      ]
    },
    "wifiHidden": {
      "type": "boolean",
      "default": false
    },
    "vcardFirstName": {
      "type": "string",
      "default": ""
    },
    "vcardLastName": {
      "type": "string",
      "default": ""
    },
    "vcardOrg": {
      "type": "string",
      "default": ""
    },
    "vcardTitle": {
      "type": "string",
      "default": ""
    },
    "vcardPhone": {
      "type": "string",
      "default": ""
    },
    "vcardEmail": {
      "type": "string",
      "default": ""
    },
    "vcardWebsite": {
      "type": "string",
      "default": ""
    },
    "ecLevel": {
      "type": "string",
      "default": "M",
      "enum": [
        "L",
        "M",
        "Q",
        "H"
      ]
    },
    "size": {
      "type": "string",
      "default": ""
    },
    "caption": {
      "type": "rich-text",
      "source": "rich-text",
      "selector": ".bloqra-qr__caption",
      "role": "content"
    },
    "textAlign": {
      "type": "string",
      "default": ""
    },
    "fgColor": {
      "type": "string",
      "default": ""
    },
    "bgColor": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "shadow": true,
    "typography": {
      "fontSize": true
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}