project.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. {
  2. "Project": {
  3. "type": "object",
  4. "required": [
  5. "avatar",
  6. "color",
  7. "dateCreated",
  8. "features",
  9. "firstEvent",
  10. "hasAccess",
  11. "id",
  12. "isBookmarked",
  13. "isInternal",
  14. "isMember",
  15. "isPublic",
  16. "name",
  17. "platform",
  18. "slug",
  19. "status"
  20. ],
  21. "properties": {
  22. "avatar": {
  23. "$ref": "avatar.json#/Avatar"
  24. },
  25. "color": {
  26. "type": "string"
  27. },
  28. "dateCreated": {
  29. "type": "string",
  30. "format": "date-time"
  31. },
  32. "features": {
  33. "type": "array",
  34. "items": {
  35. "type": "string"
  36. }
  37. },
  38. "firstEvent": {
  39. "type": "string",
  40. "nullable": true
  41. },
  42. "hasAccess": {
  43. "type": "boolean"
  44. },
  45. "id": {
  46. "type": "string"
  47. },
  48. "isBookmarked": {
  49. "type": "boolean"
  50. },
  51. "isInternal": {
  52. "type": "boolean"
  53. },
  54. "isMember": {
  55. "type": "boolean"
  56. },
  57. "isPublic": {
  58. "type": "boolean"
  59. },
  60. "name": {
  61. "type": "string"
  62. },
  63. "platform": {
  64. "type": "string",
  65. "nullable": true
  66. },
  67. "slug": {
  68. "type": "string"
  69. },
  70. "status": {
  71. "type": "string",
  72. "enum": [
  73. "active",
  74. "disabled",
  75. "pending_deletion",
  76. "deletion_in_progress"
  77. ]
  78. }
  79. }
  80. },
  81. "TeamProjects": {
  82. "type": "object",
  83. "required": [
  84. "dateCreated",
  85. "features",
  86. "firstEvent",
  87. "hasAccess",
  88. "id",
  89. "isBookmarked",
  90. "isMember",
  91. "name",
  92. "platform",
  93. "slug",
  94. "team",
  95. "teams",
  96. "latestDeploys"
  97. ],
  98. "properties": {
  99. "dateCreated": {
  100. "type": "string",
  101. "format": "date-time"
  102. },
  103. "features": {
  104. "type": "array",
  105. "items": {
  106. "type": "string"
  107. }
  108. },
  109. "firstEvent": {
  110. "type": "string",
  111. "nullable": true
  112. },
  113. "hasAccess": {
  114. "type": "boolean"
  115. },
  116. "id": {
  117. "type": "string"
  118. },
  119. "isBookmarked": {
  120. "type": "boolean"
  121. },
  122. "isMember": {
  123. "type": "boolean"
  124. },
  125. "name": {
  126. "type": "string"
  127. },
  128. "platform": {
  129. "type": "string",
  130. "nullable": true
  131. },
  132. "slug": {
  133. "type": "string"
  134. },
  135. "team": {
  136. "$ref": "team.json#/TeamMinimal"
  137. },
  138. "teams": {
  139. "type": "array",
  140. "items": {
  141. "$ref": "team.json#/TeamMinimal"
  142. }
  143. },
  144. "latestDeploys": {
  145. "type": "string",
  146. "nullable": true
  147. }
  148. }
  149. },
  150. "OrganizationProjects": {
  151. "type": "object",
  152. "required": [
  153. "dateCreated",
  154. "firstEvent",
  155. "hasAccess",
  156. "id",
  157. "isBookmarked",
  158. "isMember",
  159. "latestDeploys",
  160. "name",
  161. "platform",
  162. "platforms",
  163. "slug",
  164. "team",
  165. "teams"
  166. ],
  167. "properties": {
  168. "dateCreated": {
  169. "type": "string"
  170. },
  171. "firstEvent": {
  172. "type": "string",
  173. "nullable": true
  174. },
  175. "hasAccess": {
  176. "type": "boolean"
  177. },
  178. "id": {
  179. "type": "string"
  180. },
  181. "isBookmarked": {
  182. "type": "boolean"
  183. },
  184. "isMember": {
  185. "type": "boolean"
  186. },
  187. "latestDeploys": {
  188. "type": "string",
  189. "nullable": true
  190. },
  191. "name": {
  192. "type": "string"
  193. },
  194. "platform": {
  195. "type": "string",
  196. "nullable": true
  197. },
  198. "platforms": {
  199. "type": "array",
  200. "items": {
  201. "type": "string"
  202. }
  203. },
  204. "slug": {
  205. "type": "string"
  206. },
  207. "team": {
  208. "type": "object",
  209. "nullable": true,
  210. "oneOf": [
  211. {
  212. "$ref": "team.json#/TeamMinimal"
  213. },
  214. {
  215. "$ref": "null.json#/NullValue"
  216. }
  217. ]
  218. },
  219. "teams": {
  220. "type": "array",
  221. "items": {
  222. "$ref": "team.json#/TeamMinimal"
  223. }
  224. }
  225. }
  226. },
  227. "DetailedProject": {
  228. "type": "object",
  229. "required": [
  230. "allowedDomains",
  231. "avatar",
  232. "color",
  233. "dataScrubber",
  234. "dataScrubberDefaults",
  235. "dateCreated",
  236. "defaultEnvironment",
  237. "digestsMaxDelay",
  238. "digestsMinDelay",
  239. "features",
  240. "firstEvent",
  241. "hasAccess",
  242. "id",
  243. "isBookmarked",
  244. "isInternal",
  245. "isMember",
  246. "isPublic",
  247. "latestRelease",
  248. "name",
  249. "options",
  250. "organization",
  251. "platform",
  252. "platforms",
  253. "processingIssues",
  254. "relayPiiConfig",
  255. "resolveAge",
  256. "safeFields",
  257. "scrapeJavaScript",
  258. "scrubIPAddresses",
  259. "securityToken",
  260. "securityTokenHeader",
  261. "sensitiveFields",
  262. "slug",
  263. "status",
  264. "storeCrashReports",
  265. "subjectPrefix",
  266. "subjectTemplate",
  267. "team",
  268. "teams",
  269. "verifySSL"
  270. ],
  271. "properties": {
  272. "allowedDomains": {
  273. "type": "array",
  274. "items": {
  275. "type": "string"
  276. }
  277. },
  278. "avatar": {
  279. "type": "object",
  280. "properties": {
  281. "avatarType": {
  282. "type": "string"
  283. },
  284. "avatarUuid": {
  285. "type": "string",
  286. "nullable": true
  287. }
  288. }
  289. },
  290. "color": {
  291. "type": "string"
  292. },
  293. "dataScrubber": {
  294. "type": "boolean"
  295. },
  296. "dataScrubberDefaults": {
  297. "type": "boolean"
  298. },
  299. "dateCreated": {
  300. "type": "string"
  301. },
  302. "defaultEnvironment": {
  303. "type": "string",
  304. "nullable": true
  305. },
  306. "digestsMaxDelay": {
  307. "type": "integer"
  308. },
  309. "digestsMinDelay": {
  310. "type": "integer"
  311. },
  312. "features": {
  313. "type": "array",
  314. "items": {
  315. "type": "string"
  316. }
  317. },
  318. "firstEvent": {
  319. "type": "string",
  320. "nullable": true
  321. },
  322. "hasAccess": {
  323. "type": "boolean"
  324. },
  325. "id": {
  326. "type": "string"
  327. },
  328. "isBookmarked": {
  329. "type": "boolean"
  330. },
  331. "isInternal": {
  332. "type": "boolean"
  333. },
  334. "isMember": {
  335. "type": "boolean"
  336. },
  337. "isPublic": {
  338. "type": "boolean"
  339. },
  340. "latestRelease": {
  341. "type": "object",
  342. "nullable": true,
  343. "required": [
  344. "authors",
  345. "commitCount",
  346. "data",
  347. "dateCreated",
  348. "dateReleased",
  349. "deployCount",
  350. "firstEvent",
  351. "lastCommit",
  352. "lastDeploy",
  353. "lastEvent",
  354. "newGroups",
  355. "owner",
  356. "projects",
  357. "ref",
  358. "shortVersion",
  359. "url",
  360. "version"
  361. ],
  362. "properties": {
  363. "authors": {
  364. "type": "array",
  365. "items": {
  366. "type": "object",
  367. "properties": {
  368. "name": {
  369. "type": "string"
  370. },
  371. "email": {
  372. "type": "string"
  373. }
  374. }
  375. }
  376. },
  377. "commitCount": {
  378. "type": "integer"
  379. },
  380. "data": {
  381. "type": "object"
  382. },
  383. "dateCreated": {
  384. "type": "string"
  385. },
  386. "dateReleased": {
  387. "type": "string",
  388. "nullable": true
  389. },
  390. "deployCount": {
  391. "type": "integer"
  392. },
  393. "firstEvent": {
  394. "type": "string",
  395. "nullable": true
  396. },
  397. "lastCommit": {
  398. "type": "object",
  399. "nullable": true
  400. },
  401. "lastDeploy": {
  402. "type": "object",
  403. "nullable": true
  404. },
  405. "lastEvent": {
  406. "type": "string",
  407. "nullable": true
  408. },
  409. "newGroups": {
  410. "type": "integer"
  411. },
  412. "owner": {
  413. "type": "string",
  414. "nullable": true
  415. },
  416. "projects": {
  417. "type": "array",
  418. "items": {
  419. "type": "object",
  420. "properties": {
  421. "name": {
  422. "type": "string"
  423. },
  424. "slug": {
  425. "type": "string"
  426. }
  427. }
  428. }
  429. },
  430. "ref": {
  431. "type": "string",
  432. "nullable": true
  433. },
  434. "shortVersion": {
  435. "type": "string"
  436. },
  437. "url": {
  438. "type": "string",
  439. "nullable": true
  440. },
  441. "version": {
  442. "type": "string"
  443. }
  444. }
  445. },
  446. "name": {
  447. "type": "string"
  448. },
  449. "options": {
  450. "type": "object",
  451. "properties": {
  452. "feedback:branding": {
  453. "type": "boolean"
  454. },
  455. "filters:blacklisted_ips": {
  456. "type": "string"
  457. },
  458. "filters:error_messages": {
  459. "type": "string"
  460. },
  461. "filters:releases": {
  462. "type": "string"
  463. },
  464. "sentry:csp_ignored_sources": {
  465. "type": "string"
  466. },
  467. "sentry:csp_ignored_sources_defaults": {
  468. "type": "boolean"
  469. },
  470. "sentry:reprocessing_active": {
  471. "type": "boolean"
  472. }
  473. }
  474. },
  475. "organization": {
  476. "$ref": "organization.json#/Organization"
  477. },
  478. "platform": {
  479. "type": "string",
  480. "nullable": true
  481. },
  482. "platforms": {
  483. "type": "array",
  484. "items": {
  485. "type": "string"
  486. }
  487. },
  488. "plugins": {
  489. "type": "array",
  490. "items": {
  491. "$ref": "plugin.json#/Plugin"
  492. }
  493. },
  494. "processingIssues": {
  495. "type": "integer"
  496. },
  497. "relayPiiConfig": {
  498. "type": "string",
  499. "nullable": true
  500. },
  501. "resolveAge": {
  502. "type": "integer"
  503. },
  504. "safeFields": {
  505. "type": "array",
  506. "items": {
  507. "type": "string"
  508. }
  509. },
  510. "scrapeJavaScript": {
  511. "type": "boolean"
  512. },
  513. "scrubIPAddresses": {
  514. "type": "boolean"
  515. },
  516. "securityToken": {
  517. "type": "string"
  518. },
  519. "securityTokenHeader": {
  520. "type": "string",
  521. "nullable": true
  522. },
  523. "sensitiveFields": {
  524. "type": "array",
  525. "items": {
  526. "type": "string"
  527. }
  528. },
  529. "slug": {
  530. "type": "string"
  531. },
  532. "status": {
  533. "type": "string"
  534. },
  535. "storeCrashReports": {
  536. "type": "boolean",
  537. "nullable": true
  538. },
  539. "subjectPrefix": {
  540. "type": "string"
  541. },
  542. "subjectTemplate": {
  543. "type": "string"
  544. },
  545. "team": {
  546. "$ref": "team.json#/TeamMinimal"
  547. },
  548. "teams": {
  549. "type": "array",
  550. "items": {
  551. "$ref": "team.json#/TeamMinimal"
  552. }
  553. },
  554. "verifySSL": {
  555. "type": "boolean"
  556. }
  557. }
  558. }
  559. }