2023-01-18 15:25:22 +02:00
|
|
|
{
|
|
|
|
"$jsonSchema": {
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"user",
|
|
|
|
"device",
|
|
|
|
"date",
|
|
|
|
"data",
|
|
|
|
"data.farmer",
|
|
|
|
"data.money",
|
|
|
|
"data.played",
|
|
|
|
"data.save_time",
|
|
|
|
"data.year",
|
|
|
|
"data.season",
|
|
|
|
"data.day",
|
2023-01-19 14:35:27 +02:00
|
|
|
"file",
|
|
|
|
"file.name",
|
|
|
|
"file.uuid",
|
|
|
|
"file.path"
|
2023-01-18 15:25:22 +02:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"bsonType": "string"
|
|
|
|
},
|
|
|
|
"device": {
|
|
|
|
"bsonType": "string"
|
|
|
|
},
|
|
|
|
"date": {
|
|
|
|
"bsonType": ["int", "double"]
|
|
|
|
},
|
|
|
|
"data": {
|
|
|
|
"bsonType": "object"
|
|
|
|
},
|
|
|
|
"data.farmer": {
|
|
|
|
"bsonType": "string"
|
|
|
|
},
|
|
|
|
"data.money": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"data.played": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"data.save_time": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"data.year": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"data.season": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
|
|
|
"data.day": {
|
|
|
|
"bsonType": "int"
|
|
|
|
},
|
2023-01-19 14:35:27 +02:00
|
|
|
"file": {
|
2023-01-18 15:25:22 +02:00
|
|
|
"bsonType": "object"
|
|
|
|
},
|
2023-01-19 14:35:27 +02:00
|
|
|
"file.name": {
|
2023-01-18 15:25:22 +02:00
|
|
|
"bsonType": "string"
|
|
|
|
},
|
2023-01-19 14:35:27 +02:00
|
|
|
"file.uuid": {
|
2023-01-18 15:25:22 +02:00
|
|
|
"bsonType": "string"
|
|
|
|
},
|
2023-01-19 14:35:27 +02:00
|
|
|
"file.path": {
|
2023-01-18 15:25:22 +02:00
|
|
|
"bsonType": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|