{
  "$ref": "#/definitions/Events",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Events": {
      "additionalProperties": false,
      "properties": {
        "footerClick": {
          "additionalProperties": false,
          "properties": {
            "elClick": {
              "type": "string"
            }
          },
          "required": [
            "elClick"
          ],
          "type": "object"
        },
        "languageChange": {
          "additionalProperties": false,
          "description": "Host updates `i18nlang` on `hb-layout` (or equivalent) and reloads copy.",
          "properties": {
            "code": {
              "type": "string"
            }
          },
          "required": [
            "code"
          ],
          "type": "object"
        },
        "navbarDropDownClick": {
          "additionalProperties": false,
          "properties": {
            "key": {
              "type": "string"
            }
          },
          "required": [
            "key"
          ],
          "type": "object"
        },
        "navbarSlotClick": {
          "additionalProperties": false,
          "properties": {
            "side": {
              "enum": [
                "left",
                "right",
                "center"
              ],
              "type": "string"
            }
          },
          "required": [
            "side"
          ],
          "type": "object"
        },
        "offcanvasswitch": {
          "additionalProperties": false,
          "properties": {
            "isOpen": {
              "type": "boolean"
            }
          },
          "required": [
            "isOpen"
          ],
          "type": "object"
        },
        "pageChange": {
          "additionalProperties": false,
          "properties": {
            "page": {
              "type": "string"
            }
          },
          "required": [
            "page"
          ],
          "type": "object"
        },
        "themeChange": {
          "additionalProperties": false,
          "description": "Host applies Bulma/document hooks (`data-theme` / `theme-*` on `html`/`body`) or ignores.",
          "properties": {
            "mode": {
              "$ref": "#/definitions/ThemePreference"
            }
          },
          "required": [
            "mode"
          ],
          "type": "object"
        }
      },
      "required": [
        "offcanvasswitch",
        "pageChange",
        "navbarDropDownClick",
        "footerClick",
        "navbarSlotClick",
        "themeChange",
        "languageChange"
      ],
      "type": "object"
    },
    "ThemePreference": {
      "enum": [
        "light",
        "dark",
        "auto"
      ],
      "type": "string"
    }
  }
}
