{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "easy-architect/easy-date-time",
    "version": "1.1.9",
    "title": "Easy Date & Time",
    "category": "text",
    "icon": "calendar-alt",
    "description": "Display dates and times with flexible formatting options. Optionally connect to datetime meta fields.",
    "keywords": [
        "date",
        "time",
        "datetime",
        "calendar",
        "schedule"
    ],
    "textdomain": "easy-architect",
    "usesContext": [ "postType", "postId" ],
    "attributes": {
        "datetime": {
            "type": "string",
            "default": ""
        },
        "displayFormat": {
            "type": "string",
            "default": "datetime"
        },
        "customFormat": {
            "type": "string",
            "default": ""
        },
        "showRelative": {
            "type": "boolean",
            "default": false
        },
        "metadata": {
            "type": "object",
            "default": {}
        },
        "style": {
            "type": "object",
            "default": {
            "typography": {
                "lineHeight": "1"
                }
            }
        },
        "connections": {
            "type": "object",
            "default": {
                "datetime": {
                    "type": "datetime"
                }
            }
        }
    },
    "supports": {
        "anchor": true,
        "__experimentalBorder": {
            "color": true,
            "radius": true,
            "style": true,
            "width": true
        },
        "color": {
            "gradients": true,
            "link": true,
            "__experimentalDefaultControls": {
                "background": true,
                "text": true
            }
        },
        "spacing": {
            "margin": true,
            "padding": true,
            "__experimentalDefaultControls": {
                "margin": false,
                "padding": false
            }
        },
        "typography": {
            "fontSize": true,
            "lineHeight": true,
            "__experimentalFontFamily": true,
            "__experimentalTextDecoration": true,
            "__experimentalFontStyle": true,
            "__experimentalFontWeight": true,
            "__experimentalLetterSpacing": true,
            "__experimentalTextTransform": true,
            "__experimentalWritingMode": true,
            "__experimentalDefaultControls": {
                "fontSize": true,
                "fontAppearance": true
            }
        },
        "interactivity": false,
        "lock": false,
        "connections": true
    },
    "example": {
        "attributes": {
            "datetime": "2025-10-15T14:30:00",
            "displayFormat": "datetime"
        },
        "innerBlocks": []
    },
    "editorScript": "file:./index.js",
    "editorStyle": "file:./index.css",
    "style": "file:./style-index.css",
    "render": "file:./render.php"
}