project.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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. "allOf": [
  211. {
  212. "$ref": "team.json#/TeamMinimal"
  213. }
  214. ]
  215. },
  216. "teams": {
  217. "type": "array",
  218. "items": {
  219. "$ref": "team.json#/TeamMinimal"
  220. }
  221. }
  222. }
  223. },
  224. "DetailedProject": {
  225. "type": "object",
  226. "required": [
  227. "allowedDomains",
  228. "avatar",
  229. "color",
  230. "dataScrubber",
  231. "dataScrubberDefaults",
  232. "dateCreated",
  233. "defaultEnvironment",
  234. "digestsMaxDelay",
  235. "digestsMinDelay",
  236. "features",
  237. "firstEvent",
  238. "hasAccess",
  239. "id",
  240. "isBookmarked",
  241. "isInternal",
  242. "isMember",
  243. "isPublic",
  244. "latestRelease",
  245. "name",
  246. "options",
  247. "organization",
  248. "platform",
  249. "platforms",
  250. "processingIssues",
  251. "relayPiiConfig",
  252. "resolveAge",
  253. "safeFields",
  254. "scrapeJavaScript",
  255. "scrubIPAddresses",
  256. "securityToken",
  257. "securityTokenHeader",
  258. "sensitiveFields",
  259. "slug",
  260. "status",
  261. "storeCrashReports",
  262. "subjectPrefix",
  263. "subjectTemplate",
  264. "team",
  265. "teams",
  266. "verifySSL"
  267. ],
  268. "properties": {
  269. "allowedDomains": {
  270. "type": "array",
  271. "items": {
  272. "type": "string"
  273. }
  274. },
  275. "avatar": {
  276. "type": "object",
  277. "properties": {
  278. "avatarType": {
  279. "type": "string"
  280. },
  281. "avatarUuid": {
  282. "type": "string",
  283. "nullable": true
  284. }
  285. }
  286. },
  287. "color": {
  288. "type": "string"
  289. },
  290. "dataScrubber": {
  291. "type": "boolean"
  292. },
  293. "dataScrubberDefaults": {
  294. "type": "boolean"
  295. },
  296. "dateCreated": {
  297. "type": "string"
  298. },
  299. "defaultEnvironment": {
  300. "type": "string",
  301. "nullable": true
  302. },
  303. "digestsMaxDelay": {
  304. "type": "integer"
  305. },
  306. "digestsMinDelay": {
  307. "type": "integer"
  308. },
  309. "features": {
  310. "type": "array",
  311. "items": {
  312. "type": "string"
  313. }
  314. },
  315. "firstEvent": {
  316. "type": "string",
  317. "nullable": true
  318. },
  319. "hasAccess": {
  320. "type": "boolean"
  321. },
  322. "id": {
  323. "type": "string"
  324. },
  325. "isBookmarked": {
  326. "type": "boolean"
  327. },
  328. "isInternal": {
  329. "type": "boolean"
  330. },
  331. "isMember": {
  332. "type": "boolean"
  333. },
  334. "isPublic": {
  335. "type": "boolean"
  336. },
  337. "latestRelease": {
  338. "type": "object",
  339. "nullable": true,
  340. "required": [
  341. "authors",
  342. "commitCount",
  343. "data",
  344. "dateCreated",
  345. "dateReleased",
  346. "deployCount",
  347. "firstEvent",
  348. "lastCommit",
  349. "lastDeploy",
  350. "lastEvent",
  351. "newGroups",
  352. "owner",
  353. "projects",
  354. "ref",
  355. "shortVersion",
  356. "url",
  357. "version"
  358. ],
  359. "properties": {
  360. "authors": {
  361. "type": "array",
  362. "items": {
  363. "type": "object",
  364. "properties": {
  365. "name": {
  366. "type": "string"
  367. },
  368. "email": {
  369. "type": "string"
  370. }
  371. }
  372. }
  373. },
  374. "commitCount": {
  375. "type": "integer"
  376. },
  377. "data": {
  378. "type": "object"
  379. },
  380. "dateCreated": {
  381. "type": "string"
  382. },
  383. "dateReleased": {
  384. "type": "string",
  385. "nullable": true
  386. },
  387. "deployCount": {
  388. "type": "integer"
  389. },
  390. "firstEvent": {
  391. "type": "string",
  392. "nullable": true
  393. },
  394. "lastCommit": {
  395. "type": "object",
  396. "nullable": true
  397. },
  398. "lastDeploy": {
  399. "type": "object",
  400. "nullable": true
  401. },
  402. "lastEvent": {
  403. "type": "string",
  404. "nullable": true
  405. },
  406. "newGroups": {
  407. "type": "integer"
  408. },
  409. "owner": {
  410. "type": "string",
  411. "nullable": true
  412. },
  413. "projects": {
  414. "type": "array",
  415. "items": {
  416. "type": "object",
  417. "properties": {
  418. "name": {
  419. "type": "string"
  420. },
  421. "slug": {
  422. "type": "string"
  423. }
  424. }
  425. }
  426. },
  427. "ref": {
  428. "type": "string",
  429. "nullable": true
  430. },
  431. "shortVersion": {
  432. "type": "string"
  433. },
  434. "url": {
  435. "type": "string",
  436. "nullable": true
  437. },
  438. "version": {
  439. "type": "string"
  440. }
  441. }
  442. },
  443. "name": {
  444. "type": "string"
  445. },
  446. "options": {
  447. "type": "object",
  448. "properties": {
  449. "feedback:branding": {
  450. "type": "boolean"
  451. },
  452. "filters:blacklisted_ips": {
  453. "type": "string"
  454. },
  455. "filters:error_messages": {
  456. "type": "string"
  457. },
  458. "filters:releases": {
  459. "type": "string"
  460. },
  461. "sentry:csp_ignored_sources": {
  462. "type": "string"
  463. },
  464. "sentry:csp_ignored_sources_defaults": {
  465. "type": "boolean"
  466. }
  467. }
  468. },
  469. "organization": {
  470. "$ref": "organization.json#/Organization"
  471. },
  472. "platform": {
  473. "type": "string",
  474. "nullable": true
  475. },
  476. "platforms": {
  477. "type": "array",
  478. "items": {
  479. "type": "string"
  480. }
  481. },
  482. "plugins": {
  483. "type": "array",
  484. "items": {
  485. "$ref": "plugin.json#/Plugin"
  486. }
  487. },
  488. "processingIssues": {
  489. "type": "integer"
  490. },
  491. "relayPiiConfig": {
  492. "type": "string",
  493. "nullable": true
  494. },
  495. "resolveAge": {
  496. "type": "integer"
  497. },
  498. "safeFields": {
  499. "type": "array",
  500. "items": {
  501. "type": "string"
  502. }
  503. },
  504. "scrapeJavaScript": {
  505. "type": "boolean"
  506. },
  507. "scrubIPAddresses": {
  508. "type": "boolean"
  509. },
  510. "securityToken": {
  511. "type": "string"
  512. },
  513. "securityTokenHeader": {
  514. "type": "string",
  515. "nullable": true
  516. },
  517. "sensitiveFields": {
  518. "type": "array",
  519. "items": {
  520. "type": "string"
  521. }
  522. },
  523. "slug": {
  524. "type": "string"
  525. },
  526. "status": {
  527. "type": "string"
  528. },
  529. "storeCrashReports": {
  530. "type": "boolean",
  531. "nullable": true
  532. },
  533. "subjectPrefix": {
  534. "type": "string"
  535. },
  536. "subjectTemplate": {
  537. "type": "string"
  538. },
  539. "team": {
  540. "$ref": "team.json#/TeamMinimal"
  541. },
  542. "teams": {
  543. "type": "array",
  544. "items": {
  545. "$ref": "team.json#/TeamMinimal"
  546. }
  547. },
  548. "verifySSL": {
  549. "type": "boolean"
  550. }
  551. }
  552. }
  553. }