{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "faqtastic/chatbot",
  "title": "FAQtastic Chatbot",
  "category": "widgets",
  "icon": "format-status",
  "textdomain": "faqtastic",
  "editorScript": "file:./editChatBot.js",
  "script": "file:./chatbot.js",
  "style": "file:./chatbot.css",
  "editorStyle": "file:./chatbot.css",
  "attributes": {
    "btnStyle": {
      "type": "object",
      "default": {}
    },
    "chatbotHeaderText": {
      "type": "string",
      "default": "Chatbot"
    },
    "chatbotHeaderSubtitle": {
      "type": "string",
      "default": ""
    },
    "chatbotFirstMsg": {
      "type": "string",
      "default": "Ask me a question"
    },
    "chatInputPlaceholder": {
      "type": "string",
      "default": "Type your question..."
    },
    "chatbotPosition": {
      "type": "string",
      "default": "bottom-right"
    },
    "toggleIconType": {
      "type": "string",
      "default": "dashicon"
    },
    "toggleIconDashicon": {
      "type": "string",
      "default": "format-chat"
    },
    "toggleIconSvg": {
      "type": "string",
      "default": ""
    },
    "toggleIconImageId": {
      "type": "number",
      "default": 0
    },
    "toggleIconImageUrl": {
      "type": "string",
      "default": ""
    }
  }
}