{
  "$id": "https://mise.jdx.dev/schema/settings.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "mise settings schema",
  "description": "settings file for mise-en-place (~/.config/mise/settings.toml)",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "all_compile": {
      "description": "do not use precompiled binaries for any tool",
      "type": "boolean"
    },
    "always_keep_download": {
      "description": "should mise keep downloaded files after installation",
      "type": "boolean"
    },
    "always_keep_install": {
      "description": "should mise keep install files after installation even if the installation fails",
      "type": "boolean"
    },
    "asdf_compat": {
      "description": "set to true to ensure .tool-versions will be compatible with asdf",
      "type": "boolean"
    },
    "color": {
      "description": "colorize output",
      "type": "boolean",
      "default": true
    },
    "disable_default_shorthands": {
      "description": "disables built-in shorthands",
      "type": "boolean"
    },
    "disable_hints": {
      "description": "disable hints for mise commands",
      "type": "array",
      "items": {
        "description": "command name or * for all commands",
        "type": "string"
      }
    },
    "disable_tools": {
      "description": "tools that should not be used",
      "items": {
        "description": "tool name",
        "type": "string"
      },
      "type": "array"
    },
    "experimental": {
      "description": "enable experimental features",
      "type": "boolean"
    },
    "go_default_packages_file": {
      "description": "path to file containing default go packages",
      "type": "string"
    },
    "go_download_mirror": {
      "description": "url to use as a mirror for go downloads",
      "type": "string"
    },
    "go_repo": {
      "description": "url to use as a mirror for go modules",
      "type": "string"
    },
    "go_set_gopath": {
      "description": "set GOPATH to the directory containing the go tool",
      "type": "boolean"
    },
    "go_set_goroot": {
      "description": "set GOROOT to the directory containing the go tool",
      "type": "boolean"
    },
    "go_skip_checksum": {
      "description": "skip checksum verification for go downloads",
      "type": "boolean"
    },
    "http_timeout": {
      "description": "timeout for http requests in seconds",
      "type": "integer"
    },
    "jobs": {
      "description": "number of tools to install in parallel, default is 4",
      "type": "integer"
    },
    "legacy_version_file": {
      "description": "should mise parse legacy version files (e.g. .node-version)",
      "type": "boolean"
    },
    "legacy_version_file_disable_tools": {
      "description": "tools that should not have their legacy version files parsed",
      "items": {
        "description": "tool name",
        "type": "string"
      },
      "type": "array"
    },
    "libgit2": {
      "description": "use libgit2 for git operations",
      "type": "boolean",
      "default": true
    },
    "node_compile": {
      "description": "do not use precompiled binaries for node",
      "type": "boolean"
    },
    "not_found_auto_install": {
      "description": "adds a shell hook to `mise activate` and shims to automatically install tools when they need to be installed",
      "type": "boolean",
      "default": true
    },
    "paranoid": {
      "description": "extra-security mode, see https://mise.jdx.dev/paranoid.html for details",
      "type": "boolean"
    },
    "plugin_autoupdate_last_check_duration": {
      "description": "how often to check for plugin updates",
      "type": "string"
    },
    "python_compile": {
      "description": "do not use precompiled binaries for python",
      "type": "boolean"
    },
    "python_default_packages_file": {
      "description": "path to file containing default python packages",
      "type": "string"
    },
    "python_venv_auto_create": {
      "description": "automatically create a virtualenv for python tools",
      "type": "boolean"
    },
    "quiet": {
      "description": "suppress all non-error output",
      "type": "boolean"
    },
    "raw": {
      "description": "directly connect plugin scripts to stdin/stdout, implies --jobs=1",
      "type": "boolean"
    },
    "shorthands_file": {
      "description": "path to file containing shorthand mappings",
      "type": "string"
    },
    "status": {
      "description": "configure messages displayed when changing directories or executing tools",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "missing_tools": {
          "description": "display warning when a tool is not installed",
          "type": "string",
          "enum": ["if_other_versions_installed", "always", "never"],
          "default": "if_other_versions_installed"
        },
        "show_env": {
          "description": "display configured mise environment variables",
          "type": "boolean"
        },
        "show_tools": {
          "description": "display active tools",
          "type": "boolean"
        }
      }
    },
    "task_output": {
      "default": "prefix",
      "description": "how to display task output",
      "enum": ["prefix", "interleave"],
      "type": "string"
    },
    "trusted_config_paths": {
      "description": "config files with these prefixes will be trusted by default",
      "items": {
        "description": "a path to add to PATH",
        "type": "string"
      },
      "type": "array"
    },
    "verbose": {
      "description": "display extra output",
      "type": "boolean"
    },
    "yes": {
      "description": "assume yes for all prompts",
      "type": "boolean"
    }
  }
}
