{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "photo-collage/image",
  "version": "0.5.1",
  "title": "Collage Image",
  "category": "design",
  "icon": "format-image",
  "description": "An image block with advanced positioning controls.",
  "selectors": {
    "root": ".wp-block-photo-collage-image",
    "typography": ".wp-block-photo-collage-image .photo-collage-image-caption"
  },
  "supports": {
    "align": true,
    "html": false,
    "customClassName": false,
    "spacing": {
      "__experimentalSkipSerialization": true,
      "margin": true,
      "padding": true,
      "blockGap": true,
      "units": [
        "px",
        "em",
        "rem",
        "vh",
        "vw",
        "%"
      ]
    },
    "border": {
      "__experimentalSkipSerialization": true,
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "shadow": true,
    "typography": {
      "__experimentalSkipSerialization": true,
      "fontSize": true,
      "lineHeight": true,
      "fontFamily": true,
      "fontAppearance": true,
      "textDecoration": true
    },
    "color": {
      "__experimentalSkipSerialization": true,
      "background": true,
      "gradients": true
    }
  },
  "textdomain": "photo-collage",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "render": "file:./render.php",
  "attributes": {
    "lightbox": {
      "type": "object"
    },
    "url": {
      "type": "string",
      "role": "content"
    },
    "alt": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "isDecorative": {
      "type": "boolean",
      "default": false,
      "role": "content"
    },
    "id": {
      "type": "number",
      "role": "content"
    },
    "aspectRatio": {
      "type": "string",
      "default": "auto"
    },
    "sizeSlug": {
      "type": "string",
      "default": "large"
    },
    "anchor": {
      "type": "string",
      "default": ""
    },
    "zIndex": {
      "type": "number",
      "default": 1
    },
    "width": {
      "type": "string",
      "default": "50%"
    },
    "height": {
      "type": "string",
      "default": "auto"
    },
    "useAbsolutePosition": {
      "type": "boolean",
      "default": false
    },
    "top": {
      "type": "string",
      "default": "auto"
    },
    "right": {
      "type": "string",
      "default": "auto"
    },
    "bottom": {
      "type": "string",
      "default": "auto"
    },
    "left": {
      "type": "string",
      "default": "auto"
    },
    "objectFit": {
      "type": "string",
      "default": "contain"
    },
    "rotation": {
      "type": "number",
      "default": 0
    },
    "opacity": {
      "type": "number",
      "default": 1
    },
    "showCaption": {
      "type": "boolean",
      "default": true
    },
    "caption": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "captionAlign": {
      "type": "string",
      "default": "left"
    },
    "captionWidth": {
      "type": "string",
      "default": "100%"
    },
    "captionPlacement": {
      "type": "string",
      "default": "bottom-left",
      "enum": [
        "top-left",
        "top-center",
        "top-right",
        "left-top",
        "left-center",
        "left-bottom",
        "right-top",
        "right-center",
        "right-bottom",
        "bottom-left",
        "bottom-center",
        "bottom-right"
      ]
    },
    "divClass": {
      "type": "string",
      "default": ""
    },
    "divStyle": {
      "type": "string",
      "default": ""
    },
    "imgClass": {
      "type": "string",
      "default": ""
    },
    "imgStyle": {
      "type": "string",
      "default": ""
    },
    "captionClass": {
      "type": "string",
      "default": ""
    },
    "captionStyle": {
      "type": "string",
      "default": ""
    },
    "title": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "href": {
      "type": "string",
      "role": "content"
    },
    "linkTarget": {
      "type": "string"
    },
    "rel": {
      "type": "string"
    },
    "linkClass": {
      "type": "string"
    },
    "linkDestination": {
      "type": "string",
      "default": "none",
      "role": "content"
    },
    "backgroundType": {
      "type": "string",
      "default": "none",
      "enum": [
        "none",
        "color",
        "gradient",
        "tiling-image",
        "full-image"
      ]
    },
    "backgroundImageId": {
      "type": "number"
    },
    "backgroundImageUrl": {
      "type": "string"
    },
    "backgroundSize": {
      "type": "string",
      "default": "cover",
      "enum": [
        "cover",
        "contain",
        "auto"
      ]
    },
    "backgroundPosition": {
      "type": "string",
      "default": "center center"
    },
    "backgroundRepeat": {
      "type": "boolean",
      "default": false
    }
  }
}