mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 06:53:00 +08:00
33 lines
734 B
JSON
33 lines
734 B
JSON
{
|
||
"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": []
|
||
}
|