{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "disable_preview": {
          "enum": [
            "yes",
            "no",
            "true",
            "false",
            "on",
            "off"
          ],
          "type": "string"
        },
        "disabled": {
          "enum": [
            "yes",
            "no"
          ],
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "input_info": {
          "$ref": "#/definitions/TSearchListItem"
        },
        "minlength": {
          "type": "number"
        },
        "searchlabel": {
          "type": "string"
        },
        "searchlist": {
          "items": {
            "$ref": "#/definitions/TSearchListItem"
          },
          "type": "array"
        },
        "style": {
          "type": "string"
        },
        "textarea": {
          "enum": [
            "yes",
            "true",
            ""
          ],
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "value"
      ],
      "type": "object"
    },
    "TSearchListItem": {
      "additionalProperties": false,
      "properties": {
        "badge": {
          "$ref": "#/definitions/TSearchListItemBadge"
        },
        "fixed": {
          "type": "boolean"
        },
        "icon": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "number_of_results": {
          "type": "number"
        },
        "tags": {
          "items": {
            "$ref": "#/definitions/TSearchListItemTag"
          },
          "type": "array"
        },
        "text": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "text",
        "id"
      ],
      "type": "object"
    },
    "TSearchListItemBadge": {
      "additionalProperties": false,
      "properties": {
        "color": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "TSearchListItemTag": {
      "additionalProperties": false,
      "properties": {
        "color": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}
