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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26