mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-29 03:45:15 +00:00
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"definitions": {
|
|
"MatchCondition": {
|
|
"anyOf": [{ "instanceof": "RegExp" }, { "$ref": "#/definitions/Path" }]
|
|
},
|
|
"MatchConditions": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/definitions/MatchCondition" },
|
|
"minItems": 1
|
|
},
|
|
"OverlayOptions": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"entry": {
|
|
"anyOf": [{ "const": false }, { "$ref": "#/definitions/Path" }]
|
|
},
|
|
"module": {
|
|
"anyOf": [{ "const": false }, { "$ref": "#/definitions/Path" }]
|
|
},
|
|
"sockIntegration": {
|
|
"anyOf": [
|
|
{ "const": false },
|
|
{ "enum": ["wds", "whm", "wps"] },
|
|
{ "$ref": "#/definitions/Path" }
|
|
]
|
|
},
|
|
"sockHost": { "type": "string" },
|
|
"sockPath": { "type": "string" },
|
|
"sockPort": { "type": "number", "minimum": 0 },
|
|
"useLegacyWDSSockets": { "type": "boolean" }
|
|
}
|
|
},
|
|
"Path": { "type": "string", "absolutePath": true }
|
|
},
|
|
"properties": {
|
|
"exclude": {
|
|
"anyOf": [
|
|
{ "$ref": "#/definitions/MatchCondition" },
|
|
{ "$ref": "#/definitions/MatchConditions" }
|
|
]
|
|
},
|
|
"forceEnable": { "type": "boolean" },
|
|
"include": {
|
|
"anyOf": [
|
|
{ "$ref": "#/definitions/MatchCondition" },
|
|
{ "$ref": "#/definitions/MatchConditions" }
|
|
]
|
|
},
|
|
"overlay": {
|
|
"anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/OverlayOptions" }]
|
|
}
|
|
}
|
|
}
|