{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "awt/child-author-latest-stories",
    "version": "1.2.0",
    "title": "Latest Stories (Child Author)",
    "category": "awt-blocks",
    "icon": "welcome-widgets-menus",
    "description": "Dynamic block displaying the latest blog posts with a fun design.",
    "supports": {
        "html": false,
        "align": [
            "full",
            "wide"
        ],
        "alignWide": true,
        "color": {
            "background": false,
            "text": false
        }
    },
    "textdomain": "author-website-templates",
    "attributes": {
        "postsToShow": {
            "type": "number",
            "default": 3
        },
        "storiesStyle": {
            "type": "string",
            "default": "fun"
        },
        "order": {
            "type": "string",
            "default": "desc"
        },
        "orderBy": {
            "type": "string",
            "default": "date"
        },
        "sectionTitle": {
            "type": "string",
            "default": "Latest Adventures"
        },
        "readMoreText": {
            "type": "string",
            "default": "Read Adventure"
        },
        "showDate": {
            "type": "boolean",
            "default": true
        },
        "showCategory": {
            "type": "boolean",
            "default": true
        },
        "showExcerpt": {
            "type": "boolean",
            "default": true
        },
        "showReadMore": {
            "type": "boolean",
            "default": true
        },
        "showViewAll": {
            "type": "boolean",
            "default": true
        },
        "viewAllText": {
            "type": "string",
            "default": "View All Posts →"
        },
        "viewAllUrl": {
            "type": "string",
            "default": "#"
        },
        "sectionBgColor": {
            "type": "string",
            "default": "#FFFDF5"
        },
        "cardBgColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "titleColor": {
            "type": "string",
            "default": "#264653"
        },
        "metaColor": {
            "type": "string",
            "default": "#EF476F"
        },
        "readMoreColor": {
            "type": "string",
            "default": ""
        },
        "viewAllColor": {
            "type": "string",
            "default": ""
        },
        "align": {
            "type": "string",
            "default": "full"
        },
        "previewImage": {
            "type": "string",
            "default": "screenshot.png"
        }
    },
    "editorScript": "file:./index.js",
    "render": "file:./render.php",
    "style": "file:./style-index.css"
}