{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "expandable": {
          "type": "boolean"
        },
        "files": {
          "additionalProperties": false,
          "properties": {
            "mode": {
              "enum": [
                "single",
                "multiple"
              ],
              "type": "string"
            }
          },
          "required": [
            "mode"
          ],
          "type": "object"
        },
        "id": {
          "type": "string"
        },
        "style": {
          "type": "string"
        },
        "tags": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "color": {
                "type": "string"
              },
              "icon": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "text": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}
