[
  {
    "name": "id",
    "type": "string",
    "required": false,
    "description": "The ID of the card.",
    "released": "10.0.0"
  },
  {
    "name": "heading",
    "type": "object",
    "required": true,
    "description": "Heading of the card component.",
    "released": "10.6.0",
    "isComponent": true,
    "params": [
      {
        "name": "id",
        "type": "string",
        "required": false,
        "description": "The ID of the heading.",
        "released": "10.6.0"
      },
      {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text for the heading.",
        "released": "10.6.0"
      },
      {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML for the heading.",
        "released": "10.6.0"
      },
      {
        "name": "visuallyHiddenText",
        "type": "string",
        "required": false,
        "description": "A visually hidden prefix used before the heading.",
        "released": "10.6.0"
      },
      {
        "name": "href",
        "type": "string",
        "required": false,
        "description": "If set, the heading will become a link.",
        "released": "10.7.0"
      },
      {
        "name": "openInNewTab",
        "type": "boolean",
        "required": false,
        "description": "If set to `true`, then the heading link will open in a new tab.",
        "released": "10.7.0"
      },
      {
        "name": "caption",
        "type": "object",
        "required": false,
        "description": "Optional caption for the heading.",
        "released": "10.6.0",
        "isComponent": true
      },
      {
        "name": "size",
        "type": "string",
        "required": false,
        "description": "Size of the heading – `\"xxs\"`, `\"xs\"`, `\"s\"`, `\"m\"`, `\"l\"` or `\"xl\"`.",
        "released": "10.6.0"
      },
      {
        "name": "level",
        "type": "integer",
        "required": false,
        "description": "Optional heading level. Defaults to `2`.",
        "released": "10.6.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the heading.",
        "released": "10.6.0"
      },
      {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the heading.",
        "released": "10.6.0"
      }
    ]
  },
  {
    "name": "headingHtml",
    "type": "string",
    "required": true,
    "description": "Replaced by the `heading.html` option.",
    "released": "4.0.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "headingClasses",
    "type": "string",
    "required": false,
    "description": "Replaced by the `heading.classes` option.",
    "released": "4.0.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "headingSize",
    "type": "string",
    "required": false,
    "description": "Replaced by the `heading.size` option.",
    "released": "10.3.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "headingLevel",
    "type": "integer",
    "required": false,
    "description": "Replaced by the `heading.level` option.",
    "released": "4.0.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "headingId",
    "type": "string",
    "required": false,
    "description": "Replaced by the `heading.id` option.",
    "released": "10.3.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "headingVisuallyHiddenText",
    "type": "string",
    "required": false,
    "description": "Replaced by the `heading.visuallyHiddenText` option.",
    "released": "10.3.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "href",
    "type": "string",
    "required": false,
    "description": "The card link `href` attribute.",
    "released": "4.0.0"
  },
  {
    "name": "openInNewTab",
    "type": "boolean",
    "required": false,
    "description": "If set to `true`, then the card link will open in a new tab.",
    "released": "10.7.0"
  },
  {
    "name": "clickable",
    "type": "boolean",
    "required": false,
    "description": "If set to `true`, then the whole card will become a clickable card variant.",
    "released": "4.0.0"
  },
  {
    "name": "variant",
    "type": "string",
    "required": false,
    "description": "Optional variant of card – `\"feature\"`, `\"primary\"`, `\"secondary\"`, `\"warning\"`, `\"non-urgent\"`, `\"urgent\"` or `\"emergency\"`.",
    "released": "10.4.0"
  },
  {
    "name": "type",
    "type": "string",
    "required": false,
    "description": "Replaced by the `variant` option.",
    "released": "6.0.0",
    "deprecated": "10.4.0"
  },
  {
    "name": "feature",
    "type": "boolean",
    "required": false,
    "description": "Replaced by the `variant: \"feature\"` option.",
    "released": "4.0.0",
    "deprecated": "10.4.0"
  },
  {
    "name": "primary",
    "type": "boolean",
    "required": false,
    "description": "Replaced by the `variant: \"primary\"` option.",
    "released": "7.1.0",
    "deprecated": "10.4.0"
  },
  {
    "name": "secondary",
    "type": "boolean",
    "required": false,
    "description": "Replaced by the `variant: \"secondary\"` option.",
    "released": "7.1.0",
    "deprecated": "10.4.0"
  },
  {
    "name": "warning",
    "type": "boolean",
    "required": false,
    "description": "Replaced by the `variant: \"warning\"` option.",
    "released": "10.3.0",
    "deprecated": "10.4.0"
  },
  {
    "name": "imgURL",
    "type": "string",
    "required": false,
    "description": "Replaced by the `image.src` option.",
    "released": "4.0.0",
    "deprecated": "10.3.0"
  },
  {
    "name": "imgALT",
    "type": "string",
    "required": false,
    "description": "Replaced by the `image.alt` option.",
    "released": "4.0.0",
    "deprecated": "10.3.0"
  },
  {
    "name": "image",
    "type": "object",
    "required": false,
    "description": "Can be used to add an image to the card component.",
    "released": "10.3.0",
    "params": [
      {
        "name": "src",
        "type": "string",
        "required": true,
        "description": "The URL of the image in the card.",
        "released": "10.3.0"
      },
      {
        "name": "alt",
        "type": "string",
        "required": false,
        "description": "The alternative text of the image in the card.",
        "released": "10.3.0"
      },
      {
        "name": "html",
        "type": "string",
        "required": false,
        "description": "HTML to use for the image content. If `html` is provided, the `src` and `alt` options will be ignored.",
        "released": "10.3.0"
      }
    ]
  },
  {
    "name": "description",
    "type": "object",
    "required": false,
    "description": "Description to use within the card content. If `descriptionHtml` is provided, the `description` option will be ignored.",
    "released": "10.6.0",
    "params": [
      {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the card content. If `html` is provided, the `text` option will be ignored.",
        "released": "10.6.0"
      },
      {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML to use within the card content. If `html` is provided, the `text` option will be ignored.",
        "released": "10.6.0"
      },
      {
        "name": "visuallyHiddenText",
        "type": "string",
        "required": false,
        "description": "A visually hidden suffix added to the description.",
        "released": "10.7.0"
      },
      {
        "name": "href",
        "type": "string",
        "required": false,
        "description": "The card description link `href` attribute.",
        "released": "10.7.0"
      },
      {
        "name": "openInNewTab",
        "type": "boolean",
        "required": false,
        "description": "If set to `true`, then the card description link will open in a new tab.",
        "released": "10.7.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the card content.",
        "released": "10.6.0"
      },
      {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the card content.",
        "released": "10.6.0"
      }
    ]
  },
  {
    "name": "descriptionHtml",
    "type": "string",
    "required": false,
    "description": "Replaced by the `description.html` option.",
    "released": "4.0.0",
    "deprecated": "10.6.0"
  },
  {
    "name": "actions",
    "type": "object",
    "required": false,
    "description": "Can be used to add actions to the card component.",
    "released": "10.3.0",
    "params": [
      {
        "name": "items",
        "type": "array",
        "required": false,
        "description": "Array of actions as links for use in the card component.",
        "alias": "link",
        "released": "10.3.0",
        "isComponent": true,
        "params": [
          {
            "name": "id",
            "type": "string",
            "required": false,
            "description": "The ID of the action item.",
            "released": "10.6.0"
          },
          {
            "name": "text",
            "type": "string",
            "required": true,
            "description": "If `html` is set, this is not required. Text to use within each action item. If `html` is provided, the `text` option will be ignored.",
            "released": "10.3.0"
          },
          {
            "name": "html",
            "type": "string",
            "required": true,
            "description": "If `text` is set, this is not required. HTML to use within each action item. If `html` is provided, the `text` option will be ignored.",
            "released": "10.3.0"
          },
          {
            "name": "visuallyHiddenText",
            "type": "string",
            "required": false,
            "description": "Actions rely on context from the surrounding content so may require additional accessible text. Text supplied to this option is appended to the end. Use `html` for more complicated scenarios.",
            "released": "10.3.0"
          },
          {
            "name": "name",
            "type": "string",
            "required": false,
            "description": "Name for the action as a button. If `href` is provided, this has no effect.",
            "released": "10.6.0"
          },
          {
            "name": "type",
            "type": "string",
            "required": false,
            "description": "Type of action as a button – `\"button\"`, `\"submit\"` or `\"reset\"`. Defaults to `\"submit\"` unless `href` is provided.",
            "released": "10.6.0"
          },
          {
            "name": "value",
            "type": "string",
            "required": false,
            "description": "The `value` attribute for the action as a button. If `href` is provided, this has no effect.",
            "released": "10.6.0"
          },
          {
            "name": "href",
            "type": "string",
            "required": true,
            "description": "The action `href` attribute. If set, the action will use an `<a>` tag automatically unless `type` is provided.",
            "released": "10.3.0"
          },
          {
            "name": "openInNewTab",
            "type": "boolean",
            "required": false,
            "description": "If set to `true`, then the action will open in a new tab.",
            "released": "10.7.0"
          },
          {
            "name": "classes",
            "type": "string",
            "required": false,
            "description": "Classes to add to the action item.",
            "released": "10.3.0"
          },
          {
            "name": "attributes",
            "type": "object",
            "required": false,
            "description": "HTML attributes (for example data attributes) to add to the action item.",
            "released": "10.3.0"
          }
        ]
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the actions wrapper.",
        "released": "10.3.0"
      }
    ]
  },
  {
    "name": "caller",
    "type": "nunjucks-block",
    "required": false,
    "description": "Not strictly an option but supports the [`call` block](https://mozilla.github.io/nunjucks/templating.html#call) as an alternative to the `html` option. To use it, you will need to wrap the entire card component in a `call` block.",
    "released": "9.5.0"
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the card.",
    "released": "4.0.0"
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the card.",
    "released": "4.0.0"
  }
]
