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

58 lines
1.6 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对应opendb-app-list.appid",
"foreignKey":"opendb-app-list.appid"
},
"path":{
"bsonType":"string",
"description":"页面路径,如`/pages/index/index`"
},
"title":{
"bsonType":"string",
"description":"页面标题"
},
"page_rules":{
"bsonType":"array",
"description":"页面规则每个页面最多设置5个[['id','page'],['sid']]"
},
"create_time":{
"bsonType":"timestamp",
"description":"创建时间"
}
}
},
"index":[
{
"IndexName":"index_search_page",
"MgoKeySchema":{
"MgoIndexKeys":[
{
"Name":"appid",
"Direction":"1"
},
{
"Name":"path",
"Direction":"1"
}
],
"MgoIsUnique":true
}
}
]
}