opendb/collection/uni-id-task-log/collection.json

33 lines
734 B
JSON
Raw Normal View History

{
"schema": {
"bsonType": "object",
"required": ["user_id", "task_id"],
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"user_id": {
"bsonType": "string",
"description": "用户id参考uni-id-users表"
},
"task_id": {
"bsonType": "string",
"description": "任务ID"
},
"result": {
"bsonType": "bool",
"description": "任务执行结果true:成功false失败"
},
"bounty": {
"bsonType": "int",
"description": "奖励积分"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
}
}
},
"index": []
}