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/locations.json

45 lines
1.1 KiB
JSON
Raw Normal View History

2023-08-27 23:43:16 +03:00
{
"$jsonSchema": {
"required": [
"id",
"name",
"location",
"country",
"timezone"
],
"properties": {
"id": {
"bsonType": [
"int",
"long"
],
"description": "Unique ID of the location"
},
"name": {
"bsonType": [
"string"
],
"description": "Location's name"
},
"location": {
"bsonType": [
"array"
],
"description": "Longitude and latitude of the location"
},
"country": {
"bsonType": [
"int",
"long"
],
"description": "Location's country ID"
},
"timezone": {
"bsonType": [
"string"
],
"description": "Location's timezone according to ISO 8601"
}
}
}
}