{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "21.0.6",
  "textdomain": "snow-monkey-blocks",
  "name": "snow-monkey-blocks/section-with-bgimage",
  "title": "Section (with background image/video)",
  "description": "It is a section with a background image/video.",
  "category": "smb-section",
  "attributes": {
    "imageID": {
      "type": "number",
      "default": 0,
      "role": "content"
    },
    "imageURL": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage > img",
      "attribute": "src",
      "default": "",
      "role": "content"
    },
    "imageAlt": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage > img",
      "attribute": "alt",
      "default": "",
      "role": "content"
    },
    "lgImageID": {
      "type": "number",
      "default": 0,
      "role": "content"
    },
    "lgImageURL": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--lg img, .smb-section-with-bgimage__bgimage--lg video",
      "attribute": "src",
      "default": "",
      "role": "content"
    },
    "lgImageAlt": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--lg img",
      "attribute": "alt",
      "default": "",
      "role": "content"
    },
    "lgImageWidth": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--lg img, .smb-section-with-bgimage__bgimage--lg video",
      "attribute": "width",
      "default": ""
    },
    "lgImageHeight": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--lg img, .smb-section-with-bgimage__bgimage--lg video",
      "attribute": "height",
      "default": ""
    },
    "lgImageMediaType": {
      "type": "string",
      "role": "content"
    },
    "lgImageRepeat": {
      "type": "boolean",
      "default": false
    },
    "lgFocalPoint": {
      "type": "object"
    },
    "lgImageSizeSlug": {
      "type": "string",
      "default": "full"
    },
    "mdImageID": {
      "type": "number",
      "default": 0,
      "role": "content"
    },
    "mdImageURL": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--md img, .smb-section-with-bgimage__bgimage--md video",
      "attribute": "src",
      "default": "",
      "role": "content"
    },
    "mdImageAlt": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--md img",
      "attribute": "alt",
      "default": "",
      "role": "content"
    },
    "mdImageWidth": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--md img, .smb-section-with-bgimage__bgimage--md video",
      "attribute": "width",
      "default": ""
    },
    "mdImageHeight": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--md img, .smb-section-with-bgimage__bgimage--md video",
      "attribute": "height",
      "default": ""
    },
    "mdImageMediaType": {
      "type": "string",
      "role": "content"
    },
    "mdImageRepeat": {
      "type": "boolean",
      "default": false
    },
    "mdFocalPoint": {
      "type": "object"
    },
    "mdImageSizeSlug": {
      "type": "string",
      "default": "full"
    },
    "smImageID": {
      "type": "number",
      "default": 0,
      "role": "content"
    },
    "smImageURL": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--sm img, .smb-section-with-bgimage__bgimage--sm video",
      "attribute": "src",
      "default": "",
      "role": "content"
    },
    "smImageAlt": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--sm img",
      "attribute": "alt",
      "default": "",
      "role": "content"
    },
    "smImageWidth": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--sm img, .smb-section-with-bgimage__bgimage--sm video",
      "attribute": "width",
      "default": ""
    },
    "smImageHeight": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-section-with-bgimage__bgimage--sm img, .smb-section-with-bgimage__bgimage--sm video",
      "attribute": "height",
      "default": ""
    },
    "smImageMediaType": {
      "type": "string",
      "role": "content"
    },
    "smImageRepeat": {
      "type": "boolean",
      "default": false
    },
    "smFocalPoint": {
      "type": "object"
    },
    "smImageSizeSlug": {
      "type": "string",
      "default": "full"
    },
    "contentsAlignment": {
      "type": "string"
    },
    "maskColor": {
      "type": "string"
    },
    "maskGradientColor": {
      "type": "string"
    },
    "maskOpacity": {
      "type": "number",
      "default": 1
    },
    "textColor": {
      "type": "string"
    },
    "parallax": {
      "type": "boolean",
      "default": false
    },
    "contentsWidth": {
      "type": "boolean",
      "default": false
    },
    "contentJustification": {
      "type": "string"
    },
    "itemsAlignment": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__title",
      "default": "",
      "role": "content"
    },
    "subtitle": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__subtitle",
      "default": "",
      "role": "content"
    },
    "lede": {
      "type": "string",
      "source": "html",
      "selector": ".smb-section__lede",
      "default": "",
      "role": "content"
    },
    "wrapperTagName": {
      "type": "string",
      "default": "div"
    },
    "titleTagName": {
      "type": "string",
      "default": "h2"
    },
    "height": {
      "type": "string",
      "default": "fit"
    },
    "disableCustomHeight": {
      "type": "boolean",
      "default": true
    },
    "containerAlign": {
      "type": "string"
    },
    "disableContainerPadding": {
      "type": "boolean",
      "default": false
    },
    "contentsMaxWidth": {
      "type": "string"
    },
    "isSlim": {
      "type": "boolean",
      "default": false
    },
    "topDividerType": {
      "type": "string",
      "default": "tilt"
    },
    "topDividerLevel": {
      "type": "number",
      "default": 0
    },
    "topDividerColor": {
      "type": "string",
      "default": "#fff"
    },
    "topDividerVerticalPosition": {
      "type": "number",
      "default": 0
    },
    "topDividerOverlay": {
      "type": "boolean",
      "default": true
    },
    "bottomDividerType": {
      "type": "string",
      "default": "tilt"
    },
    "bottomDividerLevel": {
      "type": "number",
      "default": 0
    },
    "bottomDividerColor": {
      "type": "string",
      "default": "#fff"
    },
    "bottomDividerVerticalPosition": {
      "type": "number",
      "default": 0
    },
    "bottomDividerOverlay": {
      "type": "boolean",
      "default": true
    },
    "backgroundText": {
      "type": "object",
      "default": {
        "text": "",
        "color": "",
        "fontSize": "",
        "fontSizeSlug": "",
        "lineHeight": "",
        "opacity": 0.2,
        "position": {
          "top": null,
          "right": null,
          "bottom": null,
          "left": null
        }
      }
    },
    "templateLock": {
      "type": [
        "string",
        "boolean"
      ],
      "enum": [
        "all",
        "insert",
        "contentOnly",
        false
      ]
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "spacing": {
      "margin": true,
      "padding": [
        "top",
        "bottom"
      ]
    },
    "layout": {
      "allowSwitching": false,
      "allowEditing": false,
      "allowInheriting": false,
      "default": {
        "type": "constrained"
      }
    },
    "contentRole": true,
    "snowmonkeyeditor": {
      "blockPresets": {
        "ignore": [
          "title",
          "subtitle",
          "lede",
          "backgroundText",
          "imageID",
          "imageURL",
          "imageAlt",
          "lgImageID",
          "lgImageURL",
          "lgImageAlt",
          "lgImageMediaType",
          "lgImageRepeat",
          "lgFocalPoint",
          "lgImageSizeSlug",
          "mdImageID",
          "mdImageURL",
          "mdImageAlt",
          "mdImageMediaType",
          "mdImageRepeat",
          "mdFocalPoint",
          "mdImageSizeSlug",
          "smImageID",
          "smImageURL",
          "smImageAlt",
          "smImageMediaType",
          "smImageRepeat",
          "smFocalPoint",
          "smImageSizeSlug"
        ]
      }
    }
  },
  "editorScript": "file:./index.js"
}