UNPKG

1.4 kBJSONView Raw
1{
2 "additionalProperties": false,
3 "type": "object",
4 "definitions": {
5 "MatchCondition": {
6 "anyOf": [{ "instanceof": "RegExp" }, { "$ref": "#/definitions/Path" }]
7 },
8 "MatchConditions": {
9 "type": "array",
10 "items": { "$ref": "#/definitions/MatchCondition" },
11 "minItems": 1
12 },
13 "OverlayOptions": {
14 "additionalProperties": false,
15 "type": "object",
16 "properties": {
17 "entry": { "$ref": "#/definitions/Path" },
18 "module": { "$ref": "#/definitions/Path" },
19 "sockIntegration": {
20 "anyOf": [{ "enum": ["wds", "whm", "wps"] }, { "$ref": "#/definitions/Path" }]
21 },
22 "sockHost": { "type": "string" },
23 "sockPath": { "type": "string" },
24 "sockPort": { "type": "number", "minimum": 0 }
25 }
26 },
27 "Path": { "type": "string", "absolutePath": true }
28 },
29 "properties": {
30 "exclude": {
31 "anyOf": [
32 { "$ref": "#/definitions/MatchCondition" },
33 { "$ref": "#/definitions/MatchConditions" }
34 ]
35 },
36 "forceEnable": { "type": "boolean" },
37 "include": {
38 "anyOf": [
39 { "$ref": "#/definitions/MatchCondition" },
40 { "$ref": "#/definitions/MatchConditions" }
41 ]
42 },
43 "overlay": {
44 "anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/OverlayOptions" }]
45 },
46 "useLegacyWDSSockets": { "type": "boolean" }
47 }
48}