{ "schema": { "bsonType": "object", "required": [], "permission": { "read": "auth.uid == doc.user_id", "create": true, "update": "auth.uid == doc.user_id", "delete": "auth.uid == doc.user_id" }, "properties": { "_id": { "description": "ID,系统自动生成" }, "notification_id": { "bsonType": "string", "foreignKey": "uni-notification-center._id" }, "user_id": { "bsonType": "string", "forceDefaultValue": { "$env": "uid" } }, "create_time": { "bsonType": "timestamp", "forceDefaultValue": { "$env": "now" } } } }, "index": [] }