opendb/collection/uni-stat-page-details/collection.json
2023-12-21 11:09:06 +08:00

82 lines
2.2 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",
"description":"记录上报的页面详情字典",
"required":[
],
"permission":{
"read": false,
"create":false,
"update":false,
"delete":false
},
"properties":{
"_id":{
"description":"ID系统自动生成"
},
"appid":{
"bsonType":"string",
"description":"应用ID"
},
"page_id":{
"bsonType":"string",
"description":"当前页面ID对应uni-stat-pages._id",
"foreignKey":"uni-stat-pages._id"
},
"page_link":{
"bsonType":"string",
"description":"页面链接,匹配并去除链接中无用参数后的url"
},
"page_title":{
"bsonType":"string",
"description":"页面标题"
},
"create_time":{
"bsonType":"timestamp",
"description":"创建时间"
},
"update_time":{
"bsonType":"timestamp",
"description":"修改时间"
}
}
},
"index":[
{
"IndexName":"create_time",
"MgoKeySchema":{
"MgoIndexKeys":[
{
"Name":"create_time",
"Direction":"1"
}
],
"MgoIsUnique":false
}
},
{
"IndexName":"appid",
"MgoKeySchema":{
"MgoIndexKeys":[
{
"Name":"appid",
"Direction":"1"
}
],
"MgoIsUnique":false
}
},
{
"IndexName":"page_id",
"MgoKeySchema":{
"MgoIndexKeys":[
{
"Name":"page_id",
"Direction":"1"
}
],
"MgoIsUnique":false
}
}
]
}