opendb/collection/uni-stat-active-users/collection.json
2022-04-22 12:01:07 +08:00

1 line
1.7 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.

{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"dimension":{"bsonType":"string","description":"时间范围 week:周month:月","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"uid","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}