permission-object.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "type": "object",
  3. "minProperties": 1,
  4. "properties": {
  5. "visibility": {
  6. "type": "string",
  7. "description": "Visibility Type",
  8. "enum": ["all", "user"],
  9. "example": "all"
  10. },
  11. "access_lists": {
  12. "type": "string",
  13. "description": "Access Lists Permissions",
  14. "enum": ["hidden", "view", "manage"],
  15. "example": "view"
  16. },
  17. "dead_hosts": {
  18. "type": "string",
  19. "description": "404 Hosts Permissions",
  20. "enum": ["hidden", "view", "manage"],
  21. "example": "manage"
  22. },
  23. "proxy_hosts": {
  24. "type": "string",
  25. "description": "Proxy Hosts Permissions",
  26. "enum": ["hidden", "view", "manage"],
  27. "example": "hidden"
  28. },
  29. "redirection_hosts": {
  30. "type": "string",
  31. "description": "Redirection Permissions",
  32. "enum": ["hidden", "view", "manage"],
  33. "example": "view"
  34. },
  35. "streams": {
  36. "type": "string",
  37. "description": "Streams Permissions",
  38. "enum": ["hidden", "view", "manage"],
  39. "example": "manage"
  40. },
  41. "certificates": {
  42. "type": "string",
  43. "description": "Certificates Permissions",
  44. "enum": ["hidden", "view", "manage"],
  45. "example": "hidden"
  46. }
  47. }
  48. }