This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Telegram/validation/users.json

43 lines
1.2 KiB
JSON
Raw Normal View History

2022-12-11 02:30:56 +02:00
{
"$jsonSchema": {
"required": [
"user",
"link",
2022-12-11 20:52:38 +02:00
"label",
2022-12-11 02:30:56 +02:00
"tg_name",
"tg_phone",
"tg_locale",
"tg_username"
],
"properties": {
"user": {
"bsonType": ["int", "long"],
"description": "Telegram ID of user"
},
"link": {
2022-12-11 20:52:38 +02:00
"bsonType": ["string", "null"],
2022-12-11 02:30:56 +02:00
"description": "Invite link to destination group"
},
2022-12-11 20:52:38 +02:00
"label": {
"bsonType": "string",
"description": "Label given by admins"
},
2022-12-11 02:30:56 +02:00
"tg_name": {
"bsonType": "string",
"description": "Telegram first name"
},
"tg_phone": {
2022-12-11 20:52:38 +02:00
"bsonType": ["string", "null"],
2022-12-11 02:30:56 +02:00
"description": "Telegram phone number"
},
"tg_locale": {
2022-12-11 20:52:38 +02:00
"bsonType": ["string", "null"],
2022-12-11 02:30:56 +02:00
"description": "Telegram locale"
},
"tg_username": {
2022-12-11 20:52:38 +02:00
"bsonType": ["string", "null"],
2022-12-11 02:30:56 +02:00
"description": "Telegram username"
}
}
}
}