organization-details.json 4.3 KB

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