[
  {
    "name": "id",
    "type": "string",
    "required": false,
    "description": "The ID of the header.",
    "released": "10.0.0"
  },
  {
    "name": "logo",
    "type": "object",
    "required": false,
    "description": "Object containing options for the logo.",
    "released": "10.0.0",
    "params": [
      {
        "name": "href",
        "type": "string",
        "required": false,
        "description": "The `href` of the link for the logo. If not set, and a `service.href` is set, or both are set to same value, then the logo and service name will be combined into a single link.",
        "released": "10.0.0"
      },
      {
        "name": "src",
        "type": "string",
        "required": false,
        "description": "The path of the logo image, if you are not using the default NHS logo.",
        "released": "10.0.0"
      },
      {
        "name": "alt",
        "type": "string",
        "required": false,
        "description": "The alt text for the logo. Defaults to `\"NHS\"`.",
        "released": "10.0.0"
      },
      {
        "name": "ariaLabel",
        "type": "string",
        "required": false,
        "description": "The `aria-label` for a linked logo. Defaults to `\"NHS homepage\"`.",
        "released": "10.0.0"
      }
    ]
  },
  {
    "name": "service",
    "type": "object",
    "required": false,
    "description": "Object containing options for the service name.",
    "released": "10.0.0",
    "params": [
      {
        "name": "text",
        "type": "string",
        "required": false,
        "description": "The text to use for the service name.",
        "released": "10.0.0"
      },
      {
        "name": "href",
        "type": "string",
        "required": false,
        "description": "The `href` of the link for the service name.",
        "released": "10.0.0"
      }
    ]
  },
  {
    "name": "inline",
    "type": "boolean",
    "required": false,
    "description": "If set to `true`, positions the search box (or account links) inline with the NHS logo.",
    "released": "10.4.0"
  },
  {
    "name": "organisation",
    "type": "object",
    "required": false,
    "description": "Settings for header with organisational logo.",
    "released": "10.0.0",
    "params": [
      {
        "name": "name",
        "type": "string",
        "required": false,
        "description": "Organisation name.",
        "released": "10.0.0"
      },
      {
        "name": "split",
        "type": "string",
        "required": false,
        "description": "Longer organisation names can be split onto multiple lines.",
        "released": "10.0.0"
      },
      {
        "name": "descriptor",
        "type": "string",
        "required": false,
        "description": "Organisation descriptor.",
        "released": "10.0.0"
      }
    ]
  },
  {
    "name": "navigation",
    "type": "object",
    "required": false,
    "description": "Object containing settings for the primary navigation.",
    "released": "10.0.0",
    "params": [
      {
        "name": "items",
        "type": "array",
        "required": false,
        "description": "Array of navigation links for use in the header.",
        "released": "10.0.0",
        "params": [
          {
            "name": "href",
            "type": "string",
            "required": false,
            "description": "The href of a navigation item in the header.",
            "released": "10.0.0"
          },
          {
            "name": "text",
            "type": "string",
            "required": true,
            "description": "If `html` is set, this is not required. Text for the navigation item. If `html` is provided, the `text` argument will be ignored.",
            "released": "10.0.0"
          },
          {
            "name": "html",
            "type": "string",
            "required": true,
            "description": "If `text` is set, this is not required. HTML for the navigation item. If `html` is provided, the `text` argument will be ignored.",
            "released": "10.0.0"
          },
          {
            "name": "current",
            "type": "boolean",
            "required": false,
            "description": "Set to `true` if this links to the current page being shown.",
            "released": "10.0.0"
          },
          {
            "name": "active",
            "type": "boolean",
            "required": false,
            "description": "Set to `true` if the current page is within this section, but the link doesn't necessarily link to the current page",
            "released": "10.0.0"
          },
          {
            "name": "classes",
            "type": "string",
            "required": false,
            "description": "Classes to add to the list item containing the link.",
            "released": "10.0.0"
          },
          {
            "name": "attributes",
            "type": "object",
            "required": false,
            "description": "HTML attributes (for example data attributes) to add to the list item containing the link.",
            "released": "10.0.0"
          }
        ]
      },
      {
        "name": "ariaLabel",
        "type": "string",
        "required": false,
        "description": "The `aria-label` for the primary navigation. Defaults to `\"Menu\"`.",
        "released": "10.0.0"
      },
      {
        "name": "toggleMenuText",
        "type": "string",
        "required": false,
        "description": "Text for the toggle menu button. Defaults to `\"More\"`.",
        "released": "10.1.0"
      },
      {
        "name": "toggleMenuVisuallyHiddenText",
        "type": "string",
        "required": false,
        "description": "A visually hidden prefix used before the toggle menu button text. Defaults to `\"Browse\"`.",
        "released": "10.1.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the primary navigation.",
        "released": "10.0.0"
      },
      {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the primary navigation.",
        "released": "10.0.0"
      },
      {
        "name": "justified",
        "type": "boolean",
        "required": false,
        "description": "If set to `true`, use justified alignment where navigation items appeared evenly spaced out.",
        "released": "10.4.0"
      },
      {
        "name": "colour",
        "type": "string",
        "required": false,
        "description": "Optional colour modifier for the primary navigation. You can use only `\"white\"` or empty values with this option.",
        "released": "10.0.0"
      }
    ]
  },
  {
    "name": "search",
    "type": "object",
    "required": false,
    "description": "Object containing settings for a search box.",
    "released": "10.0.0",
    "params": [
      {
        "name": "action",
        "type": "string",
        "required": false,
        "description": "The search form `action` attribute. Defaults to `\"https://www.nhs.uk/search\"`.",
        "released": "10.0.0"
      },
      {
        "name": "method",
        "type": "string",
        "required": false,
        "description": "The search form `method` attribute. Defaults to `\"get\"`.",
        "released": "10.3.0"
      },
      {
        "name": "name",
        "type": "string",
        "required": false,
        "description": "The `name` attribute for the search field. Defaults to `\"q\"`.",
        "released": "10.0.0"
      },
      {
        "name": "placeholder",
        "type": "string",
        "required": false,
        "description": "The placeholder text for the search field. Defaults to `\"Search\"`.",
        "released": "10.0.0"
      },
      {
        "name": "visuallyHiddenLabel",
        "type": "string",
        "required": false,
        "description": "The label for the search field. Defaults to `\"Search the NHS website\"`.",
        "released": "10.0.0"
      },
      {
        "name": "visuallyHiddenButton",
        "type": "string",
        "required": false,
        "description": "The label for the visually hidden button. Defaults to `\"Search\"`.",
        "released": "10.0.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the search element.",
        "released": "10.3.0"
      },
      {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the search element.",
        "released": "10.3.0"
      }
    ]
  },
  {
    "name": "account",
    "type": "object",
    "required": false,
    "description": "Object containing settings for the account section of the header.",
    "released": "10.0.0",
    "params": [
      {
        "name": "items",
        "type": "array",
        "required": false,
        "description": "Array of account items for use in the header.",
        "released": "10.0.0",
        "params": [
          {
            "name": "href",
            "type": "string",
            "required": false,
            "description": "The href of an account item in the header.",
            "released": "10.0.0"
          },
          {
            "name": "text",
            "type": "string",
            "required": true,
            "description": "If `html` is set, this is not required. Text for the account item. If `html` is provided, the `text` argument will be ignored.",
            "released": "10.0.0"
          },
          {
            "name": "html",
            "type": "string",
            "required": true,
            "description": "If `text` is set, this is not required. HTML for the account item. If `html` is provided, the `text` argument will be ignored.",
            "released": "10.0.0"
          },
          {
            "name": "icon",
            "type": "boolean",
            "required": false,
            "description": "Whether to include the account icon for the account item. Defaults to `false`.",
            "released": "10.0.0"
          },
          {
            "name": "action",
            "type": "string",
            "required": false,
            "description": "If set, the item will become a button wrapped in a form with the action given. Useful for log out buttons.",
            "released": "10.0.0"
          },
          {
            "name": "method",
            "type": "string",
            "required": false,
            "description": "The value to use for the `method` of the form if `action` is set. Defaults to `\"post\"`.",
            "released": "10.0.0"
          },
          {
            "name": "classes",
            "type": "string",
            "required": false,
            "description": "Classes to add to the list item containing the account item.",
            "released": "10.0.0"
          }
        ]
      },
      {
        "name": "ariaLabel",
        "type": "string",
        "required": false,
        "description": "The `aria-label` for the account navigation. Defaults to `\"Account\"`.",
        "released": "10.0.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the account navigation.",
        "released": "10.0.0"
      },
      {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the account navigation.",
        "released": "10.0.0"
      }
    ]
  },
  {
    "name": "baseUrl",
    "type": "string",
    "required": false,
    "description": "Base URL to prepend to the `logo.src` path.",
    "released": "10.0.0"
  },
  {
    "name": "containerClasses",
    "type": "string",
    "required": false,
    "description": "Classes to add to the header container, useful if you want to make the header fixed width.",
    "released": "10.0.0"
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the header container.",
    "released": "10.0.0"
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the header container.",
    "released": "10.0.0"
  },
  {
    "name": "colour",
    "type": "string",
    "required": false,
    "description": "Optional colour modifier for the header. You can use only `\"white\"` or empty values with this option.",
    "released": "10.0.0"
  }
]
