{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "awt/author-pro-books",
  "version": "1.0.0",
  "title": "Other Books [Author Pro]",
  "category": "Book Gallery",
  "icon": "book",
  "description": "Display a grid of books or posts dynamically.",
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "sectionTitle": {
      "type": "string",
      "default": "Explore More Stories"
    },
    "sectionBadge": {
      "type": "string",
      "default": "Other Books"
    },
    "postType": {
      "type": "string",
      "default": "book"
    },
    "postsToShow": {
      "type": "number",
      "default": 3
    },
    "order": {
      "type": "string",
      "default": "desc"
    },
    "align": {
      "type": "string",
      "default": "full"
    },
    "orderBy": {
      "type": "string",
      "default": "date"
    },
    "selectedCategory": {
      "type": "string",
      "default": ""
    },
    "includePostIds": {
      "type": "string",
      "default": ""
    },
    "accentColor": {
      "type": "string",
      "default": ""
    },
    "btnColor": {
      "type": "string",
      "default": ""
    },
    "btnHoverColor": {
      "type": "string",
      "default": ""
    },
    "paddingTop": {
      "type": "number",
      "default": 128
    },
    "paddingBottom": {
      "type": "number",
      "default": 128
    },
    "buttonText": {
      "type": "string",
      "default": "Buy on Amazon"
    },
    "buttonIconId": {
      "type": "number",
      "default": 0
    },
    "buttonIconUrl": {
      "type": "string",
      "default": ""
    },
    "btnTextColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "btnHoverTextColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "showViewAllBtn": {
      "type": "boolean",
      "default": true
    },
    "viewAllBtnText": {
      "type": "string",
      "default": "View All Books"
    },
    "viewAllBtnLink": {
      "type": "string",
      "default": ""
    },
    "anchor": {
      "type": "string",
      "default": ""
    },
    "previewImage": {
      "type": "string",
      "default": "screenshot.png"
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalSkipSerialization": true
    }
  },
  "textdomain": "author-website-templates",
  "editorScript": "file:./index.js",
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}