{
  "$schema": "https://schemas.wp.org/wp/6.9/block.json",
  "apiVersion": 3,
  "name": "form-block/input",
  "title": "Input",
  "category": "formatting",
  "description": "A single input field for a form.",
  "keywords": [
    "field",
    "number",
    "text"
  ],
  "textdomain": "form-block",
  "ancestor": [
    "form-block/form"
  ],
  "attributes": {
    "autoComplete": {
      "attribute": "autocomplete",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "autoCompleteSection": {
      "type": "string"
    },
    "checked": {
      "attribute": "checked",
      "selector": "input",
      "source": "attribute",
      "type": "boolean"
    },
    "customDate": {
      "default": {
        "showLabel": false,
        "showPlaceholder": true,
        "value": []
      },
      "type": "object"
    },
    "disabled": {
      "attribute": "disabled",
      "selector": "input",
      "source": "attribute",
      "type": "boolean"
    },
    "isReplyTo": {
      "type": "boolean"
    },
    "label": {
      "selector": ".form-block__label-content",
      "source": "html",
      "type": "string"
    },
    "name": {
      "attribute": "name",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "pattern": {
      "attribute": "pattern",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "placeholder": {
      "attribute": "placeholder",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "readOnly": {
      "attribute": "readonly",
      "selector": "input",
      "source": "attribute",
      "type": "boolean"
    },
    "required": {
      "attribute": "required",
      "selector": "input",
      "source": "attribute",
      "type": "boolean"
    },
    "spellCheck": {
      "attribute": "spellcheck",
      "default": true,
      "selector": "input",
      "source": "attribute",
      "type": "boolean"
    },
    "type": {
      "attribute": "type",
      "default": "text",
      "enum": [],
      "selector": "input",
      "source": "attribute",
      "type": "string"
    },
    "value": {
      "attribute": "value",
      "selector": "input",
      "source": "attribute",
      "type": "string"
    }
  },
  "selectors": {
    "border": ".wp-block-form-block-input input",
    "color": ".wp-block-form-block-input input",
    "shadow": ".wp-block-form-block-input input"
  },
  "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,
    "spacing": {
      "margin": true,
      "padding": true
    },
    "shadow": {
      "__experimentalSkipSerialization": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": [
    "file:./index.css"
  ]
}