opendb/collection/uni-stat-page-details/collection.json

82 lines
2.2 KiB
JSON
Raw Normal View History

{
"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
}
}
]
}