2020-09-14 15:41:38 +08:00
|
|
|
|
{
|
|
|
|
|
"schema": {
|
|
|
|
|
"bsonType": "object",
|
2020-10-27 18:21:58 +08:00
|
|
|
|
"required": ["content"],
|
|
|
|
|
"permission": {
|
2020-10-28 20:21:38 +08:00
|
|
|
|
"read": false,
|
|
|
|
|
"create": false,
|
|
|
|
|
"update": false,
|
|
|
|
|
"delete": false
|
2020-10-27 18:21:58 +08:00
|
|
|
|
},
|
2020-09-14 15:41:38 +08:00
|
|
|
|
"properties": {
|
|
|
|
|
"_id": {
|
|
|
|
|
"description": "ID,系统自动生成"
|
|
|
|
|
},
|
|
|
|
|
"user_id": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "收藏者id,参考uni-id-users表"
|
|
|
|
|
},
|
|
|
|
|
"device_id": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "设备id"
|
|
|
|
|
},
|
|
|
|
|
"content": {
|
|
|
|
|
"bsonType": "string",
|
|
|
|
|
"description": "搜索内容"
|
|
|
|
|
},
|
|
|
|
|
"create_date": {
|
|
|
|
|
"bsonType": "timestamp",
|
|
|
|
|
"description": "统计时间"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"index": []
|
|
|
|
|
}
|