Slightly improved structure
This commit is contained in:
parent
b185dff664
commit
3aefe710e5
@ -3,6 +3,7 @@
|
||||
"required": [
|
||||
"user",
|
||||
"link",
|
||||
"label",
|
||||
"tg_name",
|
||||
"tg_phone",
|
||||
"tg_locale",
|
||||
@ -14,23 +15,27 @@
|
||||
"description": "Telegram ID of user"
|
||||
},
|
||||
"link": {
|
||||
"bsonType": "string",
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Invite link to destination group"
|
||||
},
|
||||
"label": {
|
||||
"bsonType": "string",
|
||||
"description": "Label given by admins"
|
||||
},
|
||||
"tg_name": {
|
||||
"bsonType": "string",
|
||||
"description": "Telegram first name"
|
||||
},
|
||||
"tg_phone": {
|
||||
"bsonType": "string",
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Telegram phone number"
|
||||
},
|
||||
"tg_locale": {
|
||||
"bsonType": "string",
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Telegram locale"
|
||||
},
|
||||
"tg_username": {
|
||||
"bsonType": "string",
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Telegram username"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user