{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "aieo/dmm-bridge",
    "version": "1.0.0",
    "title": "AIEO DMM Module Bridge",
    "category": "woocommerce",
    "icon": "screenoptions",
    "description": "Renders any AIEO DMM module (waitlist, complementary, etc.) on a block-themed PDP. Generic dispatcher that calls the module's render method via `AIEO_DMM::instance()->get_module(id)`. Use `renderMethod` to pick which method to invoke when the module's render entry point isn't named `output()` — e.g. waitlist exposes `render_form_hook()`, complementary exposes `render_for_current_product()`. Mirrors the pattern of `aieo/om-ppe-bridge` for the AIEO DMM module registry.",
    "keywords": ["aieo", "dmm", "bridge", "waitlist", "complementary"],
    "ancestor": ["core/template", "core/post-template", "woocommerce/single-product"],
    "supports": {
        "html": false,
        "align": false,
        "spacing": { "margin": true, "padding": false }
    },
    "attributes": {
        "moduleId": {
            "type": "string",
            "default": ""
        },
        "renderMethod": {
            "type": "string",
            "default": "output"
        },
        "zone": {
            "type": "string",
            "default": ""
        },
        "clusterId": {
            "type": "string",
            "default": ""
        }
    },
    "render": "file:./render.php",
    "textdomain": "ai-eshop-optimizer"
}
