{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "photo-collage/frame",
  "version": "0.1.1",
  "title": "Collage Frame",
  "category": "design",
  "icon": "square",
  "description": "A wrapper block for positioning any content within a Collage Container.",
  "supports": {
    "align": true,
    "html": false,
    "reusable": false,
    "contentRole": true,
    "listView": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": true,
      "units": [
        "px",
        "em",
        "rem",
        "vh",
        "vw",
        "%"
      ]
    },
    "border": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "shadow": true,
    "color": {
      "background": true,
      "gradients": true
    }
  },
  "textdomain": "photo-collage",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "attributes": {
    "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"
    },
    "rotation": {
      "type": "number",
      "default": 0
    },
    "opacity": {
      "type": "number",
      "default": 1
    },
    "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
    }
  }
}