uni-stat-error-source-map.schema.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "bsonType": "object",
  3. "description": "存储sourceMap文件资源地址",
  4. "required": [],
  5. "permission": {
  6. "read": "'READ_UNI_STAT_ERROR_RESULT' in auth.permission",
  7. "create": "'READ_UNI_STAT_ERROR_RESULT' in auth.permission",
  8. "update": "'READ_UNI_STAT_ERROR_RESULT' in auth.permission",
  9. "delete": "'READ_UNI_STAT_ERROR_RESULT' in auth.permission"
  10. },
  11. "properties": {
  12. "_id": {
  13. "description": "ID,系统自动生成"
  14. },
  15. "appid": {
  16. "bsonType": "string",
  17. "description": "应用ID"
  18. },
  19. "uni_platform": {
  20. "title": "应用平台",
  21. "bsonType": "string",
  22. "description": "uni客户端平台,如:web、mp-weixin、mp-alipay、app等",
  23. "trim": "both"
  24. },
  25. "version": {
  26. "bsonType": "string",
  27. "description": "客户端上报的应用版本号"
  28. },
  29. "file_id": {
  30. "bsonType": "string",
  31. "description": "fileID"
  32. },
  33. "url": {
  34. "bsonType": "string",
  35. "description": "文件外网url路径"
  36. },
  37. "name": {
  38. "bsonType": "string",
  39. "description": "文件名"
  40. },
  41. "size": {
  42. "bsonType": "int",
  43. "description": "文件大小"
  44. },
  45. "cloud_path": {
  46. "bsonType": "string",
  47. "description": "云端路径,通过该值识别是否是同一个文件"
  48. },
  49. "base": {
  50. "bsonType": "string",
  51. "description": "基础路径"
  52. },
  53. "create_time": {
  54. "bsonType": "timestamp",
  55. "description": "上传时间",
  56. "forceDefaultValue": {
  57. "$env": "now"
  58. }
  59. }
  60. }
  61. }