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

58 lines
1.5 KiB
JSON
Raw Normal View History

2023-08-27 23:43:16 +03:00
{
"$jsonSchema": {
"required": [
"id",
"locale",
"enabled",
"location",
"offset",
"time_hour",
"time_minute"
],
"properties": {
"id": {
"bsonType": [
"int",
"long"
],
"description": "Telegram ID of user"
},
"locale": {
"bsonType": [
"string",
"null"
],
"description": "Preferred language of strings"
},
"enabled": {
"bsonType": "bool",
"description": "Whether notifications are enabled"
},
"location": {
"bsonType": [
"int",
"long"
],
"description": "ID of user's location"
},
"offset": {
"bsonType": [
"int"
],
"description": "Offset between event and notification in days"
},
"time_hour": {
"bsonType": [
"int"
],
"description": "Hour of notifications"
},
"time_minute": {
"bsonType": [
"int"
],
"description": "Minute of notifications"
}
}
}
}