{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "aieo/favourite",
    "version": "1.0.0",
    "title": "Rooster One Favourite",
    "editorScript": "file:./edit.js",
    "category": "woocommerce",
    "icon": "heart",
    "description": "The heart of a brand, a product category, a need or a blog post: keeps it in the visitor's favourites (the same list as Favourites in the account and the side cart). Without an item set, the post in context or the archive's term.",
    "keywords": ["aieo", "favourite", "wishlist", "heart", "brand", "follow"],
    "supports": {
        "html": false,
        "reusable": false
    },
    "attributes": {
        "itemType": { "type": "string", "default": "", "enum": ["", "brand", "product_cat", "pa-need", "post"] },
        "itemId":   { "type": "number", "default": 0 },
        "look":     { "type": "string", "default": "icon", "enum": ["icon", "button"] }
    },
    "usesContext": ["postId", "postType"],
    "render": "file:./render.php",
    "style": "file:./style.css",
    "viewScript": "file:./view.js",
    "textdomain": "ai-eshop-optimizer"
}
