This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.schema.json
143 lines (143 loc) · 3.51 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"type" : "object",
"description" : "Config of cleaner",
"definitions" : {
"kbList" : {
"type" : "array",
"default" : [],
"description" : "List of IDs of KB articles (one update may have multiple KB articles)",
"items" : {
"type" : "integer"
},
"uniqueItems" : true
},
"idList" : {
"type" : "array",
"description" : "List of IDs of updates",
"items" : {
"type" : "string",
"description" : "An explanation about the puropose of this instance described by this schema.",
"format" : "uuid"
},
"uniqueItems" : "true",
"default" : []
},
"keywordsList" : {
"type" : "array",
"default" : [],
"description" : "A list of keywords",
"items" : {
"type" : "string"
},
"uniqueItems" : true
},
"updatesList" : {
"type" : "object",
"default" : {},
"propeties" : {
"kbs" : {
"$ref" : "#/definitions/kbList"
},
"ids" : {
"$ref" : "#/definitions/idList"
}
}
},
"keywordsGroup" : {
"type" : "object",
"default" : {},
"description" : "A combination of multiple keyword lists, usually a blacklist and a whitelist",
"propeties" : {
"blacklist" : {
"$ref" : "#/definitions/keywordsGroup/keywordsList"
},
"whitelist" : {
"$ref" : "#/definitions/keywordsGroup/keywordsList"
}
}
}
},
"properties" : {
"uninstall" : {
"type" : "boolean",
"default" : true,
"description" : "Determines whether unwanted updates should be uninstalled"
},
"hide" : {
"type" : "boolean",
"default" : true,
"description" : "Determines whether unwanted updates should be hiden"
},
"ignoreUpdatesWhitelist" : {
"type" : "boolean",
"default" : false,
"description" : "Ignore whitelist"
},
"online" : {
"type" : "boolean",
"default" : true,
"description" : "Connect to MS Update servers to get info about published but not yet installed updates"
},
"debug" : {
"type" : "boolean",
"default" : false,
"description" : "Get updates from updates.json file instead of MS Update, disable applying changes"
},
"color" : {
"type" : "boolean",
"default" : false,
"description" : "Uses colors in console. For Windows <10 you need [ansicon](https://github.com/adoxa/ansicon/releases)."
},
"whitelist" : {
"$ref" : "#/definitions/updatesList"
},
"blacklist" : {
"$ref" : "#/definitions/updatesList"
},
"heuristics" : {
"type" : "object",
"default" : {},
"description" : "Used to heuristically detect unwanted addons",
"properties" : {
"enabled" : {
"type" : "boolean",
"default" : false,
"description" : "Enables heuristics"
},
"downloadKBPages" : {
"type" : "boolean",
"default" : false,
"description" : "Download kb pages of addons and look for keywords in them"
},
"propertiesKeywords" : {
"type" : "object",
"default" : {},
"description" : "Sets of properties to be checked, the key is property name, the value is keywords group",
"additionalProperties" : {
"$ref" : "#/definitions/keywordsGroup",
"uniqueItems" : true
},
"uniqueItems" : true
},
"pagesKeywords" : {
"$ref" : "#/definitions/keywordsGroup"
},
"uselessLinks" : {
"type" : "array",
"default" : [],
"description" : "Links, not referencing KB articles",
"items" : {
"type" : "string",
"format" : "uri"
}
},
"unwanted" : {
"$ref" : "#/definitions/updatesList"
},
"harmless" : {
"$ref" : "#/definitions/updatesList"
}
}
}
}
}