mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 06:53:00 +08:00
26 lines
474 B
JSON
26 lines
474 B
JSON
|
{
|
|||
|
"schema": {
|
|||
|
"bsonType": "object",
|
|||
|
"required": [],
|
|||
|
"permission": {
|
|||
|
"read": true,
|
|||
|
"create": false,
|
|||
|
"update": "doc.user_id == auth.uid",
|
|||
|
"delete": false
|
|||
|
},
|
|||
|
"properties": {
|
|||
|
"_id": {
|
|||
|
"description": "ID,系统自动生成"
|
|||
|
},
|
|||
|
"is_read": {
|
|||
|
"bsonType": "bool",
|
|||
|
"defaultValue": false
|
|||
|
},
|
|||
|
"payload": {
|
|||
|
"state": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"index": []
|
|||
|
}
|