organization-details.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. {
  2. "OrganizationDetails": {
  3. "type": "object",
  4. "required": [
  5. "access",
  6. "allowSharedIssues",
  7. "availableRoles",
  8. "avatar",
  9. "dataScrubber",
  10. "dataScrubberDefaults",
  11. "dateCreated",
  12. "defaultRole",
  13. "enhancedPrivacy",
  14. "experiments",
  15. "features",
  16. "id",
  17. "isDefault",
  18. "isEarlyAdopter",
  19. "name",
  20. "onboardingTasks",
  21. "openMembership",
  22. "pendingAccessRequests",
  23. "projects",
  24. "quota",
  25. "require2FA",
  26. "safeFields",
  27. "scrapeJavaScript",
  28. "scrubIPAddresses",
  29. "sensitiveFields",
  30. "slug",
  31. "status",
  32. "storeCrashReports",
  33. "teams",
  34. "trustedRelays"
  35. ],
  36. "properties": {
  37. "access": {
  38. "type": "array",
  39. "items": {
  40. "type": "string"
  41. }
  42. },
  43. "allowSharedIssues": {
  44. "type": "boolean"
  45. },
  46. "availableRoles": {
  47. "type": "array",
  48. "items": {
  49. "type": "object",
  50. "properties": {
  51. "id": {
  52. "type": "string"
  53. },
  54. "name": {
  55. "type": "string"
  56. }
  57. }
  58. }
  59. },
  60. "avatar": {
  61. "$ref": "avatar.json#/Avatar"
  62. },
  63. "dataScrubber": {
  64. "type": "boolean"
  65. },
  66. "dataScrubberDefaults": {
  67. "type": "boolean"
  68. },
  69. "dateCreated": {
  70. "type": "string",
  71. "format": "date-time"
  72. },
  73. "defaultRole": {
  74. "type": "string"
  75. },
  76. "enhancedPrivacy": {
  77. "type": "boolean"
  78. },
  79. "experiments": {
  80. "type": "object"
  81. },
  82. "features": {
  83. "type": "array",
  84. "items": {
  85. "type": "string"
  86. }
  87. },
  88. "id": {
  89. "type": "string"
  90. },
  91. "isDefault": {
  92. "type": "boolean"
  93. },
  94. "isEarlyAdopter": {
  95. "type": "boolean"
  96. },
  97. "name": {
  98. "type": "string"
  99. },
  100. "onboardingTasks": {
  101. "type": "array",
  102. "items": {
  103. "type": "object",
  104. "properties": {
  105. "data": {
  106. "type": "object",
  107. "nullable": true
  108. },
  109. "dateCompleted": {
  110. "type": "string",
  111. "format": "date-time"
  112. },
  113. "status": {
  114. "type": "string"
  115. },
  116. "task": {
  117. "type": "integer"
  118. },
  119. "user": {
  120. "type": "string",
  121. "nullable": true
  122. }
  123. }
  124. }
  125. },
  126. "openMembership": {
  127. "type": "boolean"
  128. },
  129. "pendingAccessRequests": {
  130. "type": "integer",
  131. "format": "int64"
  132. },
  133. "projects": {
  134. "type": "array",
  135. "items": {
  136. "$ref": "project.json#/OrganizationProjects"
  137. }
  138. },
  139. "quota": {
  140. "type": "object",
  141. "properties": {
  142. "accountLimit": {
  143. "type": "integer",
  144. "format": "int64"
  145. },
  146. "maxRate": {
  147. "type": "integer",
  148. "format": "int64",
  149. "nullable": true
  150. },
  151. "maxRateInterval": {
  152. "type": "integer",
  153. "format": "int64"
  154. },
  155. "projectLimit": {
  156. "type": "integer",
  157. "format": "int64"
  158. }
  159. }
  160. },
  161. "require2FA": {
  162. "type": "boolean"
  163. },
  164. "safeFields": {
  165. "type": "array",
  166. "items": {
  167. "type": "string"
  168. }
  169. },
  170. "scrapeJavaScript": {
  171. "type": "boolean"
  172. },
  173. "scrubIPAddresses": {
  174. "type": "boolean"
  175. },
  176. "sensitiveFields": {
  177. "type": "array",
  178. "items": {
  179. "type": "string"
  180. }
  181. },
  182. "slug": {
  183. "type": "string"
  184. },
  185. "status": {
  186. "type": "object",
  187. "properties": {
  188. "id": {
  189. "type": "string"
  190. },
  191. "name": {
  192. "type": "string"
  193. }
  194. }
  195. },
  196. "storeCrashReports": {
  197. "type": "integer",
  198. "format": "int64"
  199. },
  200. "teams": {
  201. "type": "array",
  202. "items": {
  203. "$ref": "team.json#/Team"
  204. }
  205. },
  206. "trustedRelays": {
  207. "type": "array",
  208. "items": {
  209. "type": "string"
  210. }
  211. }
  212. }
  213. }
  214. }