/[sudobot]/trunk/config/schema/system.json
ViewVC logotype

Contents of /trunk/config/schema/system.json

Parent Directory Parent Directory | Revision Log Revision Log


Revision 631 - (show annotations)
Tue Sep 10 15:53:22 2024 UTC (6 months, 2 weeks ago) by rakinar2
File MIME type: application/json
File size: 7119 byte(s)
chore: sync

1 {
2 "type": "object",
3 "properties": {
4 "$schema": {
5 "type": "string"
6 },
7 "sync_emojis": {
8 "type": "boolean",
9 "default": false
10 },
11 "emoji_resolve_strategy": {
12 "type": "string",
13 "enum": [
14 "both",
15 "home_guild",
16 "application"
17 ],
18 "default": "both"
19 },
20 "system_admins": {
21 "type": "array",
22 "items": {
23 "type": "string"
24 },
25 "default": []
26 },
27 "snippets": {
28 "type": "object",
29 "properties": {
30 "save_attachments": {
31 "type": "boolean",
32 "default": false
33 }
34 },
35 "additionalProperties": false
36 },
37 "restart_exit_code": {
38 "type": "integer",
39 "default": 1
40 },
41 "trust_proxies": {
42 "type": "integer"
43 },
44 "presence": {
45 "type": "object",
46 "properties": {
47 "name": {
48 "type": "string"
49 },
50 "status": {
51 "type": "string",
52 "enum": [
53 "online",
54 "idle",
55 "dnd",
56 "invisible"
57 ]
58 },
59 "url": {
60 "type": "string"
61 },
62 "type": {
63 "type": "string",
64 "enum": [
65 "Competing",
66 "Listening",
67 "Playing",
68 "Streaming",
69 "Watching",
70 "Custom"
71 ]
72 }
73 },
74 "required": [
75 "type"
76 ],
77 "additionalProperties": false
78 },
79 "commands": {
80 "type": "object",
81 "properties": {
82 "mention_prefix": {
83 "type": "boolean",
84 "default": true
85 },
86 "groups": {
87 "type": "object",
88 "additionalProperties": {
89 "type": "array",
90 "items": {
91 "type": "string"
92 }
93 },
94 "default": {}
95 },
96 "register_application_commands_on_boot": {
97 "type": "string",
98 "enum": [
99 "always_global",
100 "guild",
101 "none",
102 "auto_global"
103 ],
104 "default": "auto_global"
105 },
106 "global_disabled": {
107 "type": "array",
108 "items": {
109 "type": "string"
110 },
111 "default": []
112 },
113 "system_banned_users": {
114 "type": "array",
115 "items": {
116 "type": "string"
117 },
118 "default": []
119 }
120 },
121 "additionalProperties": false,
122 "default": {}
123 },
124 "enable_file_filter": {
125 "type": "boolean",
126 "default": false
127 },
128 "command_permission_mode": {
129 "type": "string",
130 "enum": [
131 "ignore",
132 "overwrite",
133 "check"
134 ],
135 "default": "overwrite"
136 },
137 "api": {
138 "type": "object",
139 "properties": {
140 "enabled": {
141 "type": "boolean",
142 "default": true
143 },
144 "server_status": {
145 "type": "string",
146 "enum": [
147 "operational",
148 "degraded",
149 "partial_outage",
150 "major_outage",
151 "maintenance",
152 "error"
153 ],
154 "default": "operational"
155 },
156 "server_status_description": {
157 "type": "string"
158 },
159 "server_status_started_at": {
160 "anyOf": [
161 {
162 "allOf": [
163 {
164 "type": "string"
165 },
166 {
167 "type": "string",
168 "format": "date-time"
169 }
170 ]
171 },
172 {
173 "type": "string",
174 "format": "date-time"
175 }
176 ]
177 }
178 },
179 "additionalProperties": false,
180 "default": {}
181 },
182 "extensions": {
183 "type": "object",
184 "properties": {
185 "default_mode": {
186 "type": "string",
187 "enum": [
188 "enable_all",
189 "disable_all"
190 ],
191 "default": "enable_all"
192 }
193 },
194 "additionalProperties": false,
195 "default": {}
196 },
197 "log_server": {
198 "type": "object",
199 "properties": {
200 "enabled": {
201 "type": "boolean",
202 "default": false
203 },
204 "auto_start": {
205 "type": "boolean",
206 "default": false
207 }
208 },
209 "additionalProperties": false
210 },
211 "logging": {
212 "type": "object",
213 "properties": {
214 "enabled": {
215 "type": "boolean",
216 "default": false
217 },
218 "webhook_url": {
219 "type": "string",
220 "format": "uri"
221 }
222 },
223 "required": [
224 "webhook_url"
225 ],
226 "additionalProperties": false
227 },
228 "statistics": {
229 "type": "object",
230 "properties": {
231 "enabled": {
232 "type": "boolean",
233 "default": false
234 },
235 "sync_delay": {
236 "type": "integer",
237 "default": 60000
238 }
239 },
240 "additionalProperties": false
241 }
242 },
243 "additionalProperties": false,
244 "$schema": "http://json-schema.org/draft-07/schema#"
245 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26