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