自动生成的 sing-box 配置文件 JSON Schema
此 Schema 文件可以用于 IDE 自动补全、配置验证和文档生成。
在 VS Code 中使用:
{
"$schema": "https://kenxx.github.io/sing-box.json/sing-box-config-schema.json"
}
在你的 sing-box 配置文件中添加 $schema 字段:
{
"$schema": "https://kenxx.github.io/sing-box.json/sing-box-config-schema.json",
"log": {
"level": "info"
},
...
}