{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "type": "object",
  "title": "The Oh My Posh theme definition",
  "description": "https://ohmyposh.dev/docs/configuration/general",
  "definitions": {
    "color": {
      "anyOf": [
        {
          "$ref": "#/definitions/color_string"
        },
        {
          "$ref": "#/definitions/palette_reference"
        }
      ]
    },
    "color_string": {
      "type": "string",
      "pattern": "^(#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})|^([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$|black|red|green|yellow|blue|magenta|cyan|white|default|darkGray|lightRed|lightGreen|lightYellow|lightBlue|lightMagenta|lightCyan|lightWhite|transparent|parentBackground|parentForeground|background|foreground|accent)$",
      "title": "Color string",
      "description": "https://ohmyposh.dev/docs/configuration/colors",
      "format": "color"
    },
    "palette_reference": {
      "type": "string",
      "pattern": "^p:.*$",
      "title": "Palette reference",
      "description": "https://ohmyposh.dev/docs/configuration/colors#palette"
    },
    "templates": {
      "type": "array",
      "title": "An array of templates",
      "default": [],
      "items": {
        "$ref": "#/definitions/segment/properties/template"
      }
    },
    "home_enabled": {
      "type": "boolean",
      "title": "Enable in the HOME folder",
      "description": "Display the segment in the HOME folder",
      "default": false
    },
    "fetch_version": {
      "type": "boolean",
      "title": "Fetch Version",
      "description": "Fetch the version number",
      "default": true
    },
    "http_timeout": {
      "type": "integer",
      "title": "Http request timeout",
      "description": "Milliseconds to use for http request timeouts",
      "default": 20
    },
    "cache_version": {
      "type": "boolean",
      "title": "Cache Version",
      "description": "Cache the executable's version or not",
      "default": false
    },
    "cache_timeout": {
      "type": "integer",
      "title": "cache timeout",
      "description": "Minutes the response is cached. A value of 0 disables the cache.",
      "default": 10
    },
    "expires_in": {
      "type": "integer",
      "title": "Expires in",
      "description": "Access token expiration time in seconds",
      "default": 0
    },
    "access_token": {
      "type": "string",
      "title": "Access token",
      "description": "The initial access token",
      "default": ""
    },
    "refresh_token": {
      "type": "string",
      "title": "Refresh token",
      "description": "The initial refresh token",
      "default": ""
    },
    "display_mode": {
      "type": "string",
      "title": "Display Mode",
      "description": "Determines whether the segment is displayed always or only if a file matching the extensions are present in the current folder",
      "enum": [
        "always",
        "files",
        "environment",
        "context"
      ],
      "default": "context"
    },
    "missing_command_text": {
      "type": "string",
      "title": "Missing command text",
      "description": "The string to display when the command is not available",
      "default": ""
    },
    "version_url_template": {
      "type": "string",
      "title": "Version Url Template",
      "description": "Template that creates the URL of the version info / release notes",
      "default": ""
    },
    "status_formats": {
      "type": "object",
      "title": "Status string formats",
      "description": "Override the status format for a specific change. Example: {\"Added\": \"Added: %d\"}",
      "default": {}
    },
    "folders": {
      "type": "array",
      "title": "Folders",
      "description": "The folders to look for when determining if a folder is a workspace",
      "default": [],
      "items": {
        "type": "string"
      }
    },
    "branch_max_length": {
      "type": "integer",
      "title": "Branch max length",
      "description": "the max length for the displayed branch name where 0 implies full length",
      "default": 0
    },
    "truncate_symbol": {
      "type": "string",
      "title": "Truncate Symbol",
      "description": "Icon/text to use to indicate that the branch name has been truncated",
      "default": ""
    },
    "native_fallback": {
      "type": "boolean",
      "title": "Native Fallback",
      "description": "Use the native command when executable is not found",
      "default": false
    },
    "full_branch_path": {
      "type": "boolean",
      "title": "Full branch path",
      "description": "display the full branch path instead of only the branch name",
      "default": true
    },
    "extra_prompt": {
      "type": "object",
      "default": {},
      "properties": {
        "template": {
          "type": "string",
          "title": "Prompt Template"
        },
        "foreground": {
          "$ref": "#/definitions/color"
        },
        "foreground_templates": {
          "$ref": "#/definitions/templates",
          "description": "https://ohmyposh.dev/docs/configuration/colors#color-templates"
        },
        "background": {
          "$ref": "#/definitions/color"
        },
        "background_templates": {
          "$ref": "#/definitions/templates",
          "description": "https://ohmyposh.dev/docs/configuration/colors#color-templates"
        }
      }
    },
    "block": {
      "type": "object",
      "description": "https://ohmyposh.dev/docs/configuration/block",
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "prompt"
              }
            }
          },
          "then": {
            "required": [
              "type",
              "alignment",
              "segments"
            ],
            "title": "Prompt definition, contains 1 or more segments to render"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rprompt"
              }
            }
          },
          "then": {
            "required": [
              "type",
              "segments"
            ],
            "title": "RPrompt definition, contains 1 or more segments to render to the right of the cursor"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "prompt"
              },
              "alignment": {
                "const": "right"
              }
            }
          },
          "then": {
            "properties": {
              "overflow": {
                "type": "string",
                "title": "Block overflow",
                "description": "https://ohmyposh.dev/docs/configuration/block#overflow",
                "enum": [
                  "break",
                  "hide"
                ],
                "default": ""
              }
            }
          }
        }
      ],
      "properties": {
        "type": {
          "type": "string",
          "title": "Block type",
          "description": "https://ohmyposh.dev/docs/configuration/block#type",
          "enum": [
            "prompt",
            "rprompt"
          ],
          "default": "prompt"
        },
        "alignment": {
          "type": "string",
          "title": "Block alignment",
          "description": "https://ohmyposh.dev/docs/configuration/block#alignment",
          "enum": [
            "left",
            "right"
          ],
          "default": "left"
        },
        "newline": {
          "type": "boolean",
          "title": "Newline",
          "description": "https://ohmyposh.dev/docs/configuration/block#newline",
          "default": false
        },
        "segments": {
          "type": "array",
          "title": "Segments list, prompt elements to display based on context",
          "description": "https://ohmyposh.dev/docs/configuration/block#segments",
          "default": [],
          "items": {
            "$ref": "#/definitions/segment"
          }
        }
      }
    },
    "segment": {
      "type": "object",
      "title": "A segment",
      "description": "https://ohmyposh.dev/docs/configuration/segment",
      "default": {},
      "required": [
        "type",
        "style"
      ],
      "properties": {
        "type": {
          "type": "string",
          "title": "Segment Type",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "enum": [
            "az",
            "aws",
            "azfunc",
            "argocd",
            "angular",
            "battery",
            "bazel",
            "brewfather",
            "buf",
            "carbonintensity",
            "command",
            "connection",
            "crystal",
            "cds",
            "cf",
            "cftarget",
            "cmake",
            "docker",
            "dotnet",
            "dart",
            "deno",
            "elixir",
            "executiontime",
            "flutter",
            "fossil",
            "gcp",
            "firebase",
            "git",
            "gitversion",
            "go",
            "haskell",
            "helm",
            "ipify",
            "iterm",
            "julia",
            "java",
            "kotlin",
            "kubectl",
            "lastfm",
            "lua",
            "mercurial",
            "nbgv",
            "nightscout",
            "node",
            "npm",
            "nx",
            "ocaml",
            "os",
            "owm",
            "path",
            "perl",
            "python",
            "php",
            "plastic",
            "project",
            "pulumi",
            "quasar",
            "root",
            "ruby",
            "rust",
            "r",
            "react",
            "sapling",
            "session",
            "sitecore",
            "spotify",
            "status",
            "shell",
            "sysinfo",
            "strava",
            "svn",
            "swift",
            "talosctl",
            "time",
            "text",
            "terraform",
            "ui5tooling",
            "umbraco",
            "unity",
            "upgrade",
            "vala",
            "wakatime",
            "winreg",
            "withings",
            "xmake",
            "ytm"
          ]
        },
        "style": {
          "title": "Segment Style",
          "description": "https://ohmyposh.dev/docs/configuration/segment#style",
          "anyOf": [
            {
              "enum": [
                "plain",
                "powerline",
                "diamond",
                "accordion"
              ]
            },
            {
              "type": "string"
            }
          ]
        },
        "foreground": {
          "$ref": "#/definitions/color"
        },
        "foreground_templates": {
          "$ref": "#/definitions/templates",
          "description": "https://ohmyposh.dev/docs/configuration/colors#color-templates"
        },
        "background": {
          "$ref": "#/definitions/color"
        },
        "background_templates": {
          "$ref": "#/definitions/templates",
          "description": "https://ohmyposh.dev/docs/configuration/colors#color-templates"
        },
        "template": {
          "type": "string",
          "title": "Template text",
          "description": "https://ohmyposh.dev/docs/configuration/templates",
          "default": ""
        },
        "templates": {
          "$ref": "#/definitions/templates",
          "description": "https://ohmyposh.dev/docs/configuration/segment"
        },
        "templates_logic": {
          "type": "string",
          "title": "Templates Logic",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "enum": [
            "first_match",
            "join"
          ]
        },
        "max_width": {
          "type": "integer",
          "title": "if the terminal width exceeds this value, the segment will be hidden",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "default": 0
        },
        "min_width": {
          "type": "integer",
          "title": "if the terminal width is inferior than this value, the segment will be hidden",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "default": 0
        },
        "properties": {
          "type": "object",
          "title": "Segment Properties, used to change behavior/displaying",
          "description": "https://ohmyposh.dev/docs/configuration/segment#properties",
          "default": {},
          "properties": {
            "include_folders": {
              "type": "array",
              "title": "If specified, segment will only render in these folders",
              "description": "https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders",
              "default": [],
              "items": {
                "type": "string"
              }
            },
            "exclude_folders": {
              "type": "array",
              "title": "Exclude rendering in these folders",
              "description": "https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders",
              "default": [],
              "items": {
                "type": "string"
              }
            },
            "ignore_folders": {
              "type": "array",
              "title": "Deprecated - please use `exclude_folders` instead",
              "description": "https://ohmyposh.dev/docs/configuration/segment#include--exclude-folders",
              "default": [],
              "items": {
                "type": "string"
              },
              "deprecated": true
            }
          }
        },
        "interactive": {
          "type": "boolean",
          "title": "Allow the use of interactive prompt escape sequences",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "default": false
        },
        "alias": {
          "type": "string",
          "title": "Give the segment an alias for use in templates",
          "description": "https://ohmyposh.dev/docs/configuration/segment",
          "default": ""
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "project"
              }
            }
          },
          "then": {
            "title": "Project Segment",
            "description": "https://ohmyposh.dev/docs/segments/project",
            "properties": {
              "properties": {
                "properties": {
                  "always_enabled": {
                    "type": "boolean",
                    "title": "Always Enabled",
                    "description": "Always show the segment",
                    "default": false
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "npm"
              }
            }
          },
          "then": {
            "title": "NPM Segment",
            "description": "https://ohmyposh.dev/docs/segments/npm",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is an NPM workspace",
                    "default": ["package.json", "package-lock.json"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "style": {
                "const": "powerline"
              }
            }
          },
          "then": {
            "properties": {
              "powerline_symbol": {
                "type": "string",
                "title": "Powerline Symbol",
                "description": "https://ohmyposh.dev/docs/configuration/segment#powerline-symbol",
                "default": "\uE0B0"
              },
              "invert_powerline": {
                "type": "boolean",
                "title": "Flip the Powerline symbol vertically",
                "description": "https://ohmyposh.dev/docs/configuration/segment#invert-powerline",
                "default": false
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "style": {
                "const": "diamond"
              }
            }
          },
          "then": {
            "properties": {
              "leading_diamond": {
                "type": "string",
                "title": "Leading diamond",
                "description": "https://ohmyposh.dev/docs/configuration/segment#leading-diamond",
                "default": ""
              },
              "trailing_diamond": {
                "type": "string",
                "title": "Trailing diamond",
                "description": "https://ohmyposh.dev/docs/configuration/segment#trailing-diamond",
                "default": ""
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "az"
              }
            }
          },
          "then": {
            "title": "Azure Segment",
            "description": "https://ohmyposh.dev/docs/segments/az",
            "properties": {
              "properties": {
                "properties": {
                  "source": {
                    "type": "string",
                    "title": "Source",
                    "description": "https://ohmyposh.dev/docs/segments/az#properties",
                    "default": "first_match",
                    "enum": ["first_match", "cli", "pwsh"]
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "battery"
              }
            }
          },
          "then": {
            "title": "Battery Segment",
            "description": "https://ohmyposh.dev/docs/segments/battery",
            "properties": {
              "properties": {
                "properties": {
                  "display_error": {
                    "type": "boolean",
                    "title": "Display Error",
                    "description": "Show the error context when failing to retrieve the battery information",
                    "default": false
                  },
                  "charging_icon": {
                    "type": "string",
                    "title": "Charging Icon",
                    "description": "Text/icon to display when charging",
                    "default": ""
                  },
                  "discharging_icon": {
                    "type": "string",
                    "title": "discharging Dcon",
                    "description": "Text/icon to display when discharging",
                    "default": ""
                  },
                  "charged_icon": {
                    "type": "string",
                    "title": "Charged Icon",
                    "description": "Text/icon to display when fully charged",
                    "default": ""
                  },
                  "not_charging_icon": {
                    "type": "string",
                    "title": "Not Charging Icon",
                    "description": "Text/icon to display when on AC power",
                    "default": ""
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "bazel"
              }
            }
          },
          "then": {
            "title": "Bazel Segment",
            "description": "https://ohmyposh.dev/docs/segments/bazel",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "icon": {
                    "type": "string",
                    "title": "Icon",
                    "description": "The icon representing Bazel's logo",
                    "default": "\ue63a"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Bazel workspace",
                    "default": [
                      "*.bazel",
                      "*.bzl",
                      "BUILD",
                      "WORKSPACE",
                      ".bazelrc",
                      ".bazelversion"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "type": "array",
                    "title": "Folders",
                    "description": "The folders to look for when determining if a folder is a Bazel workspace",
                    "default": ["bazel-bin", "bazel-out", "bazel-testlogs"],
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "buf"
              }
            }
          },
          "then": {
            "title": "Buf Segment",
            "description": "https://ohmyposh.dev/docs/segments/buf",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Buf workspace",
                    "default": ["buf.yaml", "buf.gen.yaml", "buf.work.yaml"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "carbonintensity"
              }
            }
          },
          "then": {
            "title": "Carbon Intensity Segment",
            "description": "Displays the actual and forecast carbon intensity in gCO2/kWh using the Carbon Intensity API",
            "properties": {
              "properties": {
                "properties": {
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "command"
              }
            }
          },
          "then": {
            "title": "Command Segment",
            "description": "https://ohmyposh.dev/docs/segments/command",
            "properties": {
              "properties": {
                "properties": {
                  "shell": {
                    "type": "string",
                    "title": "Shell",
                    "description": "The shell in which to run the command in. Uses shell -c command under the hood",
                    "default": "bash"
                  },
                  "command": {
                    "type": "string",
                    "title": "Command",
                    "description": "the command(s) to run",
                    "default": ""
                  },
                  "script": {
                    "type": "string",
                    "title": "Script",
                    "description": "A script to run",
                    "default": ""
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "connection"
              }
            }
          },
          "then": {
            "title": "Connection Segment",
            "description": "https://ohmyposh.dev/docs/segments/connection",
            "properties": {
              "properties": {
                "properties": {
                  "type": {
                    "type": "string",
                    "title": "Connection type",
                    "description": "The connection type to display",
                    "enum": ["ethernet", "wifi", "cellular", "bluetooth"],
                    "default": "wifi|ethernet"
                  },
                  "unit": {
                    "type": "string",
                    "title": "Transfer speed unit",
                    "enum": [
                      "none",
                      "b",
                      "bps",
                      "K",
                      "Kbps",
                      "M",
                      "Mbps",
                      "G",
                      "Gbps",
                      "T",
                      "Tbps"
                    ],
                    "default": "none"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cmake"
              }
            }
          },
          "then": {
            "title": "Cmake Segment",
            "description": "https://ohmyposh.dev/docs/segments/cmake",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a CMake workspace",
                    "default": ["*.cmake", "CMakeLists.txt"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "docker"
              }
            }
          },
          "then": {
            "title": "Docker Segment",
            "description": "https://ohmyposh.dev/docs/segments/docker"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "dotnet"
              }
            }
          },
          "then": {
            "title": "Dotnet Segment",
            "description": "https://ohmyposh.dev/docs/segments/dotnet",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a .NET workspace",
                    "default": [
                      "*.cs",
                      "*.csx",
                      "*.vb",
                      "*.fs",
                      "*.fsx",
                      "*.sln",
                      "*.slnf",
                      "*.csproj",
                      "*.fsproj",
                      "*.vbproj",
                      "global.json"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "status"
              }
            }
          },
          "then": {
            "title": "Status Segment",
            "description": "https://ohmyposh.dev/docs/segments/status",
            "properties": {
              "properties": {
                "properties": {
                  "always_enabled": {
                    "type": "boolean",
                    "title": "Always Enabled",
                    "description": "Always show the status",
                    "default": false
                  },
                  "status_template": {
                      "type": "string",
                      "title": "Status Template",
                      "description": "The template to use for the status segment",
                      "default": "|"
                  },
                  "status_separator": {
                    "type": "string",
                    "title": "Status Separator",
                    "description": "The separator to use between the status segments",
                    "default": "|"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "flutter"
              }
            }
          },
          "then": {
            "title": "Flutter Segment",
            "description": "https://ohmyposh.dev/docs/segments/flutter",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Flutter workspace",
                    "default": [
                      "*.dart",
                      "pubspec.yaml",
                      "pubspec.yml",
                      "pubspec.lock"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "type": "array",
                    "title": "Folders",
                    "description": "The folders to look for when determining if a folder is a Flutter workspace",
                    "default": [".dart_tool"],
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "fossil"
              }
            }
          },
          "then": {
            "title": "Fossil Segment",
            "description": "https://ohmyposh.dev/docs/segments/fossil",
            "properties": {
              "properties": {
                "properties": {
                  "native_fallback": {
                    "$ref": "#/definitions/native_fallback"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "git"
              }
            }
          },
          "then": {
            "title": "Git Segment",
            "description": "https://ohmyposh.dev/docs/segments/git",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_status": {
                    "type": "boolean",
                    "title": "Display Status",
                    "description": "Display the local changes or not",
                    "default": true
                  },
                  "fetch_stash_count": {
                    "type": "boolean",
                    "title": "Display Stash Count",
                    "description": "Display the stash count or not",
                    "default": false
                  },
                  "fetch_worktree_count": {
                    "type": "boolean",
                    "title": "Display Worktree Count",
                    "description": "Display the worktree count or not",
                    "default": false
                  },
                  "fetch_upstream_icon": {
                    "type": "boolean",
                    "title": "Display Upstream Icon",
                    "description": "Display upstream icon or not",
                    "default": false
                  },
                  "fetch_bare_info": {
                    "type": "boolean",
                    "title": "Fetch info when in a bare repo",
                    "description": "Fetch info when in a bare repo or not",
                    "default": false
                  },
                  "branch_icon": {
                    "type": "string",
                    "title": "Branch Icon",
                    "description": "The icon to use in front of the git branch name",
                    "default": "\uE0A0 "
                  },
                  "branch_identical_icon": {
                    "type": "string",
                    "title": "Branch Identical Icon",
                    "description": "The icon to display when remote and local are identical",
                    "default": "\u2261"
                  },
                  "branch_ahead_icon": {
                    "type": "string",
                    "title": "Branch Ahead Icon",
                    "description": "The icon to display when the local branch is ahead of its remote",
                    "default": "\u2191"
                  },
                  "branch_behind_icon": {
                    "type": "string",
                    "title": "Branch Behind Icon",
                    "description": "The icon to display when the local branch is behind its remote",
                    "default": "\u2193"
                  },
                  "branch_gone_icon": {
                    "type": "string",
                    "title": "Branch Gone Icon",
                    "description": "The icon to display when there's no remote branch",
                    "default": "\u2262"
                  },
                  "commit_icon": {
                    "type": "string",
                    "title": "Commit Icon",
                    "description": "Icon/text to display before the commit context (detached HEAD)",
                    "default": "\uF417"
                  },
                  "tag_icon": {
                    "type": "string",
                    "title": "Tag Icon",
                    "description": "Icon/text to display before the tag context",
                    "default": "\uF412"
                  },
                  "rebase_icon": {
                    "type": "string",
                    "title": "Rebase Icon",
                    "description": "Icon/text to display before the context when in a rebase",
                    "default": "\uE728"
                  },
                  "cherry_pick_icon": {
                    "type": "string",
                    "title": "Cherry-pick Icon",
                    "description": "Icon/text to display before the context when doing a cherry-pick",
                    "default": "\uE29B"
                  },
                  "revert_icon": {
                    "type": "string",
                    "title": "Revert Icon",
                    "description": "Icon/text to display before the context when doing a revert",
                    "default": "\uF0E2"
                  },
                  "merge_icon": {
                    "type": "string",
                    "title": "Merge Icon",
                    "description": "Icon/text to display before the merge context",
                    "default": "\uE727"
                  },
                  "no_commits_icon": {
                    "type": "string",
                    "title": "No Commits Icon",
                    "description": "Icon/text to display when there are no commits in the repo",
                    "default": "\uF594"
                  },
                  "github_icon": {
                    "type": "string",
                    "title": "Github Icon",
                    "description": "Icon/text to display when the upstream is Github",
                    "default": "\uF408"
                  },
                  "gitlab_icon": {
                    "type": "string",
                    "title": "Gitlab Icon",
                    "description": "Icon/text to display when the upstream is Gitlab",
                    "default": "\uF296"
                  },
                  "bitbucket_icon": {
                    "type": "string",
                    "title": "Bitbucket Icon",
                    "description": "Icon/text to display when the upstream is Bitbucket",
                    "default": "\uF171"
                  },
                  "azure_devops_icon": {
                    "type": "string",
                    "title": "Azure DevOps Icon",
                    "description": "Icon/text to display when the upstream is Azure DevOps",
                    "default": "\uEBE8"
                  },
                  "codecommit_icon": {
                    "type": "string",
                    "title": "CodeCommit Icon",
                    "description": "Icon/text to display when the upstream is CodeCommit",
                    "default": "\uF270"
                  },
                  "git_icon": {
                    "type": "string",
                    "title": "Git Icon",
                    "description": "Icon/text to display when the upstream is not known/mapped",
                    "default": "\uE5FB"
                  },
                  "branch_max_length": {
                    "type": "integer",
                    "title": "Branch max length",
                    "description": "the max length for the displayed branch name where 0 implies full length",
                    "default": 0
                  },
                  "untracked_modes": {
                    "type": "object",
                    "title": "Untracked files mode",
                    "description": "Set the untracked files mode for a repository",
                    "default": {}
                  },
                  "ignore_submodules": {
                    "type": "object",
                    "title": "Ignore submodules",
                    "description": "Ignore changes to submodules when looking for changes",
                    "default": {}
                  },
                  "ignore_status": {
                    "type": "array",
                    "title": "Ignore fetching status in these repo's",
                    "description": "Ignore fetching status for certain repo's, uses the same logic as the exclude_folders property",
                    "default": [],
                    "items": {
                      "type": "string"
                    }
                  },
                  "fetch_user": {
                    "type": "boolean",
                    "title": "Fetch the user",
                    "description": "Fetch the current configured user for the repository",
                    "default": false
                  },
                  "status_formats": {
                    "$ref": "#/definitions/status_formats"
                  },
                  "upstream_icons": {
                    "type": "object",
                    "title": "Status string formats",
                    "description": "a key, value map representing the remote URL (or a part of that URL) and icon to use in case the upstream URL contains the key. These get precedence over the standard icons",
                    "default": {}
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "go"
              }
            }
          },
          "then": {
            "title": "Golang Segment",
            "description": "https://ohmyposh.dev/docs/segments/golang",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "parse_mod_file": {
                    "type": "boolean",
                    "title": "Parse go.mod file",
                    "description": "Parse go.mod file instead of calling out to go to improve performance.",
                    "default": false
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Go workspace",
                    "default": ["*.go", "go.mod"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "dart"
              }
            }
          },
          "then": {
            "title": "Dart Segment",
            "description": "https://ohmyposh.dev/docs/segments/dart",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Dart workspace",
                    "default": [
                      "*.dart",
                      "pubspec.yaml",
                      "pubspec.yml",
                      "pubspec.lock"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "type": "array",
                    "title": "Folders",
                    "description": "The folders to look for when determining if a folder is a Dart workspace",
                    "default": [".dart_tool"],
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "deno"
              }
            }
          },
          "then": {
            "title": "Deno CLI Segment",
            "description": "https://ohmyposh.dev/docs/segments/deno",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Deno workspace",
                    "default": ["*.js", "*.ts", "deno.json"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "crystal"
              }
            }
          },
          "then": {
            "title": "Crystal Segment",
            "description": "https://ohmyposh.dev/docs/segments/crystal",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Crystal workspace",
                    "default": ["*.cr", "shard.yml"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "julia"
              }
            }
          },
          "then": {
            "title": "Julia Segment",
            "description": "https://ohmyposh.dev/docs/segments/julia",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Julia workspace",
                    "default": ["*.jl"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "perl"
              }
            }
          },
          "then": {
            "title": "Perl Segment",
            "description": "https://ohmyposh.dev/docs/segments/perl",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Perl workspace",
                    "default": [".perl-version", "*.pl", "*.pm", "*.t"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "php"
              }
            }
          },
          "then": {
            "title": "PHP Segment",
            "description": "https://ohmyposh.dev/docs/segments/php",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a PHP workspace",
                    "default": [
                      "*.php",
                      "composer.json",
                      "composer.lock",
                      ".php-version"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "java"
              }
            }
          },
          "then": {
            "title": "Java Segment",
            "description": "https://ohmyposh.dev/docs/segments/java",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Java workspace",
                    "default": [
                      "pom.xml",
                      "build.gradle.kts",
                      "build.sbt",
                      ".java-version",
                      ".deps.edn",
                      "project.clj",
                      "build.boot",
                      "*.java",
                      "*.class",
                      "*.gradle",
                      "*.jar",
                      "*.clj",
                      "*.cljc"
                    ]
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "ruby"
              }
            }
          },
          "then": {
            "title": "Ruby Segment",
            "description": "https://ohmyposh.dev/docs/segments/ruby",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Ruby workspace",
                    "default": ["*.rb", "Rakefile", "Gemfile"]
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rust"
              }
            }
          },
          "then": {
            "title": "Rust Segment",
            "description": "https://ohmyposh.dev/docs/segments/rust",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Rust workspace",
                    "default": ["*.rs", "Cargo.toml", "Cargo.lock"]
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "xmake"
              }
            }
          },
          "then": {
            "title": "XMake Segment",
            "description": "https://ohmyposh.dev/docs/segments/xmake",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a XMake workspace",
                    "default": ["xmake.lua"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "kubectl"
              }
            }
          },
          "then": {
            "title": "Kubectl Segment",
            "description": "https://ohmyposh.dev/docs/segments/kubectl",
            "properties": {
              "properties": {
                "properties": {
                  "display_error": {
                    "type": "boolean",
                    "title": "Display Error",
                    "description": "Show the error context when failing to retrieve the kubectl information",
                    "default": false
                  },
                  "parse_kubeconfig": {
                    "type": "boolean",
                    "title": "Parse kubeconfig",
                    "description": "Parse kubeconfig files instead of calling out to kubectl to improve performance.",
                    "default": false
                  },
                  "context_aliases": {
                    "type": "object",
                    "title": "Context aliases",
                    "description": "Custom context names.",
                    "default": {}
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "aws"
              }
            }
          },
          "then": {
            "title": "AWS Segment",
            "description": "https://ohmyposh.dev/docs/segments/aws",
            "properties": {
              "properties": {
                "properties": {
                  "display_default": {
                    "type": "boolean",
                    "title": "Display Default User Profile",
                    "description": "Display the segment when default user or not",
                    "default": true
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "node"
              }
            }
          },
          "then": {
            "title": "Node Segment",
            "description": "https://ohmyposh.dev/docs/segments/node",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "fetch_package_manager": {
                    "type": "boolean",
                    "title": "Fetch Display Package Manager",
                    "description": "Assigns the Yarn or NPM icon to .PackageManagerIcon",
                    "default": false
                  },
                  "yarn_icon": {
                    "type": "string",
                    "title": "Yarn Icon",
                    "description": "Icon/text to use for Yarn",
                    "default": "\uF011B"
                  },
                  "npm_icon": {
                    "type": "string",
                    "title": "NPM Icon",
                    "description": "Icon/text to use for NPM",
                    "default": "\uE71E"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Node workspace",
                    "default": [
                      "*.js",
                      "*.ts",
                      "package.json",
                      ".nvmrc",
                      "pnpm-workspace.yaml",
                      ".pnpmfile.cjs",
                      ".vue"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "azfunc"
              }
            }
          },
          "then": {
            "title": "Azure Function Segment",
            "description": "https://ohmyposh.dev/docs/segments/azfunc",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "os"
              }
            }
          },
          "then": {
            "title": "Operating System Segment",
            "description": "https://ohmyposh.dev/docs/segments/os",
            "properties": {
              "properties": {
                "properties": {
                  "macos": {
                    "type": "string",
                    "title": "MacOS Icon",
                    "description": "Icon/text to use for macOS",
                    "default": "\uF179"
                  },
                  "linux": {
                    "type": "string",
                    "title": "Linux Icon",
                    "description": "Icon/text to use for Linux",
                    "default": "\uF17C"
                  },
                  "windows": {
                    "type": "string",
                    "title": "Windows Icon",
                    "description": "Icon/text to use for Windows",
                    "default": "\uE62A"
                  },
                  "display_distro_name": {
                    "type": "boolean",
                    "title": "Display Distro Name",
                    "description": "Display the distro name or icon or not",
                    "default": false
                  },
                  "alpine": {
                    "type": "string",
                    "title": "Alpine Icon",
                    "description": "The icon to use for Alpine",
                    "default": "\uF300"
                  },
                  "aosc": {
                    "type": "string",
                    "title": "Aosc Icon",
                    "description": "The icon to use for Aosc",
                    "default": "\uF301"
                  },
                  "arch": {
                    "type": "string",
                    "title": "Arch Icon",
                    "description": "The icon to use for Arch",
                    "default": "\uF303"
                  },
                  "centos": {
                    "type": "string",
                    "title": "Centos Icon",
                    "description": "The icon to use for Centos",
                    "default": "\uF303"
                  },
                  "coreos": {
                    "type": "string",
                    "title": "Coreos Icon",
                    "description": "The icon to use for Coreos",
                    "default": "\uF305"
                  },
                  "debian": {
                    "type": "string",
                    "title": "Debian Icon",
                    "description": "The icon to use for Debian",
                    "default": "\uF306"
                  },
                  "devuan": {
                    "type": "string",
                    "title": "Devuan Icon",
                    "description": "The icon to use for Devuan",
                    "default": "\uF307"
                  },
                  "raspbian": {
                    "type": "string",
                    "title": "Raspbian Icon",
                    "description": "The icon to use for Raspbian",
                    "default": "\uF315"
                  },
                  "elementary": {
                    "type": "string",
                    "title": "Elementary Icon",
                    "description": "The icon to use for Elementary",
                    "default": "\uF309"
                  },
                  "fedora": {
                    "type": "string",
                    "title": "Fedora Icon",
                    "description": "The icon to use for Fedora",
                    "default": "\uF30a"
                  },
                  "gentoo": {
                    "type": "string",
                    "title": "Gentoo Icon",
                    "description": "The icon to use for Gentoo",
                    "default": "\uF30d"
                  },
                  "mageia": {
                    "type": "string",
                    "title": "Mageia Icon",
                    "description": "The icon to use for Mageia",
                    "default": "\uF310"
                  },
                  "manjaro": {
                    "type": "string",
                    "title": "Manjaro Icon",
                    "description": "The icon to use for Manjaro",
                    "default": "\uF312"
                  },
                  "mint": {
                    "type": "string",
                    "title": "Mint Icon",
                    "description": "The icon to use for Mint",
                    "default": "\uF30e"
                  },
                  "nixos": {
                    "type": "string",
                    "title": "Nixos Icon",
                    "description": "The icon to use for Nixos",
                    "default": "\uF313"
                  },
                  "opensuse": {
                    "type": "string",
                    "title": "Opensuse Icon",
                    "description": "The icon to use for Opensuse",
                    "default": "\uF314"
                  },
                  "redhat": {
                    "type": "string",
                    "title": "Redhat Icon",
                    "description": "The icon to use for Redhat",
                    "default": "\uF316"
                  },
                  "sabayon": {
                    "type": "string",
                    "title": "Sabayon Icon",
                    "description": "The icon to use for Sabayon",
                    "default": "\uF317"
                  },
                  "slackware": {
                    "type": "string",
                    "title": "Slackware Icon",
                    "description": "The icon to use for Slackware",
                    "default": "\uF319"
                  },
                  "ubuntu": {
                    "type": "string",
                    "title": "Ubuntu Icon",
                    "description": "The icon to use for Ubuntu",
                    "default": "\uF31b"
                  },
                  "rocky": {
                    "type": "string",
                    "title": "Rocky Icon",
                    "description": "The icon to use for Rocky",
                    "default": "\uF32B"
                  },
                  "alma": {
                    "type": "string",
                    "title": "Alma Icon",
                    "description": "The icon to use for Alma",
                    "default": "\uF31D"
                  },
                  "android": {
                    "type": "string",
                    "title": "Android Icon",
                    "description": "The icon to use for Alma",
                    "default": "\uf17b"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "path"
              }
            }
          },
          "then": {
            "title": "Path Segment",
            "description": "https://ohmyposh.dev/docs/segments/path",
            "properties": {
              "properties": {
                "properties": {
                  "folder_separator_icon": {
                    "type": "string",
                    "title": "Folder Separator Icon",
                    "description": "The symbol to use as a separator between folders",
                    "default": "/"
                  },
                  "folder_separator_template": {
                    "type": "string",
                    "title": "Folder Separator Template",
                    "description": "the path which is split will be separated by this template",
                    "pattern": ""
                  },
                  "home_icon": {
                    "type": "string",
                    "title": "Home Icon",
                    "description": "The icon to display when at $HOME",
                    "default": "~"
                  },
                  "folder_icon": {
                    "type": "string",
                    "title": "Folder Icon",
                    "description": "The icon to use as a folder indication",
                    "default": ".."
                  },
                  "windows_registry_icon": {
                    "type": "string",
                    "title": "Windows Registry Icon",
                    "description": "The icon to display when in the Windows registry",
                    "default": "\uF013"
                  },
                  "style": {
                    "type": "string",
                    "title": "The Path Style",
                    "description": "How to display the current path",
                    "enum": [
                      "agnoster",
                      "agnoster_full",
                      "agnoster_short",
                      "agnoster_left",
                      "short",
                      "full",
                      "folder",
                      "mixed",
                      "letter",
                      "unique",
                      "powerlevel"
                    ],
                    "default": "agnoster"
                  },
                  "mapped_locations": {
                    "type": "object",
                    "title": "Mapped Locations",
                    "description": "Custom glyph/text for specific paths",
                    "default": {}
                  },
                  "max_depth": {
                    "type": "integer",
                    "title": "Maximum Depth",
                    "description": "Maximum path depth to display without shortening",
                    "default": 1
                  },
                  "max_width": {
                    "type": "integer",
                    "title": "Maximum Width",
                    "description": "Maximum path width to display for powerlevel style",
                    "default": 0
                  },
                  "mapped_locations_enabled": {
                    "type": "boolean",
                    "title": "Enable the Mapped Locations feature",
                    "description": "Replace known locations in the path with the replacements before applying the style.",
                    "default": true
                  },
                  "mixed_threshold": {
                    "type": "integer",
                    "title": "Mixed threshold",
                    "description": "The maximum length of a path segment that will be displayed when using mixed style.",
                    "default": 4
                  },
                  "hide_root_location": {
                    "type": "boolean",
                    "title": "Hide the root location",
                    "description": "Hides the root location, when using agnoster_short style, if it doesn't fit in the last max_depth folders.",
                    "default": false
                  },
                  "cycle": {
                    "type": "array",
                    "title": "Color overrides to use to cycle through and color the path per folder",
                    "items": {
                      "type": "string"
                    }
                  },
                  "cycle_folder_separator": {
                    "type": "boolean",
                    "title": "Cycle the folder_separator_icon",
                    "description": "Colorize the folder_separator_icon as well when using a cycle.",
                    "default": false
                  },
                  "folder_format": {
                    "type": "string",
                    "title": "The folder format",
                    "description": "Golang string format to apply to the folder name",
                    "pattern": "%s"
                  },
                  "edge_format": {
                    "type": "string",
                    "title": "The format to use on the start and end folder",
                    "description": "Golang string format to apply to the start and end folder",
                    "pattern": "%s"
                  },
                  "left_format": {
                    "type": "string",
                    "title": "The format to use on first folder of the path",
                    "description": "Will default to whatever edge_format is set to",
                    "pattern": "%s"
                  },
                  "right_format": {
                    "type": "string",
                    "title": "The format to use on the last folder of the path",
                    "description": "Will default to whatever edge_format is set to",
                    "pattern": "%s"
                  },
                  "gitdir_format": {
                    "type": "string",
                    "title": "The format to use on a git root directory",
                    "description": "Golang string format to apply to the .git folder",
                    "default": ""
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "python"
              }
            }
          },
          "then": {
            "title": "Python Segment",
            "description": "https://ohmyposh.dev/docs/segments/python",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_virtual_env": {
                    "type": "boolean",
                    "title": "Fetch Virtual Env",
                    "description": "Fetch the name of the virtualenv or not",
                    "default": true
                  },
                  "display_default": {
                    "type": "boolean",
                    "title": "Display Default",
                    "description": "Show the name of the virtualenv when it's default",
                    "default": true
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Python workspace",
                    "default": [
                      "*.py",
                      "*.ipynb",
                      "pyproject.toml",
                      "venv.bak"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "type": "array",
                    "title": "Folders",
                    "description": "The folders to look for when determining if a folder is a Python workspace",
                    "default": [
                      ".venv",
                      "venv",
                      "virtualenv",
                      "venv-win",
                      "pyenv-win"
                    ],
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "pulumi"
              }
            }
          },
          "then": {
            "title": "Pulumi Segment",
            "description": "https://ohmyposh.dev/docs/segments/pulumi",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_stack": {
                    "type": "boolean",
                    "title": "Fetch Stack",
                    "description": "Fetch the current pulumi stack or not",
                    "default": false
                  },
                  "fetch_about": {
                    "type": "boolean",
                    "title": "Fetch About",
                    "description": "Fetch the URL and user for the current stack",
                    "default": false
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "quasar"
              }
            }
          },
          "then": {
            "title": "Quasar Segment",
            "description": "https://ohmyposh.dev/docs/segments/quasar",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "fetch_dependencies": {
                    "type": "boolean",
                    "title": "Fetch Dependencies",
                    "description": "Fetch the vite and @quasar/app-vite dependency information or not",
                    "default": true
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Quasar workspace",
                    "default": ["quasar.config", "quasar.config.js"]
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "root"
              }
            }
          },
          "then": {
            "title": "Root Segment",
            "description": "https://ohmyposh.dev/docs/segments/root"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sapling"
              }
            }
          },
          "then": {
            "title": "Sapling Segment",
            "description": "https://ohmyposh.dev/docs/segments/sapling",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_status": {
                    "type": "boolean",
                    "title": "Display Status",
                    "description": "Display the local changes or not",
                    "default": true
                  },
                  "status_formats": {
                    "$ref": "#/definitions/status_formats"
                  },
                  "native_fallback": {
                    "$ref": "#/definitions/native_fallback"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "session"
              }
            }
          },
          "then": {
            "title": "Session Segment",
            "description": "https://ohmyposh.dev/docs/segments/session",
            "properties": {
              "properties": {
                "properties": {
                  "ssh_icon": {
                    "type": "string",
                    "title": "SSH Icon",
                    "description": "Text/icon to display first when in an active SSH session",
                    "default": "\uF817"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "shell"
              }
            }
          },
          "then": {
            "title": "Shell Segment",
            "description": "https://ohmyposh.dev/docs/segments/shell",
            "properties": {
              "properties": {
                "properties": {
                  "custom_text": {
                    "type": "object",
                    "title": "Custom Text",
                    "description": "Custom glyph/text for specific shells",
                    "default": {}
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sitecore"
              }
            }
          },
          "then": {
            "title": "Sitecore Segment",
            "description": "https://ohmyposh.dev/docs/segments/sitecore",
            "properties": {
              "properties": {
                "properties": {
                  "display_default": {
                    "type": "boolean",
                    "title": "Display Default",
                    "description": "Display the segment or not when the Sitecore environment name matches `default`",
                    "default": true
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "spotify"
              }
            }
          },
          "then": {
            "title": "Spotify Segment",
            "description": "https://ohmyposh.dev/docs/segments/spotify",
            "properties": {
              "properties": {
                "properties": {
                  "playing_icon": {
                    "type": "string",
                    "title": "Playing Icon",
                    "description": "Text/icon to show when playing",
                    "default": "\uE602"
                  },
                  "paused_icon": {
                    "type": "string",
                    "title": "Paused Icon",
                    "description": "Text/icon to show when paused",
                    "default": "\uF8E3"
                  },
                  "stopped_icon": {
                    "type": "string",
                    "title": "Stopped Icon",
                    "description": "Text/icon to show when stopped",
                    "default": "\uF04D"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "terraform"
              }
            }
          },
          "then": {
            "title": "Terraform Segment",
            "description": "https://ohmyposh.dev/docs/segments/terraform",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_version": {
                    "type": "boolean",
                    "title": "Fetch Version",
                    "description": "Fetch the version number",
                    "default": false
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "text"
              }
            }
          },
          "then": {
            "title": "Text Segment",
            "description": "https://ohmyposh.dev/docs/segments/text",
            "properties": {
              "properties": {
                "properties": {
                  "text": {
                    "type": "string",
                    "title": "Text",
                    "description": "Text/icon to display",
                    "default": ""
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "talosctl"
              }
            }
          },
          "then": {
            "title": "Talosctl Segment",
            "description": "https://ohmyposh.dev/docs/segments/talosctl"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "time"
              }
            }
          },
          "then": {
            "title": "Time Segment",
            "description": "https://ohmyposh.dev/docs/segments/time",
            "properties": {
              "properties": {
                "properties": {
                  "time_format": {
                    "type": "string",
                    "title": "Time Format",
                    "description": "Format to use, follows the golang standard: https://gobyexample.com/time-formatting-parsing",
                    "default": "15:04:05"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "ytm"
              }
            }
          },
          "then": {
            "title": "YouTube Music Desktop App Segment",
            "description": "https://ohmyposh.dev/docs/segments/ytm",
            "properties": {
              "properties": {
                "properties": {
                  "playing_icon": {
                    "type": "string",
                    "title": "Playing Icon",
                    "description": "Text/icon to show when playing",
                    "default": "\uE602 "
                  },
                  "paused_icon": {
                    "type": "string",
                    "title": "Paused Icon",
                    "description": "Text/icon to show when paused",
                    "default": "\uF8E3 "
                  },
                  "stopped_icon": {
                    "type": "string",
                    "title": "Stopped Icon",
                    "description": "Text/icon to show when stopped",
                    "default": "\uF04D "
                  },
                  "api_url": {
                    "type": "string",
                    "title": "API URL",
                    "description": "The YTMDA Remote Control API URL",
                    "default": "http://127.0.0.1:9863"
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "owm"
              }
            }
          },
          "then": {
            "title": "Open Weather Map Segment",
            "description": "Displays the current weather from the Open Weather Map system",
            "properties": {
              "properties": {
                "properties": {
                  "api_key": {
                    "type": "string",
                    "title": "API key",
                    "description": "The API key used for the api call (Required)",
                    "default": "."
                  },
                  "location": {
                    "type": "string",
                    "title": "location",
                    "description": "Location to use for the API call interpreted only if valid coordinates aren't given. Formatted as <City>,<STATE>,<COUNTRY_CODE>. City name, state code and country code divided by comma. Please, refer to ISO 3166 for the state codes or country codes.",
                    "default": "De Bilt,NL"
                  },
                  "latitude" : {
                    "type": "number",
                    "title": "Latitude",
                    "description": "The latitude of the requested location, valid between -90 and 90",
                    "default": 91
                  },
                  "longitude" : {
                    "type": "number",
                    "title": "Longitude",
                    "description": "The longitude of the requested location, valid between -180 and 180",
                    "default": 181
                  },
                  "units": {
                    "type": "string",
                    "title": "units",
                    "description": "Units of measurement. Available values are standard (kelvin), metric (celsius), and imperial (fahrenheit). Default is standard",
                    "default": "standard",
                    "enum": ["standard", "metric", "imperial"]
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "elixir"
              }
            }
          },
          "then": {
            "title": "Elixir Segment",
            "description": "https://ohmyposh.dev/docs/segments/elixir",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if a folder is a Elixir workspace",
                    "default": ["*.ex", "*.exs"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "executiontime"
              }
            }
          },
          "then": {
            "title": "Displays the execution time of the previously executed command",
            "description": "https://ohmyposh.dev/docs/segments/executiontime",
            "properties": {
              "properties": {
                "properties": {
                  "always_enabled": {
                    "type": "boolean",
                    "title": "Always Enabled",
                    "description": "Always show the duration",
                    "default": false
                  },
                  "threshold": {
                    "type": "number",
                    "title": "Threshold",
                    "description": "minimum duration (milliseconds) required to enable this segment",
                    "default": 500
                  },
                  "style": {
                    "type": "string",
                    "title": "Style",
                    "description": "The style in which the time will be displayed",
                    "enum": [
                      "austin",
                      "roundrock",
                      "dallas",
                      "galveston",
                      "galvestonms",
                      "houston",
                      "amarillo",
                      "round",
                      "lucky7"
                    ],
                    "default": "austin"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sysinfo"
              }
            }
          },
          "then": {
            "title": "Get sysinfo",
            "description": "https://ohmyposh.dev/docs/segments/sysinfo",
            "properties": {
              "properties": {
                "properties": {
                  "precision": {
                    "type": "integer",
                    "title": "Precision",
                    "description": "number of decimal places to show",
                    "default": 2
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "strava"
              }
            }
          },
          "then": {
            "title": "Display training data from Strava",
            "description": "https://ohmyposh.dev/docs/segments/strava",
            "properties": {
              "properties": {
                "properties": {
                  "url": {
                    "type": "string",
                    "title": "URL of API with Strava data",
                    "description": "Url of your api provinding a Strava activity",
                    "default": ""
                  },
                  "ride_icon": {
                    "type": "string",
                    "title": "Ride icon",
                    "description": "Alternative icon for this activity type",
                    "default": "\uf206"
                  },
                  "run_icon": {
                    "type": "string",
                    "title": "Run icon",
                    "description": "Alternative icon for this activity type",
                    "default": "\ue213"
                  },
                  "skiing_icon": {
                    "type": "string",
                    "title": "Skiing icon",
                    "description": "Alternative icon for this activity type",
                    "default": "\ue213"
                  },
                  "workout_icon": {
                    "type": "string",
                    "title": "Workout icon",
                    "description": "Alternative icon for this activity type",
                    "default": "\ue213"
                  },
                  "unknown_activity_icon": {
                    "type": "string",
                    "title": "Fallback icon",
                    "description": "Fallback icon for other activity types",
                    "default": "\ue213"
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  },
                  "access_token": {
                    "$ref": "#/definitions/access_token"
                  },
                  "refresh_token": {
                    "$ref": "#/definitions/refresh_token"
                  },
                  "expires_in": {
                    "$ref": "#/definitions/expires_in"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "svn"
              }
            }
          },
          "then": {
            "title": "SVN Segment",
            "description": "https://ohmyposh.dev/docs/segments/svn",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_status": {
                    "type": "boolean",
                    "title": "Display Status",
                    "description": "Display the local changes or not",
                    "default": true
                  },
                  "status_formats": {
                    "$ref": "#/definitions/status_formats"
                  },
                  "native_fallback": {
                    "$ref": "#/definitions/native_fallback"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "angular"
              }
            }
          },
          "then": {
            "title": "Angular CLI Segment",
            "description": "https://ohmyposh.dev/docs/segments/angular",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is an Angular project",
                    "default": ["angular.json"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "react"
              }
            }
          },
          "then": {
            "title": "React Segment",
            "description": "https://ohmyposh.dev/docs/segments/react",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a React project",
                    "default": ["package.json"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "nx"
              }
            }
          },
          "then": {
            "title": "Nx Segment",
            "description": "https://ohmyposh.dev/docs/segments/nx",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is an Nx project",
                    "default": ["workspace.json", "nx.json"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "ocaml"
              }
            }
          },
          "then": {
            "title": "OCaml Segment",
            "description": "https://ohmyposh.dev/docs/segments/ocaml",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is an OCaml project",
                    "default": [
                      "*.ml",
                      "*.mli",
                      "dune",
                      "dune-project",
                      "dune-workspace"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "wakatime"
              }
            }
          },
          "then": {
            "title": "Wakatime",
            "description": "Displays the tracked time on wakatime.com",
            "properties": {
              "properties": {
                "properties": {
                  "apikey": {
                    "type": "string",
                    "title": "apikey",
                    "description": "The apikey used for the api call (Required)",
                    "default": "."
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "winreg"
              }
            }
          },
          "then": {
            "title": "Windows Registry Query",
            "description": "https://ohmyposh.dev/docs/segments/winreg",
            "properties": {
              "properties": {
                "properties": {
                  "path": {
                    "type": "string",
                    "title": "Registry Path",
                    "description": "The path to the registry key (case insensitive, must use backslashes).  Ending with \\ will retrieve \"(Default)\" key in that path.",
                    "default": ""
                  },
                  "fallback": {
                    "type": "string",
                    "title": "Fallback value",
                    "description": "Value to display if registry value cannot be retrieved",
                    "default": ""
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "withings"
              }
            }
          },
          "then": {
            "title": "Display activity data from Withings",
            "description": "https://ohmyposh.dev/docs/segments/withings",
            "properties": {
              "properties": {
                "properties": {
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  },
                  "access_token": {
                    "$ref": "#/definitions/access_token"
                  },
                  "refresh_token": {
                    "$ref": "#/definitions/refresh_token"
                  },
                  "expires_in": {
                    "$ref": "#/definitions/expires_in"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "plastic"
              }
            }
          },
          "then": {
            "title": "Plastic SCM Segment",
            "description": "https://ohmyposh.dev/docs/segments/plastic",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_status": {
                    "type": "boolean",
                    "title": "Display Status",
                    "description": "Display the local changes or not",
                    "default": false
                  },
                  "status_formats": {
                    "$ref": "#/definitions/status_formats"
                  },
                  "branch_icon": {
                    "type": "string",
                    "title": "Branch Icon",
                    "description": "The icon to use in front of the selector branch name",
                    "default": "\uE0A0 "
                  },
                  "commit_icon": {
                    "type": "string",
                    "title": "Commit Icon",
                    "description": "Icon/text to display before the selector changeset",
                    "default": "\uF417"
                  },
                  "tag_icon": {
                    "type": "string",
                    "title": "Tag Icon",
                    "description": "Icon/text to display before the seletor label",
                    "default": "\uF412"
                  },
                  "truncate_symbol": {
                    "$ref": "#/definitions/truncate_symbol"
                  },
                  "branch_max_length": {
                    "$ref": "#/definitions/branch_max_length"
                  },
                  "full_branch_path": {
                    "$ref": "#/definitions/full_branch_path"
                  },
                  "native_fallback": {
                    "$ref": "#/definitions/native_fallback"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "brewfather"
              }
            }
          },
          "then": {
            "title": "Brewfather Batch Status",
            "description": "https://ohmyposh.dev/docs/segments/brewfather",
            "properties": {
              "properties": {
                "properties": {
                  "user_id": {
                    "type": "string",
                    "title": "Brewfather UserID (required)",
                    "description": "Provided by Brewfather's Generate API Key settings option",
                    "default": ""
                  },
                  "api_key": {
                    "type": "string",
                    "title": "Brewfather API Key (required)",
                    "description": "Provided by Brewfather's Generate API Key settings option",
                    "default": ""
                  },
                  "batch_id": {
                    "type": "string",
                    "title": "ID of the batch in Brewfather (required)",
                    "description": "At the end of the URL when viewing the batch on the Brewfather site",
                    "default": ""
                  },
                  "day_icon": {
                    "type": "string",
                    "title": "Icon to use to indicate days",
                    "description": "Appended to a number to indicate days, e.g. 25d",
                    "default": "d"
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "type": "integer",
                    "title": "cache timeout",
                    "description": "Minutes the response is cached. A value of 0 disables the cache.",
                    "default": 5
                  },
                  "doubleup_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, very high positive change",
                    "description": "Delta between this and prior temperature reading is very high (> 4C by default), available intemplate as .TemperatureTrend",
                    "default": "↑↑"
                  },
                  "singleup_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, high positive change",
                    "description": "Delta between this and prior temperature reading is high (2C < delta < 4C by default), available intemplate as .TemperatureTrend",
                    "default": "↑"
                  },
                  "fortyfiveup_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, positive change",
                    "description": "Delta between this and prior temperature reading is positive (0.5C < delta < 2C by default), available intemplate as .TemperatureTrend",
                    "default": "↗"
                  },
                  "flat_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, flat/small change",
                    "description": "Delta between this and prior temperature and this temperature reading (< +-0.5C change), available intemplate as .TemperatureTrend",
                    "default": "→"
                  },
                  "fortyfivedown_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, v. negative change",
                    "description": "Delta between this and prior temperature reading is negative (-0.5C > delta > -2C by default), available intemplate as .TemperatureTrend",
                    "default": "↘"
                  },
                  "singledown_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, high negative change",
                    "description": "Delta between this and prior temperature reading is large negative (-2C > delta > -4C by default), available intemplate as .TemperatureTrend",
                    "default": "↓"
                  },
                  "doubledown_icon": {
                    "type": "string",
                    "title": "Temperature trend icon, very high negative change",
                    "description": "Delta between this and prior temperature reading is very large negative (> -4C by default), available intemplate as .TemperatureTrend",
                    "default": "↓↓"
                  },
                  "planning_status_icon": {
                    "type": "string",
                    "title": "Icon for batch in planning",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uF8EA"
                  },
                  "brewing_status_icon": {
                    "type": "string",
                    "title": "Icon for batch being brewed",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uF7DE"
                  },
                  "fermenting_status_icon": {
                    "type": "string",
                    "title": "Icon for batch fermenting",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uF499"
                  },
                  "conditioning_status_icon": {
                    "type": "string",
                    "title": "Icon for batch conditioning",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uE372"
                  },
                  "completed_status_icon": {
                    "type": "string",
                    "title": "Icon for completed batch",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uF7A5"
                  },
                  "archived_status_icon": {
                    "type": "string",
                    "title": "Icon for archived batch",
                    "description": "Available in template as .StatusIcon",
                    "default": "\uF187"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "ipify"
              }
            }
          },
          "then": {
            "title": "Display your external IP Address",
            "description": "https://ohmyposh.dev/docs/segments/ipify",
            "properties": {
              "properties": {
                "properties": {
                  "url": {
                    "type": "string",
                    "title": "URL",
                    "description": "The Ipify API URL",
                    "default": "https://api.ipify.org"
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "haskell"
              }
            }
          },
          "then": {
            "title": "Haskell Segment",
            "description": "https://ohmyposh.dev/docs/segments/haskell",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "stack_ghc_mode": {
                    "type": "string",
                    "title": "Use Stack GHC",
                    "description": "Get the GHC version used by Stack. Will decrease performance. Boolean indicating whether stack ghc was used available in template as .StackGhc",
                    "enum": ["always", "package", "never"],
                    "default": "never"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Haskell project",
                    "default": [
                      "*.hs",
                      "*.lhs",
                      "stack.yaml",
                      "package.yaml",
                      "*.cabal",
                      "cabal.project"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "helm"
              }
            }
          },
          "then": {
            "title": "Helm segment",
            "description": "https://ohmyposh.dev/docs/segments/helm",
            "properties": {
              "properties": {
                "properties": {
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "ui5tooling"
              }
            }
          },
          "then": {
            "title": "UI5 tooling CLI segment",
            "description": "https://ohmyposh.dev/docs/segments/ui5tooling",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a UI5 project",
                    "default": ["*ui5*.y*ml"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "unity"
              }
            }
          },
          "then": {
            "title": "Unity Segment",
            "description": "https://ohmyposh.dev/docs/segments/unity",
            "properties": {
              "properties": {
                "properties": {
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "upgrade"
              }
            }
          },
          "then": {
            "title": "Upgrade Segment",
            "description": "https://ohmyposh.dev/docs/segments/upgrade",
            "properties": {
              "properties": {
                "properties": {
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "vala"
              }
            }
          },
          "then": {
            "title": "Vala Segment",
            "description": "https://ohmyposh.dev/docs/segments/vala",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Vala project",
                    "default": ["*.vala"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cf"
              }
            }
          },
          "then": {
            "title": "Clound Foundry CLI segment",
            "description": "https://ohmyposh.dev/docs/segments/cf",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Cloud Foundry project",
                    "default": ["manifest.yml", "mta.yaml"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cftarget"
              }
            }
          },
          "then": {
            "title": "Clound Foundry Target segment",
            "description": "https://ohmyposh.dev/docs/segments/cftarget",
            "properties": {
              "properties": {
                "properties": {
                  "display_mode": {
                    "type": "string",
                    "title": "Display Mode",
                    "description": "Determines whether the segment is displayed always or only if a file matching the extensions are present in the current folder",
                    "enum": [
                      "always",
                      "files"
                    ],
                    "default": "always"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "kotlin"
              }
            }
          },
          "then": {
            "title": "Kotlin Segment",
            "description": "https://ohmyposh.dev/docs/segments/kotlin",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Kotlin project",
                    "default": ["*.kt", "*.kts", "*.ktm"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "lastfm"
              }
            }
          },
          "then": {
            "title": "LastFM Segment",
            "description": "https://ohmyposh.dev/docs/segments/lastfm",
            "properties": {
              "properties": {
                "properties": {
                  "playing_icon": {
                    "type": "string",
                    "title": "User Info Separator",
                    "description": "Text/icon to show when playing",
                    "default": "\uE602"
                  },
                  "stopped_icon": {
                    "type": "string",
                    "title": "SSH Icon",
                    "description": "Text/icon to show when stopped",
                    "default": "\uF04D"
                  },
                  "api_key": {
                    "type": "string",
                    "title": "API key",
                    "description": "The API key used for the API call (Required)",
                    "default": "."
                  },
                  "username": {
                    "type": "string",
                    "title": "username",
                    "description": "The username used for the API call (Required)",
                    "default": "."
                  },
                  "http_timeout": {
                    "$ref": "#/definitions/http_timeout"
                  },
                  "cache_timeout": {
                    "$ref": "#/definitions/cache_timeout"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "lua"
              }
            }
          },
          "then": {
            "title": "Lua Segment",
            "description": "https://ohmyposh.dev/docs/segments/lua",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "preferred_executable": {
                    "type": "string",
                    "title": "Preferred Executable",
                    "description": "The preferred executable to use when fetching the version.",
                    "enum": ["lua", "luajit"],
                    "default": "lua"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Lua project",
                    "default": ["*.lua", "*.rockspec"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "swift"
              }
            }
          },
          "then": {
            "title": "Swift Segment",
            "description": "https://ohmyposh.dev/docs/segments/swift",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a Swift project",
                    "default": ["*.swift", "*.SWIFT"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cds"
              }
            }
          },
          "then": {
            "title": "CDS (SAP CAP) segment",
            "description": "https://ohmyposh.dev/docs/segments/cds",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is a CDS project",
                    "default": [".cdsrc.json", ".cdsrc-private.json", "*.cds"],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "r"
              }
            }
          },
          "then": {
            "title": "R Segment",
            "description": "https://ohmyposh.dev/docs/segments/r",
            "properties": {
              "properties": {
                "properties": {
                  "home_enabled": {
                    "$ref": "#/definitions/home_enabled"
                  },
                  "fetch_version": {
                    "$ref": "#/definitions/fetch_version"
                  },
                  "display_mode": {
                    "$ref": "#/definitions/display_mode"
                  },
                  "missing_command_text": {
                    "$ref": "#/definitions/missing_command_text"
                  },
                  "version_url_template": {
                    "$ref": "#/definitions/version_url_template"
                  },
                  "cache_version": {
                    "$ref": "#/definitions/cache_version"
                  },
                  "extensions": {
                    "type": "array",
                    "title": "Extensions",
                    "description": "The extensions to look for when determining if the current directory is an R project",
                    "default": [
                      "*.R",
                      "*.Rmd",
                      "*.Rsx",
                      "*.Rda",
                      "*.Rd",
                      "*.Rproj",
                      ".Rproj.user"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "folders": {
                    "$ref": "#/definitions/folders"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "gcp"
              }
            }
          },
          "then": {
            "title": "GCP Segment",
            "description": "https://ohmyposh.dev/docs/segments/gcp"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "firebase"
              }
            }
          },
          "then": {
            "title": "Firebase Segment",
            "description": "https://ohmyposh.dev/docs/segments/firebase"
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "gitversion"
              }
            }
          },
          "then": {
            "title": "Display GitVersion segment",
            "description": "https://ohmyposh.dev/docs/segments/gitversion",
            "properties": {
              "properties": {
                "properties": {
                  "cache_timeout": {
                    "type": "integer",
                    "title": "cache timeout",
                    "description": "Minutes the response is cached. A value of 0 disables the cache.",
                    "default": 30
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "mercurial"
              }
            }
          },
          "then": {
            "title": "Mercurial Segment",
            "description": "https://ohmyposh.dev/docs/segments/mercurial",
            "properties": {
              "properties": {
                "properties": {
                  "fetch_status": {
                    "type": "boolean",
                    "title": "Display Status",
                    "description": "Display the local changes or not",
                    "default": false
                  },
                  "status_formats": {
                    "$ref": "#/definitions/status_formats"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "nightscout"
              }
            }
          },
          "then": {
            "title": "Display Nightscout segment",
            "description": "https://ohmyposh.dev/docs/segments/nightscout",
            "properties": {
              "properties": {
                "properties": {
                  "url": {
                    "type": "string",
                    "title": "URL",
                    "description": "The URL to the Nightscout API",
                    "default": ""
                  },
                  "cache_timeout": {
                    "type": "integer",
                    "title": "cache timeout",
                    "description": "Minutes the response is cached. A value of 0 disables the cache.",
                    "default": 5
                  },
                  "http_timeout": {
                    "type": "integer",
                    "title": "Http request timeout",
                    "description": "Milliseconds to use for http request timeouts",
                    "default": 500
                  },
                  "headers": {
                    "type": "object",
                    "title": "Headers",
                    "description": "A key, value map of Headers to send with the request",
                    "default": {}
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": { "const": "umbraco" }
            }
          },
          "then": {
            "title": "Display something umbraco",
            "description": "https://ohmyposh.dev/docs/segments/umbraco",
            "properties": {
              "properties": {
                "properties": {
                  "newprop": {
                    "type": "string",
                    "title": "New Property",
                    "description": "the default text to display",
                    "default": "Hello"
                  }
                }
              }
            }
          }
        }
      ]
    }
  },
  "required": [
    "blocks"
  ],
  "properties": {
    "final_space": {
      "type": "boolean",
      "title": "Final Space",
      "description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
      "default": true
    },
    "disable_cursor_positioning": {
      "type": "boolean",
      "title": "Disable Cursor Positioning",
      "description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
      "default": false
    },
    "shell_integration": {
      "type": "boolean",
      "title": "FTCS command marks for shell integration",
      "default": false
    },
    "pwd": {
      "type": "string",
      "title": "Enable OSC99/7/51",
      "description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
      "default": ""
    },
    "console_title_template": {
      "type": "string",
      "title": "Console Title Template",
      "description": "https://ohmyposh.dev/docs/configuration/title#console-title-template",
      "default": "{{ .Shell }} in {{ .Folder }}"
    },
    "terminal_background": {
      "$ref": "#/definitions/color"
    },
    "blocks": {
      "type": "array",
      "title": "Block array",
      "default": [],
      "description": "https://ohmyposh.dev/docs/configuration/general#blocks",
      "items": {
        "$ref": "#/definitions/block"
      }
    },
    "tooltips": {
      "type": "array",
      "title": "Tooltip list, prompt elements to display based on context",
      "description": "https://ohmyposh.dev/docs/configuration/tooltips",
      "default": [],
      "items": {
        "allOf": [
          {
            "$ref": "#/definitions/segment"
          }
        ],
        "properties": {
          "tips": {
            "type": "array",
            "title": "The commands for which you want the segment to show",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "tips"
        ]
      }
    },
    "transient_prompt": {
      "$ref": "#/definitions/extra_prompt",
      "title": "Transient Prompt Setting",
      "description": "https://ohmyposh.dev/docs/configuration/transient",
      "properties": {
        "filler": {
          "type": "string",
          "title": "Filler",
          "description": "Right aligned filler text, will span the remaining width"
        }
      }
    },
    "valid_line": {
      "$ref": "#/definitions/extra_prompt",
      "title": "Valid Line Setting (for PowerShell only)",
      "description": "https://ohmyposh.dev/docs/configuration/line-error"
    },
    "error_line": {
      "$ref": "#/definitions/extra_prompt",
      "title": "Error Line Setting (for PowerShell only)",
      "description": "https://ohmyposh.dev/docs/configuration/line-error"
    },
    "secondary_prompt": {
      "$ref": "#/definitions/extra_prompt",
      "title": "Secondary Prompt Setting",
      "description": "https://ohmyposh.dev/docs/configuration/secondary-prompt"
    },
    "debug_prompt": {
      "$ref": "#/definitions/extra_prompt",
      "title": "Debug Prompt Setting (for PowerShell only)",
      "description": "https://ohmyposh.dev/docs/configuration/debug-prompt"
    },
    "palette": {
      "type": "object",
      "title": "Palette",
      "description": "https://ohmyposh.dev/docs/configuration/colors#palette",
      "default": {},
      "patternProperties": {
        ".*": {
          "$ref": "#/definitions/color"
        }
      }
    },
    "palettes": {
      "type": "object",
      "title": "Palettes",
      "description": "https://ohmyposh.dev/docs/configuration/colors#palettes",
      "default": {},
      "properties": {
        "template": {
          "type": "string",
          "title": "Prompt Template"
        },
        "list": {
          "type": "object",
          "title": "List of palettes",
          "patternProperties": {
            ".*": {
              "$ref": "#/properties/palette"
            }
          }
        }
      }
    },
    "cycle": {
      "type": "array",
      "title": "List of settings to cycle through segment by segment",
      "description": "https://ohmyposh.dev/docs/configuration/cycle",
      "default": [],
      "items": {
        "properties": {
          "foreground": {
            "$ref": "#/definitions/color"
          },
          "background": {
            "$ref": "#/definitions/color"
          }
        }
      }
    },
    "accent_color": {
      "title": "Accent color",
      "$ref": "#/definitions/color"
    }
  }
}