[
  {
    "name": "serviceName",
    "type": "string",
    "required": true,
    "description": "The name of the service that the cookie banner is for."
  },
  {
    "name": "title",
    "type": "string",
    "required": false,
    "description": "The main title of the cookie banner.",
    "default": "This website uses cookies"
  },
  {
    "name": "body",
    "type": "string",
    "required": false,
    "description": "The body text of the cookie banner.",
    "default": "We use some essential cookies to make this service work.\nWe'd also like to use analytics cookies so we can understand how you use the service and make improvements."
  },
  {
    "name": "acceptedBody",
    "type": "string",
    "required": false,
    "description": "The text to show if the user has accepts cookies.",
    "default": "You have accepted optional cookies. You can change your cookie settings on the [cookies page](cookiesUrl)"
  },
  {
    "name": "rejectedBody",
    "type": "string",
    "required": false,
    "description": "The text to show if the user declines cookies.",
    "default": "You have rejected optional cookies. You can change your cookie settings on the [cookies page](cookiesUrl)"
  },
  {
    "name": "cookiesUrl",
    "type": "string",
    "required": true,
    "description": "The URL of the cookie preferences page for the service."
  },
  {
    "name": "preferencesSetKey",
    "type": "string",
    "required": false,
    "description": "If set, the name of the cookie used to indicate that the user has set their cookie preferences.",
    "default": "cookie_preferences_set"
  },
  {
    "name": "style",
    "type": "string",
    "required": false,
    "description": "The style of banner to use which can be either `contrast` for an inverted style, `accent` for a banner that matches the page’s accent colour or `tint` for a subtle, tinted banner."
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the cookie banner."
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the cookie banner."
  }
]
