[
  {
    "name": "title",
    "type": "string",
    "required": false,
    "description": "The title text for the error summary.",
    "default": "There is a problem"
  },
  {
    "name": "headingLevel",
    "type": "number",
    "required": false,
    "description": "The heading level which represents an element from `<h1>` through to `<h6>`.",
    "default": 2
  },
  {
    "name": "items",
    "type": "array",
    "required": true,
    "description": "The list of items to display in the error summary.",
    "params": [
      {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "The error message text."
      },
      {
        "name": "href",
        "type": "string",
        "required": false,
        "description": "The ID of the form field related to this error message. (Requires a `#` prefix.)"
      }
    ]
  },
  {
    "name": "disableAutoFocus",
    "type": "boolean",
    "required": false,
    "description": "If `true`, disables the automatic focusing of the error summary when the page loads.",
    "default": false
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the error summary."
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the error summary."
  }
]
