{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "awt/child-author-book-list",
    "title": "Book List ( Child Author )",
    "category": "awt-blocks",
    "icon": "book",
    "description": "Display a list of books with AJAX load more functionality",
    "editorScript": "file:./index.js",
    "keywords": [
        "books",
        "list",
        "ajax",
        "load more"
    ],
    "supports": {
        "html": false,
        "color": false,
        "typography": false,
        "spacing": false,
        "align": [
            "full"
        ],
        "alignWide": true
    },
    "attributes": {
        "align": {
            "type": "string",
            "default": "full"
        },
        "postsToShow": {
            "type": "number",
            "default": 5
        },
        "categories": {
            "type": "string",
            "default": ""
        },
        "showLoadMore": {
            "type": "boolean",
            "default": true
        },
        "loadMoreText": {
            "type": "string",
            "default": "Load More Books"
        },
        "blockId": {
            "type": "string",
            "default": ""
        },
        "bookListStyle": {
            "type": "string",
            "default": "fun"
        },
        "showCategory": {
            "type": "boolean",
            "default": true
        },
        "showDescription": {
            "type": "boolean",
            "default": true
        },
        "showBuyBtn": {
            "type": "boolean",
            "default": true
        },
        "showDetailsBtn": {
            "type": "boolean",
            "default": true
        },
        "descSource": {
            "type": "string",
            "default": "excerpt"
        },
        "titleColor": {
            "type": "string"
        },
        "descColor": {
            "type": "string"
        },
        "catColor": {
            "type": "string"
        },
        "btnBg": {
            "type": "string"
        },
        "btnText": {
            "type": "string"
        },
        "btnBorder": {
            "type": "string"
        },
        "btnHoverBg": {
            "type": "string"
        },
        "btnHoverText": {
            "type": "string"
        },
        "btnHoverBorder": {
            "type": "string"
        },
        "viewBtnBg": {
            "type": "string"
        },
        "viewBtnText": {
            "type": "string"
        },
        "viewBtnBorder": {
            "type": "string"
        },
        "viewBtnHoverBg": {
            "type": "string"
        },
        "viewBtnHoverText": {
            "type": "string"
        },
        "viewBtnHoverBorder": {
            "type": "string"
        },
        "loadMoreBtnBg": {
            "type": "string"
        },
        "loadMoreBtnText": {
            "type": "string"
        },
        "loadMoreBtnHoverBg": {
            "type": "string"
        },
        "loadMoreBtnHoverText": {
            "type": "string"
        }
    },
    "render": "file:./render.php"
}