event.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. {
  2. "Event": {
  3. "type": "object",
  4. "required": [
  5. "eventID",
  6. "tags",
  7. "dateCreated",
  8. "user",
  9. "message",
  10. "id",
  11. "platform",
  12. "event.type",
  13. "groupID",
  14. "title"
  15. ],
  16. "properties": {
  17. "eventID": {
  18. "type": "string"
  19. },
  20. "tags": {
  21. "type": "array",
  22. "items": {
  23. "type": "object",
  24. "properties": {
  25. "value": {
  26. "type": "string"
  27. },
  28. "key": {
  29. "type": "string"
  30. }
  31. }
  32. }
  33. },
  34. "dateCreated": {
  35. "type": "string"
  36. },
  37. "user": {
  38. "$ref": "users.json#/EventUser"
  39. },
  40. "message": {
  41. "type": "string"
  42. },
  43. "id": {
  44. "type": "string"
  45. },
  46. "platform": {
  47. "type": "string"
  48. },
  49. "event.type": {
  50. "type": "string"
  51. },
  52. "groupID": {
  53. "type": "string"
  54. },
  55. "title": {
  56. "type": "string"
  57. }
  58. }
  59. },
  60. "EventDetailed": {
  61. "type": "object",
  62. "required": [
  63. "eventID",
  64. "dist",
  65. "userReport",
  66. "previousEventID",
  67. "message",
  68. "id",
  69. "size",
  70. "errors",
  71. "platform",
  72. "nextEventID",
  73. "type",
  74. "metadata",
  75. "tags",
  76. "dateCreated",
  77. "dateReceived",
  78. "user",
  79. "entries",
  80. "packages",
  81. "sdk",
  82. "_meta",
  83. "contexts",
  84. "fingerprints",
  85. "context",
  86. "release",
  87. "groupID",
  88. "title"
  89. ],
  90. "properties": {
  91. "eventID": {
  92. "type": "string"
  93. },
  94. "dist": {
  95. "type": "string",
  96. "nullable": true
  97. },
  98. "userReport": {
  99. "type": "object",
  100. "nullable": true
  101. },
  102. "previousEventID": {
  103. "type": "string",
  104. "nullable": true
  105. },
  106. "message": {
  107. "type": "string"
  108. },
  109. "id": {
  110. "type": "string"
  111. },
  112. "size": {
  113. "type": "integer"
  114. },
  115. "errors": {
  116. "type": "array",
  117. "items": {
  118. "type": "object",
  119. "properties": {
  120. "message": {
  121. "type": "string"
  122. },
  123. "type": {
  124. "type": "string"
  125. },
  126. "data": {
  127. "type": "object"
  128. }
  129. }
  130. }
  131. },
  132. "platform": {
  133. "type": "string"
  134. },
  135. "nextEventID": {
  136. "type": "string",
  137. "nullable": true
  138. },
  139. "type": {
  140. "type": "string"
  141. },
  142. "metadata": {
  143. "oneOf": [
  144. {
  145. "type": "object",
  146. "required": ["type", "value"],
  147. "properties": {
  148. "type": {
  149. "type": "string"
  150. },
  151. "value": {
  152. "type": "string"
  153. }
  154. }
  155. },
  156. {
  157. "type": "object",
  158. "required": ["title"],
  159. "properties": {
  160. "title": {
  161. "type": "string"
  162. }
  163. }
  164. }
  165. ]
  166. },
  167. "tags": {
  168. "type": "array",
  169. "items": {
  170. "type": "object",
  171. "properties": {
  172. "value": {
  173. "type": "string"
  174. },
  175. "key": {
  176. "type": "string"
  177. },
  178. "_meta": {
  179. "type": "string",
  180. "nullable": true
  181. }
  182. }
  183. }
  184. },
  185. "dateCreated": {
  186. "type": "string"
  187. },
  188. "dateReceived": {
  189. "type": "string"
  190. },
  191. "user": {
  192. "$ref": "users.json#/EventUser"
  193. },
  194. "entries": {
  195. "type": "array",
  196. "items": {
  197. "anyOf": [
  198. {
  199. "$ref": "entries.json#/Breadcrumbs"
  200. },
  201. {
  202. "$ref": "entries.json#/Request"
  203. },
  204. {
  205. "$ref": "entries.json#/Message"
  206. },
  207. {
  208. "$ref": "entries.json#/Exception"
  209. }
  210. ]
  211. }
  212. },
  213. "packages": {
  214. "type": "object"
  215. },
  216. "sdk": {
  217. "type": "object",
  218. "properties": {
  219. "version": {
  220. "type": "string"
  221. },
  222. "name": {
  223. "type": "string"
  224. }
  225. }
  226. },
  227. "_meta": {
  228. "type": "object",
  229. "properties": {
  230. "user": {
  231. "type": "string",
  232. "nullable": true
  233. },
  234. "context": {
  235. "type": "string",
  236. "nullable": true
  237. },
  238. "entries": {
  239. "type": "object"
  240. },
  241. "contexts": {
  242. "type": "string",
  243. "nullable": true
  244. },
  245. "message": {
  246. "type": "string",
  247. "nullable": true
  248. },
  249. "packages": {
  250. "type": "string",
  251. "nullable": true
  252. },
  253. "tags": {
  254. "type": "object"
  255. },
  256. "sdk": {
  257. "type": "string",
  258. "nullable": true
  259. }
  260. }
  261. },
  262. "contexts": {
  263. "type": "object"
  264. },
  265. "fingerprints": {
  266. "type": "array",
  267. "items": {
  268. "type": "string"
  269. }
  270. },
  271. "context": {
  272. "type": "object"
  273. },
  274. "release": {
  275. "type": "object",
  276. "nullable": true,
  277. "oneOf": [
  278. {
  279. "$ref": "releases/organization-release.json#/OrganizationRelease"
  280. },
  281. {
  282. "$ref": "null.json#/NullValue"
  283. }
  284. ]
  285. },
  286. "groupID": {
  287. "type": "string"
  288. },
  289. "title": {
  290. "type": "string"
  291. }
  292. }
  293. },
  294. "Hash": {
  295. "type": "object",
  296. "required": [
  297. "eventID",
  298. "dist",
  299. "message",
  300. "id",
  301. "size",
  302. "errors",
  303. "platform",
  304. "type",
  305. "metadata",
  306. "tags",
  307. "dateCreated",
  308. "dateReceived",
  309. "user",
  310. "entries",
  311. "packages",
  312. "sdk",
  313. "_meta",
  314. "contexts",
  315. "fingerprints",
  316. "context",
  317. "groupID",
  318. "title"
  319. ],
  320. "properties": {
  321. "eventID": {
  322. "type": "string"
  323. },
  324. "dist": {
  325. "type": "string",
  326. "nullable": true
  327. },
  328. "message": {
  329. "type": "string"
  330. },
  331. "id": {
  332. "type": "string"
  333. },
  334. "size": {
  335. "type": "integer"
  336. },
  337. "errors": {
  338. "type": "array",
  339. "items": {
  340. "type": "object",
  341. "properties": {
  342. "message": {
  343. "type": "string"
  344. },
  345. "type": {
  346. "type": "string"
  347. },
  348. "data": {
  349. "type": "object"
  350. }
  351. }
  352. }
  353. },
  354. "platform": {
  355. "type": "string"
  356. },
  357. "type": {
  358. "type": "string"
  359. },
  360. "metadata": {
  361. "oneOf": [
  362. {
  363. "type": "object",
  364. "required": ["type", "value"],
  365. "properties": {
  366. "type": {
  367. "type": "string"
  368. },
  369. "value": {
  370. "type": "string"
  371. }
  372. }
  373. },
  374. {
  375. "type": "object",
  376. "required": ["title"],
  377. "properties": {
  378. "title": {
  379. "type": "string"
  380. }
  381. }
  382. }
  383. ]
  384. },
  385. "tags": {
  386. "type": "array",
  387. "items": {
  388. "type": "object",
  389. "properties": {
  390. "value": {
  391. "type": "string"
  392. },
  393. "key": {
  394. "type": "string"
  395. },
  396. "_meta": {
  397. "type": "string",
  398. "nullable": true
  399. }
  400. }
  401. }
  402. },
  403. "dateCreated": {
  404. "type": "string"
  405. },
  406. "dateReceived": {
  407. "type": "string"
  408. },
  409. "user": {
  410. "$ref": "users.json#/EventUser"
  411. },
  412. "entries": {
  413. "type": "array",
  414. "items": {
  415. "anyOf": [
  416. {
  417. "$ref": "entries.json#/Breadcrumbs"
  418. },
  419. {
  420. "$ref": "entries.json#/Request"
  421. },
  422. {
  423. "$ref": "entries.json#/Message"
  424. },
  425. {
  426. "$ref": "entries.json#/Exception"
  427. }
  428. ]
  429. }
  430. },
  431. "packages": {
  432. "type": "object"
  433. },
  434. "sdk": {
  435. "type": "object",
  436. "properties": {
  437. "version": {
  438. "type": "string"
  439. },
  440. "name": {
  441. "type": "string"
  442. }
  443. }
  444. },
  445. "_meta": {
  446. "type": "object",
  447. "properties": {
  448. "user": {
  449. "type": "string",
  450. "nullable": true
  451. },
  452. "context": {
  453. "type": "string",
  454. "nullable": true
  455. },
  456. "entries": {
  457. "type": "object"
  458. },
  459. "contexts": {
  460. "type": "string",
  461. "nullable": true
  462. },
  463. "message": {
  464. "type": "string",
  465. "nullable": true
  466. },
  467. "packages": {
  468. "type": "string",
  469. "nullable": true
  470. },
  471. "tags": {
  472. "type": "object"
  473. },
  474. "sdk": {
  475. "type": "string",
  476. "nullable": true
  477. }
  478. }
  479. },
  480. "contexts": {
  481. "type": "object"
  482. },
  483. "fingerprints": {
  484. "type": "array",
  485. "items": {
  486. "type": "string"
  487. }
  488. },
  489. "context": {
  490. "type": "object"
  491. },
  492. "groupID": {
  493. "type": "string"
  494. },
  495. "title": {
  496. "type": "string"
  497. }
  498. }
  499. },
  500. "OrganizationEvent": {
  501. "type": "object",
  502. "required": [
  503. "_meta",
  504. "context",
  505. "contexts",
  506. "dateCreated",
  507. "dateReceived",
  508. "dist",
  509. "entries",
  510. "errors",
  511. "eventID",
  512. "fingerprints",
  513. "groupID",
  514. "id",
  515. "message",
  516. "metadata",
  517. "packages",
  518. "platform",
  519. "sdk",
  520. "size",
  521. "tags",
  522. "type",
  523. "user",
  524. "title"
  525. ],
  526. "properties": {
  527. "_meta": {
  528. "type": "object",
  529. "properties": {
  530. "context": {
  531. "type": "string",
  532. "nullable": true
  533. },
  534. "contexts": {
  535. "type": "object",
  536. "nullable": true
  537. },
  538. "entries": {
  539. "type": "object"
  540. },
  541. "message": {
  542. "type": "string",
  543. "nullable": true
  544. },
  545. "packages": {
  546. "type": "string",
  547. "nullable": true
  548. },
  549. "sdk": {
  550. "type": "string",
  551. "nullable": true
  552. },
  553. "tags": {
  554. "type": "object"
  555. },
  556. "user": {
  557. "type": "string",
  558. "nullable": true
  559. }
  560. }
  561. },
  562. "context": {
  563. "type": "object",
  564. "properties": {
  565. "length": {
  566. "type": "integer"
  567. },
  568. "results": {
  569. "type": "array",
  570. "items": {
  571. "type": "integer"
  572. }
  573. },
  574. "session": {
  575. "type": "object",
  576. "properties": {
  577. "foo": {
  578. "type": "string"
  579. }
  580. }
  581. },
  582. "unauthorized": {
  583. "type": "boolean"
  584. },
  585. "url": {
  586. "type": "string"
  587. }
  588. }
  589. },
  590. "contexts": {
  591. "type": "object"
  592. },
  593. "dateCreated": {
  594. "type": "string"
  595. },
  596. "dateReceived": {
  597. "type": "string"
  598. },
  599. "dist": {
  600. "type": "string",
  601. "nullable": true
  602. },
  603. "entries": {
  604. "type": "array",
  605. "items": {
  606. "anyOf": [
  607. {
  608. "$ref": "entries.json#/Breadcrumbs"
  609. },
  610. {
  611. "$ref": "entries.json#/Request"
  612. },
  613. {
  614. "$ref": "entries.json#/Message"
  615. },
  616. {
  617. "$ref": "entries.json#/Exception"
  618. }
  619. ]
  620. }
  621. },
  622. "errors": {
  623. "type": "array",
  624. "items": {
  625. "type": "object",
  626. "properties": {
  627. "message": {
  628. "type": "string"
  629. },
  630. "type": {
  631. "type": "string"
  632. },
  633. "data": {
  634. "type": "object"
  635. }
  636. }
  637. }
  638. },
  639. "eventID": {
  640. "type": "string"
  641. },
  642. "fingerprints": {
  643. "type": "array",
  644. "items": {
  645. "type": "string"
  646. }
  647. },
  648. "groupID": {
  649. "type": "string"
  650. },
  651. "id": {
  652. "type": "string"
  653. },
  654. "message": {
  655. "type": "string"
  656. },
  657. "metadata": {
  658. "type": "object",
  659. "properties": {
  660. "title": {
  661. "type": "string"
  662. }
  663. }
  664. },
  665. "packages": {
  666. "type": "object",
  667. "properties": {
  668. "my.package": {
  669. "type": "string"
  670. }
  671. }
  672. },
  673. "platform": {
  674. "type": "string"
  675. },
  676. "sdk": {
  677. "type": "object",
  678. "nullable": true
  679. },
  680. "size": {
  681. "type": "integer"
  682. },
  683. "tags": {
  684. "type": "array",
  685. "items": {
  686. "type": "object",
  687. "properties": {
  688. "_meta": {
  689. "type": "string",
  690. "nullable": true
  691. },
  692. "key": {
  693. "type": "string"
  694. },
  695. "value": {
  696. "type": "string"
  697. }
  698. }
  699. }
  700. },
  701. "type": {
  702. "type": "string"
  703. },
  704. "user": {
  705. "$ref": "users.json#/EventUser"
  706. },
  707. "title": {
  708. "type": "string"
  709. }
  710. }
  711. }
  712. }