diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index b5fb48877d222921b5d11f40dbf65a54fe953d18..5dd1caac4fe58627c4312b4b3bc28dc5083a9aeb 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -134,6 +134,29 @@ "write": false } }, + "level": { + "bsonType": "object", + "description": "级别", + "required": [ + "level" + ], + "properties": { + "type": { + "bsonType": "int", + "minimum": 0, + "maximum": 1, + "description": "用户级别:0 粉丝 1 会员 3 店铺" + }, + "level_star_date": { + "bsonType": "timestamp", + "description": "级别加入时间" + }, + "level_end_date": { + "bsonType": "timestamp", + "description": "级别过期时间" + } + } + }, "wx_unionid": { "bsonType": "string", "description": "微信unionid"