{
  "apiVersion": 3,
  "title": "Category Image",
  "name": "brandy/category-image",
  "category": "brandy-blocks",
  "description": "Displays the product category thumbnail, optionally linked to its archive.",
  "ancestor": [
    "brandy/category-template"
  ],
  "usesContext": [
    "termId",
    "taxonomy",
    "termLink",
    "displayLayout"
  ],
  "attributes": {
    "isLink": {
      "type": "boolean",
      "default": true
    },
    "imageSize": {
      "type": "string",
      "default": "woocommerce_thumbnail"
    },
    "imageLayout": {
      "type": "string",
      "enum": [
        "single",
        "mosaic"
      ],
      "default": "single"
    },
    "ringColor": {
      "type": "string"
    }
  },
  "supports": {
    "reusable": false,
    "html": false,
    "align": [
      "left",
      "center",
      "right",
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "radius": true
      }
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "styles": [
    {
      "name": "offset-ring",
      "label": "Offset ring"
    }
  ],
  "render": "file:./render.php",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}