{
"$jsonSchema": {
"required": [
"user",
"date",
"admin",
"sponsorship",
"sponsorship.streamer",
"sponsorship.expires",
"sponsorship.proof",
"sponsorship.label"
],
"properties": {
"user": {
"bsonType": ["int", "long"],
"description": "Telegram ID of user"
},
"date": {
"bsonType": "date",
"description": "Date when sponsorship was accepted"
"admin": {
"description": "Telegram ID of admin that accepted the sponsorship"
"sponsorship": {
"bsonType": "object"
"sponsorship.streamer": {
"bsonType": "string"
"sponsorship.expires": {
"bsonType": "date"
"sponsorship.proof": {
"sponsorship.label": {
}