{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://json.schemastore.org/projektor.json",
  "additionalProperties": false,
  "description": "Global settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
  "properties": {
    "keybind": {
      "title": "keybinding",
      "description": "A daemon keybinding\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "string",
      "minLength": 1,
      "default": "Mod4-q"
    },
    "forcecacheinterval": {
      "title": "force cache interval",
      "description": "A delay between daemon run with '-dry' flag\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "integer",
      "minimum": 0,
      "default": 60
    },
    "enabledcategories": {
      "title": "enabled categories",
      "description": "Global enabled category settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "object",
      "properties": {
        "calc": {
          "title": "calculator",
          "description": "Whether to enable calculator\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "history": {
          "title": "history",
          "description": "Whether to show history\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "apps": {
          "title": "applications",
          "description": "Whether to show applications\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "url": {
          "title": "url",
          "description": "Whether to show urls\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "commands": {
          "title": "commands",
          "description": "Whether to show commands\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "files": {
          "title": "files",
          "description": "Whether to show files\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        },
        "websearch": {
          "title": "web search",
          "description": "Whether to allow web search\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "default": true
        }
      },
      "additionalProperties": false
    },
    "history": {
      "title": "history",
      "description": "Global history settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "object",
      "properties": {
        "capacity": {
          "title": "capacity",
          "description": "A capacity\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "integer",
          "minimum": 0,
          "default": 40
        }
      },
      "additionalProperties": false
    },
    "url": {
      "title": "url",
      "description": "Global url settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "object",
      "properties": {
        "capacity": {
          "title": "icon",
          "description": "An icon\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "minLength": 1,
          "default": "web-browser"
        }
      },
      "additionalProperties": false
    },
    "websearch": {
      "title": "websearch",
      "description": "Global web search settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "object",
      "properties": {
        "engine": {
          "title": "engine",
          "description": "A url template\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "minLength": 1,
          "default": "https://google.com/search?q=%s"
        },
        "icon": {
          "title": "icon",
          "description": "An entry icon\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "minLength": 1,
          "default": "web-browser"
        }
      },
      "additionalProperties": false
    },
    "ui": {
      "title": "ui",
      "description": "Global UI settings\nhttps://github.com/yamnikov-oleg/projektor#configuration",
      "type": "object",
      "properties": {
        "width": {
          "title": "width",
          "description": "A width\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "pattern": "^\\d+$",
          "default": "600"
        },
        "height": {
          "title": "height",
          "description": "A height\nhttps://github.com/yamnikov-oleg/projektor#configuration",
          "type": "string",
          "pattern": "^\\d+$",
          "default": "300"
        }
      },
      "additionalProperties": false
    }
  },
  "title": "settings",
  "type": "object"
}
