{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Config",
  "description": "Root configuration structure for the brush shell.\n\nAll fields are optional to support forward compatibility and partial configuration.\nUnknown fields in the TOML file are silently ignored.",
  "type": "object",
  "properties": {
    "experimental": {
      "description": "Experimental features configuration.",
      "$ref": "#/$defs/ExperimentalConfig"
    },
    "ui": {
      "description": "User interface configuration options.",
      "$ref": "#/$defs/UiConfig"
    }
  },
  "$defs": {
    "ExperimentalConfig": {
      "description": "Experimental features configuration.\n\nThese options control unstable features that may change or be removed in future versions.",
      "type": "object",
      "properties": {
        "terminal-shell-integration": {
          "description": "Enable terminal shell integration.",
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "zsh-hooks": {
          "description": "Enable zsh-style preexec/precmd hooks.",
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        }
      }
    },
    "UiConfig": {
      "description": "User interface configuration options.",
      "type": "object",
      "properties": {
        "syntax-highlighting": {
          "description": "Enable syntax highlighting in the input line.",
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        }
      }
    }
  }
}
