mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 11:20:49 +08:00
updating QvRoute.schema.json
This commit is contained in:
parent
97628766d7
commit
9ece8a8db1
@ -2,6 +2,10 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"description": "路由规则方案",
|
||||
"definitions": {
|
||||
"DomainStrategyEntry": {
|
||||
"enum": ["AsIs", "IPIfNonMatch", "IPOnDemand"],
|
||||
"type": "string"
|
||||
},
|
||||
"DomainRuleEntry": {
|
||||
"examples": [
|
||||
"baidu.com",
|
||||
@ -102,8 +106,11 @@
|
||||
},
|
||||
"ips": {
|
||||
"$ref": "#/definitions/IPRule"
|
||||
},
|
||||
"domainStrategy": {
|
||||
"$ref": "#/definitions/DomainStrategyEntry"
|
||||
}
|
||||
},
|
||||
"required": ["name", "author", "description", "domains", "ips"],
|
||||
"required": ["name", "author", "description", "domains", "ips", "domainStrategy"],
|
||||
"type": "object"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user