56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
|
||
{
|
||
"bsonType": "object",
|
||
"required": [],
|
||
"permission": {
|
||
"read": false,
|
||
"create": false,
|
||
"update": false,
|
||
"delete": false
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"PolicyName": {
|
||
"bsonType": "string",
|
||
"description": "策略名称",
|
||
"title": "策略名称",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"Strategy": {
|
||
"bsonType": "string",
|
||
"description": "策略方案",
|
||
"title": "策略方案",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"register_date": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建日期",
|
||
"title": "创建日期",
|
||
"forceDefaultValue": {
|
||
"$env": "now",
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"Operation": {
|
||
"bsonType": "string",
|
||
"description": "操作",
|
||
"title": "操作",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
}
|
||
}
|
||
}
|