{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://docs.dvoid.io/schemas/settings/general.json",
  "title": "dvoid settings: General",
  "description": "Editor and terminal for \"Open in…\".",
  "type": "object",
  "properties": {
    "editor": {
      "type": "string",
      "description": "The editor \"Open in editor\" runs (cursor, code, …). Unset: the first of cursor, code on PATH. DVOID_EDITOR, then VISUAL/EDITOR, override it."
    },
    "terminal": {
      "type": "string",
      "enum": [
        "ghostty",
        "terminal",
        "iterm"
      ],
      "description": "The terminal app \"Open in a new window\" uses. Unset: the platform default.",
      "x-enumLabels": {
        "ghostty": "Ghostty",
        "terminal": "Terminal.app",
        "iterm": "iTerm2"
      }
    }
  },
  "additionalProperties": true
}
