uni-stat-share-logs.schema.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // 应用分享日志表
  2. {
  3. "bsonType": "object",
  4. "description": "记录触发分享事件的日志",
  5. "required": [],
  6. "permission": {
  7. "read": false,
  8. "create": false,
  9. "update": false,
  10. "delete": false
  11. },
  12. "properties": {
  13. "_id": {
  14. "description": "ID,系统自动生成"
  15. },
  16. "appid": {
  17. "bsonType": "string",
  18. "description": "客户端上报的应用ID"
  19. },
  20. "version": {
  21. "bsonType": "string",
  22. "description": "客户端上报的应用版本号"
  23. },
  24. "platform": {
  25. "bsonType": "string",
  26. "description": "客户端上报的平台code"
  27. },
  28. "channel": {
  29. "bsonType": "string",
  30. "description": "客户端上报的渠道code\/场景值"
  31. },
  32. "device_id": {
  33. "bsonType": "string",
  34. "description": "客户端携带的设备标识"
  35. },
  36. "uid": {
  37. "bsonType": "string",
  38. "description": "用户编号, 对应uni-id-users._id"
  39. },
  40. "session_id": {
  41. "bsonType": "string",
  42. "description": "访问会话日志ID,对应uni-stat-session-logs._id",
  43. "foreignKey": "uni-stat-session-logs._id"
  44. },
  45. "page_id": {
  46. "bsonType": "string",
  47. "description": "当前页面ID,对应uni-stat-pagesd",
  48. "foreignKey": "uni-stat-pagesd"
  49. },
  50. "create_time": {
  51. "bsonType": "timestamp",
  52. "description": "创建时间"
  53. }
  54. }
  55. }