Add JSON schema support

This commit is contained in:
世界
2026-08-30 17:41:44 +08:00
parent e09e3b49f9
commit 6e09f2892a
87 changed files with 19320 additions and 305 deletions
+2
View File
@@ -5,6 +5,7 @@ sing-box uses JSON for configuration files.
```json
{
"$schema": "https://sing-box.sagernet.org/schema.json",
"log": {},
"dns": {},
"ntp": {},
@@ -25,6 +26,7 @@ sing-box uses JSON for configuration files.
| Key | Format |
|----------------|---------------------------------|
| `$schema` | [JSON Schema](./schema/) |
| `log` | [Log](./log/) |
| `dns` | [DNS](./dns/) |
| `ntp` | [NTP](./ntp/) |