mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-28 07:19:40 +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": []
|
|||
|
}
|