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

54 lines
1.5 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系统自动生成"
},
"platform":{
"bsonType":"string",
"description":"应用平台对应uni-stat-app-platforms.code",
"foreignKey":"uni-stat-app-platforms.code"
},
"scene_code":{
"bsonType":"string",
"description":"场景代码"
},
"scene_name":{
"bsonType":"string",
"description":"场景名称"
},
"create_time":{
"bsonType":"timestamp",
"description":"创建时间"
}
}
},
"index":[
{
"IndexName":"index_search",
"MgoKeySchema":{
"MgoIndexKeys":[
{
"Name":"platform",
"Direction":"1"
},
{
"Name":"scene_code",
"Direction":"1"
}
],
"MgoIsUnique":true
}
}
]
}