28 lines
722 B
JSON
28 lines
722 B
JSON
{
|
|
"$jsonSchema": {
|
|
"required": [
|
|
"user",
|
|
"admin",
|
|
"date",
|
|
"reason"
|
|
],
|
|
"properties": {
|
|
"user": {
|
|
"bsonType": ["int", "long"],
|
|
"description": "Telegram ID of user"
|
|
},
|
|
"admin": {
|
|
"bsonType": ["int", "long"],
|
|
"description": "Telegram ID of admin"
|
|
},
|
|
"date": {
|
|
"bsonType": "date",
|
|
"description": "Date and time of getting"
|
|
},
|
|
"reason": {
|
|
"bsonType": "string",
|
|
"description": "Broken rule or admin's comment"
|
|
}
|
|
}
|
|
}
|
|
} |