opendb-search-log.schema.json 565 字节
Newer Older
M
MicroMilo 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
{
	"bsonType": "object",
	"permission": {
		"create": true,
		"delete": false,
		"read": false,
		"update": false
	},
	"properties": {
		"_id": {
			"description": "ID,系统自动生成"
		},
		"content": {
			"bsonType": "string",
			"description": "搜索内容"
		},
		"create_date": {
			"bsonType": "timestamp",
			"description": "统计时间"
		},
		"device_id": {
			"bsonType": "string",
			"description": "设备id"
		},
		"user_id": {
			"bsonType": "string",
			"description": "收藏者id,参考uni-id-users表"
		}
	},
	"required": ["content"]
}