{
  "$ref": "#/definitions/Events",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "CardNavigatorRowSelected": {
      "additionalProperties": false,
      "properties": {
        "icon": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "sort": {
          "type": "number"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "CardRow": {
      "additionalProperties": false,
      "properties": {
        "badge": {
          "additionalProperties": false,
          "properties": {
            "class": {
              "type": "string"
            },
            "classcolor": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "bootstrapIcon": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "selected": {
          "type": "boolean"
        },
        "subtext": {
          "type": "string"
        },
        "switchToPanelId": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "enum": [
            "switch",
            "range",
            "radio",
            "checkbox",
            "button"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "number",
            "boolean"
          ]
        }
      },
      "required": [
        "key",
        "text"
      ],
      "type": "object"
    },
    "CardRowSelected": {
      "additionalProperties": false,
      "properties": {
        "card": {
          "$ref": "#/definitions/CardNavigatorRowSelected"
        },
        "id": {
          "type": "string"
        },
        "panel": {
          "$ref": "#/definitions/PanelRowSelected"
        },
        "row": {
          "$ref": "#/definitions/CardRow"
        }
      },
      "required": [
        "panel",
        "card",
        "row",
        "id"
      ],
      "type": "object"
    },
    "Events": {
      "additionalProperties": false,
      "properties": {
        "itemClick": {
          "$ref": "#/definitions/CardRowSelected"
        }
      },
      "required": [
        "itemClick"
      ],
      "type": "object"
    },
    "PanelRowSelected": {
      "additionalProperties": false,
      "properties": {
        "icon": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "main": {
          "type": "boolean"
        },
        "parentPanelId": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    }
  }
}
