2023-05-08 16:45:16 +03:00
|
|
|
{
|
|
|
|
"$jsonSchema": {
|
|
|
|
"required": [
|
|
|
|
"user",
|
2024-12-27 23:43:40 +02:00
|
|
|
"custom_role",
|
|
|
|
"custom_channel"
|
2023-05-08 16:45:16 +03:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"user": {
|
|
|
|
"bsonType": "long",
|
|
|
|
"description": "Discord ID of user"
|
|
|
|
},
|
2024-12-27 23:43:40 +02:00
|
|
|
"custom_role": {
|
|
|
|
"bsonType": [
|
|
|
|
"null",
|
|
|
|
"long"
|
|
|
|
],
|
2023-05-08 16:45:16 +03:00
|
|
|
"description": "Discord ID of custom role or 'null' if not set"
|
|
|
|
},
|
2024-12-27 23:43:40 +02:00
|
|
|
"custom_channel": {
|
|
|
|
"bsonType": [
|
|
|
|
"null",
|
|
|
|
"long"
|
|
|
|
],
|
2023-05-08 16:45:16 +03:00
|
|
|
"description": "Discord ID of custom channel or 'null' if not set"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|