{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "navlink": {
          "$ref": "#/definitions/INavLink"
        },
        "navpage": {
          "type": "string"
        },
        "selected": {
          "type": "boolean"
        },
        "style": {
          "type": "string"
        }
      },
      "required": [
        "navlink"
      ],
      "type": "object"
    },
    "INavLink": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "badge": {
          "additionalProperties": false,
          "properties": {
            "class": {
              "type": "string"
            },
            "classcolor": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "group": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "open": {
          "type": "boolean"
        },
        "subLinks": {
          "items": {
            "$ref": "#/definitions/INavLink"
          },
          "type": "array"
        }
      },
      "required": [
        "key",
        "label"
      ],
      "type": "object"
    }
  }
}
