uni-stat-app-channels.schema.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // 应用渠道表
  2. {
  3. "bsonType": "object",
  4. "description": "提供渠道和场景值数据",
  5. "required": [],
  6. "permission": {
  7. "read": "'READ_UNI_STAT_APP_CHANNELS' in auth.permission",
  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,对应opendb-app-list.appid",
  19. "foreignKey": "opendb-app-list.appid"
  20. },
  21. "platform_id": {
  22. "bsonType": "string",
  23. "description": "应用平台,对应uni-stat-app-platforms._id",
  24. "foreignKey": "uni-stat-app-platforms._id"
  25. },
  26. "channel_code": {
  27. "bsonType": "int",
  28. "description": "客户端上报的渠道代码"
  29. },
  30. "channel_name": {
  31. "bsonType": "string",
  32. "description": "渠道名称,用户可编辑"
  33. },
  34. "create_time": {
  35. "bsonType": "timestamp",
  36. "description": "创建时间"
  37. },
  38. "last_modify_time": {
  39. "bsonType": "timestamp",
  40. "description": "最后修改时间"
  41. }
  42. }
  43. }