uni-stat-events.schema.json 806 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // 应用事件表
  2. {
  3. "bsonType": "object",
  4. "description": "提供应用的事件字典",
  5. "required": [],
  6. "permission": {
  7. "read": "'READ_UNI_STAT_EVENTS' 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. "event_key": {
  22. "bsonType": "string",
  23. "description": "事件键值"
  24. },
  25. "event_name": {
  26. "bsonType": "string",
  27. "description": "事件名称"
  28. },
  29. "create_time": {
  30. "bsonType": "timestamp",
  31. "description": "创建时间"
  32. },
  33. "update_time": {
  34. "bsonType": "timestamp",
  35. "description": "last_modify_time"
  36. }
  37. }
  38. }