87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
{
|
|
"$jsonSchema": {
|
|
"required": [
|
|
"user",
|
|
"date",
|
|
"admin",
|
|
"application",
|
|
"application.1",
|
|
"application.2",
|
|
"application.3",
|
|
"application.3.name",
|
|
"application.3.adminName1",
|
|
"application.3.countryCode",
|
|
"application.3.countryName",
|
|
"application.3.location",
|
|
"application.4",
|
|
"application.5",
|
|
"application.6",
|
|
"application.7",
|
|
"application.8",
|
|
"application.9",
|
|
"application.10"
|
|
],
|
|
"properties": {
|
|
"user": {
|
|
"bsonType": ["int", "long"],
|
|
"description": "Telegram ID of user"
|
|
},
|
|
"date": {
|
|
"bsonType": "date",
|
|
"description": "Date when application was accepted"
|
|
},
|
|
"admin": {
|
|
"bsonType": ["int", "long"],
|
|
"description": "Telegram ID of admin that accepted the application"
|
|
},
|
|
"application": {
|
|
"bsonType": "object"
|
|
},
|
|
"application.1": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.2": {
|
|
"bsonType": "date"
|
|
},
|
|
"application.3": {
|
|
"bsonType": "object"
|
|
},
|
|
"application.3.name": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.3.adminName1": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.3.countryCode": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.3.countryName": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.3.location": {
|
|
"bsonType": "array"
|
|
},
|
|
"application.4": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.5": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.6": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.7": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.8": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.9": {
|
|
"bsonType": "string"
|
|
},
|
|
"application.10": {
|
|
"bsonType": "string"
|
|
}
|
|
}
|
|
}
|
|
} |