{
  "$schema": "https://schemas.wp.org/wp/6.9/block.json",
  "apiVersion": 3,
  "name": "form-block/select",
  "title": "Select",
  "category": "formatting",
  "description": "A select field to select one or multiple values from.",
  "keywords": [
    "choice",
    "option"
  ],
  "textdomain": "form-block",
  "ancestor": [
    "form-block/form"
  ],
  "attributes": {
    "autoComplete": {
      "attribute": "autocomplete",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "autoCompleteSection": {
      "type": "string"
    },
    "disabled": {
      "attribute": "disabled",
      "selector": "select",
      "source": "attribute",
      "type": "boolean"
    },
    "label": {
      "selector": ".form-block__label-content",
      "source": "html",
      "type": "string"
    },
    "name": {
      "attribute": "name",
      "selector": "select",
      "source": "attribute",
      "type": "string"
    },
    "options": {
      "default": [
        {
          "label": "- Please select -",
          "value": ""
        }
      ],
      "query": {
        "label": {
          "attribute": "label",
          "source": "attribute",
          "type": "string"
        },
        "value": {
          "source": "text",
          "type": "string"
        }
      },
      "selector": "option",
      "source": "query",
      "type": "array"
    },
    "required": {
      "attribute": "required",
      "selector": "select",
      "source": "attribute",
      "type": "boolean"
    },
    "spellCheck": {
      "attribute": "spellcheck",
      "default": true,
      "selector": "select",
      "source": "attribute",
      "type": "boolean"
    },
    "value": {
      "attribute": "value",
      "selector": "select",
      "source": "attribute",
      "type": "string"
    }
  },
  "selectors": {
    "border": ".wp-block-form-block-select select",
    "color": ".wp-block-form-block-select select",
    "shadow": ".wp-block-form-block-select select"
  },
  "supports": {
    "__experimentalBorder": {
      "radius": true,
      "color": true,
      "width": true,
      "style": true,
      "__experimentalDefaultControls": {
        "radius": true,
        "color": true,
        "width": true,
        "style": true
      },
      "__experimentalSkipSerialization": true
    },
    "anchor": true,
    "color": {
      "background": true,
      "gradients": true,
      "text": true,
      "__experimentalSkipSerialization": true
    },
    "html": false,
    "reusable": false,
    "shadow": {
      "__experimentalSkipSerialization": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": [
    "file:./index.css"
  ]
}