{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "awt/child-author-book-details",
    "title": "Book Details (Child Author)",
    "category": "awt-blocks",
    "icon": "book-alt",
    "description": "Display detailed information about a single book with toggleable sections",
    "editorScript": "file:./index.js",
    "keywords": [
        "book",
        "details",
        "single",
        "meta"
    ],
    "supports": {
        "html": false,
        "color": false,
        "typography": false,
        "spacing": false,
        "align": [
            "full"
        ],
        "alignWide": true
    },
    "attributes": {
        "align": {
            "type": "string",
            "default": "full"
        },
        "detailsStyle": {
            "type": "string",
            "default": "fun"
        },
        "showGallery": {
            "type": "boolean",
            "default": true
        },
        "showMeta": {
            "type": "boolean",
            "default": true
        },
        "showBuyButtons": {
            "type": "boolean",
            "default": true
        },
        "showDescription": {
            "type": "boolean",
            "default": true
        },
        "showPrice": {
            "type": "boolean",
            "default": true
        },
        "showFormats": {
            "type": "boolean",
            "default": true
        },
        "sectionBgColor": {
            "type": "string",
            "default": "#FFFDF5"
        },
        "titleColor": {
            "type": "string",
            "default": "#264653"
        },
        "accentColor": {
            "type": "string",
            "default": "#EF476F"
        },
        "btnBgColor": {
            "type": "string",
            "default": "#FFD166"
        },
        "labelBack": {
            "type": "string",
            "default": "Back to All Books"
        },
        "labelLatest": {
            "type": "string",
            "default": "Latest Release!"
        },
        "labelIllustrated": {
            "type": "string",
            "default": "Illustrated by"
        },
        "labelOrder": {
            "type": "string",
            "default": "Order Your Copy!"
        },
        "labelPeek": {
            "type": "string",
            "default": "A Peek Inside!"
        },
        "labelAbout": {
            "type": "string",
            "default": "About the Book"
        },
        "labelDetails": {
            "type": "string",
            "default": "Book Details"
        },
        "bookId": {
            "type": "string",
            "default": ""
        },
        "previewImage": {
            "type": "string",
            "default": "screenshot.png"
        }
    },
    "render": "file:./render.php",
    "style": "file:./style-index.css"
}