72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"$jsonSchema": {
|
|
"required": [
|
|
"id",
|
|
"user",
|
|
"device",
|
|
"date",
|
|
"data",
|
|
"data.farmer",
|
|
"data.money",
|
|
"data.played",
|
|
"data.save_time",
|
|
"data.year",
|
|
"data.season",
|
|
"data.day",
|
|
"file",
|
|
"file.name",
|
|
"file.uuid",
|
|
"file.path"
|
|
],
|
|
"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"
|
|
},
|
|
"file": {
|
|
"bsonType": "object"
|
|
},
|
|
"file.name": {
|
|
"bsonType": "string"
|
|
},
|
|
"file.uuid": {
|
|
"bsonType": "string"
|
|
},
|
|
"file.path": {
|
|
"bsonType": "string"
|
|
}
|
|
}
|
|
}
|
|
} |