uni-stat-pages.schema.json 878 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // 应用页面表
  2. {
  3. "bsonType": "object",
  4. "description": "提供应用的页面字典",
  5. "required": [],
  6. "permission": {
  7. "read": "'READ_UNI_STAT_PAGES' 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. "path": {
  22. "bsonType": "string",
  23. "description": "页面路径,如`\/pages\/index\/index`"
  24. },
  25. "title": {
  26. "bsonType": "string",
  27. "description": "页面标题"
  28. },
  29. "page_rules": {
  30. "bsonType": "array",
  31. "description": "页面规则,每个页面最多设置5个,例:[['id','page'],['sid']]"
  32. },
  33. "create_time": {
  34. "bsonType": "timestamp",
  35. "description": "创建时间"
  36. }
  37. }
  38. }