{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "axcelersblocks/image",
  "version": "1.0.0",
  "title": "AXB: Image",
  "category": "axcelersblocks-blocks",
  "description": "An image block for adding media with options for alignment, sizing, captions, linking, and visual styling.",
  "example": {},
  "supports": {
    "html": false,
    "anchor": true,
    "customClassName": true
  },
  "attributes": {
    "anchor": {
      "type": "string",
      "default": ""
    },
    "uniqueClass": {
      "type": "string",
      "default": ""
    },
    "customLink": {
      "type": "string",
      "default": ""
    },
    "imageId": {
      "type": "string",
      "default": ""
    },
    "imageUrl": {
      "type": "string",
      "default": ""
    },
    "imageSources": {
      "type": "object",
      "default": {
        "tablet": {
          "imageId": "",
          "imageUrl": ""
        },
        "mobile": {
          "imageId": "",
          "imageUrl": ""
        }
      }
    },
    "alt": {
      "type": "string",
      "default": ""
    },
    "renderInlineSvg": {
      "type": "boolean",
      "default": false
    },
    "sizeSlug": {
      "type": "string",
      "default": "full"
    },
    "dynamicTag": {
      "type": "string",
      "default": ""
    },
    "selectedTag": {
      "type": "string",
      "default": "featured_image"
    },
    "sourceType": {
      "type": "string",
      "default": "current"
    },
    "postId": {
      "type": "string",
      "default": ""
    },
    "postType": {
      "type": "string",
      "default": "post"
    },
    "linkOption": {
      "type": "string",
      "default": "none"
    },
    "sourceEntity": {
      "type": "string",
      "default": "post"
    },
    "taxonomy": {
      "type": "string",
      "default": "category"
    },
    "termId": {
      "type": "string",
      "default": ""
    },
    "metaKey": {
      "type": "string",
      "default": ""
    },
    "acfField": {
      "type": "string",
      "default": ""
    },
    "acfScope": {
      "type": "string",
      "default": "entity"
    },
    "required": {
      "type": "boolean",
      "default": true
    },
    "openInNewTab": {
      "type": "boolean",
      "default": true
    },
    "imgObjectFit": {
      "type": "object",
      "default": {
        "desktop": "cover",
        "tablet": "",
        "mobile": ""
      }
    },
    "imgObjectPosition": {
      "type": "object",
      "default": {
        "desktop": "50% 50%",
        "tablet": "",
        "mobile": ""
      }
    },
    "loading": {
      "type": "string",
      "default": "lazy"
    },
    "decoding": {
      "type": "string",
      "default": "async"
    },
    "padding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        },
        "tablet": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        },
        "mobile": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        }
      }
    },
    "margin": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        },
        "tablet": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        },
        "mobile": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "isVHActive": false,
          "isSidesAllActive": false
        }
      }
    },
    "display": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "width": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "height": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "minWidth": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "maxWidth": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "maxHeight": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "aspectRatio": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "backgroundColor": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "border": {
      "type": "object",
      "default": {
        "desktop": {
          "width": "",
          "style": "",
          "color": "",
          "sides": {},
          "isLinkActive": true
        },
        "tablet": {
          "width": "",
          "style": "",
          "color": "",
          "sides": {},
          "isLinkActive": true
        },
        "mobile": {
          "width": "",
          "style": "",
          "color": "",
          "sides": {},
          "isLinkActive": true
        }
      }
    },
    "borderRadius": {
      "type": "object",
      "default": {
        "desktop": {
          "value": "",
          "corners": {},
          "isLinkActive": true
        },
        "tablet": {
          "value": "",
          "corners": {},
          "isLinkActive": true
        },
        "mobile": {
          "value": "",
          "corners": {},
          "isLinkActive": true
        }
      }
    },
    "position": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "inset": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": ""
        },
        "tablet": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": ""
        },
        "mobile": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": ""
        }
      }
    },
    "overflowX": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "overflowY": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "zIndex": {
      "type": "object",
      "default": {
        "desktop": "",
        "tablet": "",
        "mobile": ""
      }
    },
    "effect": {
      "type": "object",
      "default": {
        "desktop": {
          "boxShadow": {
            "xOffset": "",
            "yOffset": "",
            "blurRadius": "",
            "spreadRadius": "",
            "color": "",
            "inset": false
          },
          "transition": {
            "property": "",
            "duration": "",
            "timingFunction": "",
            "delay": ""
          }
        },
        "tablet": {
          "boxShadow": {
            "xOffset": "",
            "yOffset": "",
            "blurRadius": "",
            "spreadRadius": "",
            "color": "",
            "inset": false
          },
          "transition": {
            "property": "",
            "duration": "",
            "timingFunction": "",
            "delay": ""
          }
        },
        "mobile": {
          "boxShadow": {
            "xOffset": "",
            "yOffset": "",
            "blurRadius": "",
            "spreadRadius": "",
            "color": "",
            "inset": false
          },
          "transition": {
            "property": "",
            "duration": "",
            "timingFunction": "",
            "delay": ""
          }
        }
      }
    }
  },
  "textdomain": "axcelersblocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}