mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-28 23:39:43 +08:00
29 lines
613 B
JSON
29 lines
613 B
JSON
|
{
|
|||
|
"schema": {
|
|||
|
"bsonType": "object",
|
|||
|
"required": ["user_id", "content"],
|
|||
|
"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": []
|
|||
|
}
|