{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "icon": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "karma": {
          "$ref": "#/definitions/Karma",
          "description": "Semantic accent from Bulma (`secondary` → `dark` tokens), or `none` for a custom host color via `--hb--dashboard-indicator-background`."
        },
        "link_label": {
          "type": "string"
        },
        "number": {
          "type": "number"
        },
        "style": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "Karma": {
      "enum": [
        "success",
        "danger",
        "warning",
        "primary",
        "secondary",
        "info",
        "none"
      ],
      "type": "string"
    }
  }
}
