{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "list": {
          "items": {
            "$ref": "#/definitions/IDropDownMenuListItem"
          },
          "type": "array"
        },
        "open": {
          "type": "boolean"
        },
        "position": {
          "enum": [
            "left",
            "right"
          ],
          "type": "string"
        },
        "style": {
          "type": "string"
        }
      },
      "required": [
        "list"
      ],
      "type": "object"
    },
    "IDropDownMenuListItem": {
      "additionalProperties": false,
      "properties": {
        "badge": {
          "type": "number"
        },
        "group": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "linkHref": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "label"
      ],
      "type": "object"
    }
  }
}
