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

37 lines
940 B
JSON
Raw Normal View History

2023-08-27 23:43:16 +03:00
{
"$jsonSchema": {
"required": [
"locations",
"garbage_type",
"date"
],
"properties": {
"locations": {
"bsonType": [
"array"
],
"description": "IDs of the locations"
},
"garbage_type": {
"bsonType": [
"int"
],
"enum": [
0,
1,
2,
3,
4,
5
],
"description": "Enum of garbage type. 0 - bio, 1 - plastic, 2 - paper, 3 - general, 4 - glass, 5 - unspecified"
},
"date": {
"bsonType": [
"date"
],
"description": "Date of the collection"
}
}
}
}