{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "aieo/post-related-needs",
    "version": "1.0.0",
    "title": "Rooster One Post Related Needs",
    "editorScript": "file:./edit.js",
    "category": "theme",
    "icon": "tag",
    "description": "Need-tag chips for the current blog post. Reads wp_aieo_dmm_term_relations for pa_need → post edges. Each chip links to the need archive. With include (a list of taxonomies) it shows the post's other links too: its product categories, needs and brands, and its own tags (post_tag). Display row: one row of chips at the start, the post's foot.",
    "keywords": ["aieo", "need", "tags", "blog", "related"],
    "supports": {
        "html": false,
        "align": ["wide"],
        "spacing": { "margin": true, "padding": true },
        "typography": { "fontSize": true, "lineHeight": true },
        "color": { "background": true, "text": true }
    },
    "attributes": {
        "heading": { "type": "string", "default": "" },
        "include": { "type": "string", "default": "pa_need" },
        "display": { "type": "string", "default": "stack", "enum": ["stack", "row"] }
    },
    "usesContext": ["postId", "postType"],
    "render": "file:./render.php",
    "viewStyle": "file:./style.css",
    "textdomain": "ai-eshop-optimizer"
}
