24 lines
548 B
JSON
24 lines
548 B
JSON
|
{
|
||
|
"$jsonSchema": {
|
||
|
"required": [
|
||
|
"id",
|
||
|
"locale"
|
||
|
],
|
||
|
"properties": {
|
||
|
"user": {
|
||
|
"bsonType": [
|
||
|
"int",
|
||
|
"long"
|
||
|
],
|
||
|
"description": "Telegram ID of user"
|
||
|
},
|
||
|
"locale": {
|
||
|
"bsonType": [
|
||
|
"string",
|
||
|
"null"
|
||
|
],
|
||
|
"description": "Preferred messages language according to "
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|