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

47 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema": {
"bsonType": "object",
"required": ["name", "comment"],
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"name": {
"bsonType": "string",
"description": "任务名称",
"title": "任务名称"
},
"comment": {
"bsonType": "string",
"description": "任务描述",
"title": "任务描述"
},
"bounty": {
"bsonType": "int",
"description": "任务完成后的奖励积分",
"title": "奖励积分"
},
"max_per_hour": {
"bsonType": "int",
"description": "每小时允许执行的最大次数"
},
"max_per_day": {
"bsonType": "int",
"description": "每天允许执行的最大次数"
},
"max_per_week": {
"bsonType": "int",
"description": "每周允许执行的最大次数"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
},
"index": []
}