NGTools/uni_modules/uni-id-pages/uniCloud/database/opendb-frv-logs.schema.json
liaody 3d90da2569 pages.json 分文件配置
uni-module 更新升级
2024-10-09 22:44:03 +08:00

45 lines
1.0 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.

{
"bsonType": "object",
"permission": {
"read": "doc._id == auth.uid || 'CREATE_UNI_ID_USERS' in auth.permission",
"create": "'CREATE_UNI_ID_USERS' in auth.permission",
"update": "doc._id == auth.uid || 'UPDATE_UNI_ID_USERS' in auth.permission",
"delete": "'DELETE_UNI_ID_USERS' in auth.permission"
},
"properties": {
"_id": {
"description": "存储文档 ID用户 ID系统自动生成"
},
"certify_id": {
"bsonType": "string",
"description": "认证id"
},
"user_id": {
"bsonType": "string",
"description": "用户id"
},
"real_name": {
"bsonType": "string",
"description": "姓名"
},
"identity": {
"bsonType": "string",
"description": "身份证号码"
},
"status": {
"bsonType": "int",
"description": "认证状态0 未认证 1 等待认证 2 认证通过 3 认证失败",
"maximum": 3,
"minimum": 0
},
"created_date": {
"bsonType": "timestamp",
"description": "创建时间",
"forceDefaultValue": {
"$env": "now"
}
}
},
"required": []
}