event.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  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. "properties": {
  129. "column": {
  130. "type": "integer"
  131. },
  132. "source": {
  133. "type": "string"
  134. },
  135. "row": {
  136. "type": "integer"
  137. }
  138. }
  139. }
  140. }
  141. }
  142. },
  143. "platform": {
  144. "type": "string"
  145. },
  146. "nextEventID": {
  147. "type": "string",
  148. "nullable": true
  149. },
  150. "type": {
  151. "type": "string"
  152. },
  153. "metadata": {
  154. "oneOf": [
  155. {
  156. "type": "object",
  157. "required": ["type", "value"],
  158. "properties": {
  159. "type": {
  160. "type": "string"
  161. },
  162. "value": {
  163. "type": "string"
  164. }
  165. }
  166. },
  167. {
  168. "type": "object",
  169. "required": ["title"],
  170. "properties": {
  171. "title": {
  172. "type": "string"
  173. }
  174. }
  175. }
  176. ]
  177. },
  178. "tags": {
  179. "type": "array",
  180. "items": {
  181. "type": "object",
  182. "properties": {
  183. "value": {
  184. "type": "string"
  185. },
  186. "key": {
  187. "type": "string"
  188. },
  189. "_meta": {
  190. "type": "string",
  191. "nullable": true
  192. }
  193. }
  194. }
  195. },
  196. "dateCreated": {
  197. "type": "string"
  198. },
  199. "dateReceived": {
  200. "type": "string"
  201. },
  202. "user": {
  203. "$ref": "users.json#/EventUser"
  204. },
  205. "entries": {
  206. "type": "array",
  207. "items": {
  208. "anyOf": [
  209. {
  210. "$ref": "entries.json#/Breadcrumbs"
  211. },
  212. {
  213. "$ref": "entries.json#/Request"
  214. },
  215. {
  216. "$ref": "entries.json#/Message"
  217. },
  218. {
  219. "$ref": "entries.json#/Exception"
  220. }
  221. ]
  222. }
  223. },
  224. "packages": {
  225. "type": "object"
  226. },
  227. "sdk": {
  228. "type": "object",
  229. "properties": {
  230. "version": {
  231. "type": "string"
  232. },
  233. "name": {
  234. "type": "string"
  235. }
  236. }
  237. },
  238. "_meta": {
  239. "type": "object",
  240. "properties": {
  241. "user": {
  242. "type": "string",
  243. "nullable": true
  244. },
  245. "context": {
  246. "type": "string",
  247. "nullable": true
  248. },
  249. "entries": {
  250. "type": "object"
  251. },
  252. "contexts": {
  253. "type": "string",
  254. "nullable": true
  255. },
  256. "message": {
  257. "type": "string",
  258. "nullable": true
  259. },
  260. "packages": {
  261. "type": "string",
  262. "nullable": true
  263. },
  264. "tags": {
  265. "type": "object"
  266. },
  267. "sdk": {
  268. "type": "string",
  269. "nullable": true
  270. }
  271. }
  272. },
  273. "contexts": {"$ref": "#/contexts"},
  274. "fingerprints": {
  275. "type": "array",
  276. "items": {
  277. "type": "string"
  278. }
  279. },
  280. "context": {"$ref": "#/context"},
  281. "release": {
  282. "type": "object",
  283. "nullable": true,
  284. "allOf": [
  285. {
  286. "$ref": "releases/organization-release.json#/OrganizationRelease"
  287. }
  288. ]
  289. },
  290. "groupID": {
  291. "type": "string"
  292. },
  293. "title": {
  294. "type": "string"
  295. }
  296. }
  297. },
  298. "Hash": {
  299. "type": "object",
  300. "required": [
  301. "eventID",
  302. "dist",
  303. "message",
  304. "id",
  305. "size",
  306. "errors",
  307. "platform",
  308. "type",
  309. "metadata",
  310. "tags",
  311. "dateCreated",
  312. "dateReceived",
  313. "user",
  314. "entries",
  315. "packages",
  316. "sdk",
  317. "_meta",
  318. "contexts",
  319. "fingerprints",
  320. "context",
  321. "groupID",
  322. "title"
  323. ],
  324. "properties": {
  325. "eventID": {
  326. "type": "string"
  327. },
  328. "dist": {
  329. "type": "string",
  330. "nullable": true
  331. },
  332. "message": {
  333. "type": "string"
  334. },
  335. "id": {
  336. "type": "string"
  337. },
  338. "size": {
  339. "type": "integer"
  340. },
  341. "errors": {
  342. "type": "array",
  343. "items": {
  344. "type": "object",
  345. "properties": {
  346. "message": {
  347. "type": "string"
  348. },
  349. "type": {
  350. "type": "string"
  351. },
  352. "data": {
  353. "type": "object",
  354. "properties": {
  355. "column": {
  356. "type": "integer"
  357. },
  358. "source": {
  359. "type": "string"
  360. },
  361. "row": {
  362. "type": "integer"
  363. }
  364. }
  365. }
  366. }
  367. }
  368. },
  369. "platform": {
  370. "type": "string"
  371. },
  372. "type": {
  373. "type": "string"
  374. },
  375. "metadata": {
  376. "oneOf": [
  377. {
  378. "type": "object",
  379. "required": ["type", "value"],
  380. "properties": {
  381. "type": {
  382. "type": "string"
  383. },
  384. "value": {
  385. "type": "string"
  386. }
  387. }
  388. },
  389. {
  390. "type": "object",
  391. "required": ["title"],
  392. "properties": {
  393. "title": {
  394. "type": "string"
  395. }
  396. }
  397. }
  398. ]
  399. },
  400. "tags": {
  401. "type": "array",
  402. "items": {
  403. "type": "object",
  404. "properties": {
  405. "value": {
  406. "type": "string"
  407. },
  408. "key": {
  409. "type": "string"
  410. },
  411. "_meta": {
  412. "type": "string",
  413. "nullable": true
  414. }
  415. }
  416. }
  417. },
  418. "dateCreated": {
  419. "type": "string"
  420. },
  421. "dateReceived": {
  422. "type": "string"
  423. },
  424. "user": {
  425. "$ref": "users.json#/EventUser"
  426. },
  427. "entries": {
  428. "type": "array",
  429. "items": {
  430. "anyOf": [
  431. {
  432. "$ref": "entries.json#/Breadcrumbs"
  433. },
  434. {
  435. "$ref": "entries.json#/Request"
  436. },
  437. {
  438. "$ref": "entries.json#/Message"
  439. },
  440. {
  441. "$ref": "entries.json#/Exception"
  442. }
  443. ]
  444. }
  445. },
  446. "packages": {
  447. "type": "object"
  448. },
  449. "sdk": {
  450. "type": "object",
  451. "properties": {
  452. "version": {
  453. "type": "string"
  454. },
  455. "name": {
  456. "type": "string"
  457. }
  458. }
  459. },
  460. "_meta": {
  461. "type": "object",
  462. "properties": {
  463. "user": {
  464. "type": "string",
  465. "nullable": true
  466. },
  467. "context": {
  468. "type": "string",
  469. "nullable": true
  470. },
  471. "entries": {
  472. "type": "object"
  473. },
  474. "contexts": {
  475. "type": "string",
  476. "nullable": true
  477. },
  478. "message": {
  479. "type": "string",
  480. "nullable": true
  481. },
  482. "packages": {
  483. "type": "string",
  484. "nullable": true
  485. },
  486. "tags": {
  487. "type": "object"
  488. },
  489. "sdk": {
  490. "type": "string",
  491. "nullable": true
  492. }
  493. }
  494. },
  495. "contexts": {"$ref": "#/contexts"},
  496. "fingerprints": {
  497. "type": "array",
  498. "items": {
  499. "type": "string"
  500. }
  501. },
  502. "context": {"$ref": "#/context"},
  503. "groupID": {
  504. "type": "string"
  505. },
  506. "title": {
  507. "type": "string"
  508. }
  509. }
  510. },
  511. "OrganizationEvent": {
  512. "type": "object",
  513. "required": [
  514. "_meta",
  515. "context",
  516. "contexts",
  517. "dateCreated",
  518. "dateReceived",
  519. "dist",
  520. "entries",
  521. "errors",
  522. "eventID",
  523. "fingerprints",
  524. "groupID",
  525. "id",
  526. "message",
  527. "metadata",
  528. "packages",
  529. "platform",
  530. "sdk",
  531. "size",
  532. "tags",
  533. "type",
  534. "user",
  535. "title"
  536. ],
  537. "properties": {
  538. "_meta": {
  539. "type": "object",
  540. "properties": {
  541. "context": {
  542. "type": "string",
  543. "nullable": true
  544. },
  545. "contexts": {
  546. "type": "object",
  547. "nullable": true
  548. },
  549. "entries": {
  550. "type": "object"
  551. },
  552. "message": {
  553. "type": "string",
  554. "nullable": true
  555. },
  556. "packages": {
  557. "type": "string",
  558. "nullable": true
  559. },
  560. "sdk": {
  561. "type": "string",
  562. "nullable": true
  563. },
  564. "tags": {
  565. "type": "object"
  566. },
  567. "user": {
  568. "type": "string",
  569. "nullable": true
  570. }
  571. }
  572. },
  573. "context": {
  574. "type": "object",
  575. "properties": {
  576. "length": {
  577. "type": "integer"
  578. },
  579. "results": {
  580. "type": "array",
  581. "items": {
  582. "type": "integer"
  583. }
  584. },
  585. "session": {
  586. "type": "object",
  587. "properties": {
  588. "foo": {
  589. "type": "string"
  590. }
  591. }
  592. },
  593. "unauthorized": {
  594. "type": "boolean"
  595. },
  596. "url": {
  597. "type": "string"
  598. }
  599. }
  600. },
  601. "contexts": {"$ref": "#/contexts"},
  602. "dateCreated": {
  603. "type": "string"
  604. },
  605. "dateReceived": {
  606. "type": "string"
  607. },
  608. "dist": {
  609. "type": "string",
  610. "nullable": true
  611. },
  612. "entries": {
  613. "type": "array",
  614. "items": {
  615. "anyOf": [
  616. {
  617. "$ref": "entries.json#/Breadcrumbs"
  618. },
  619. {
  620. "$ref": "entries.json#/Request"
  621. },
  622. {
  623. "$ref": "entries.json#/Message"
  624. },
  625. {
  626. "$ref": "entries.json#/Exception"
  627. }
  628. ]
  629. }
  630. },
  631. "errors": {
  632. "type": "array",
  633. "items": {
  634. "type": "object",
  635. "properties": {
  636. "message": {
  637. "type": "string"
  638. },
  639. "type": {
  640. "type": "string"
  641. },
  642. "data": {
  643. "type": "object"
  644. }
  645. }
  646. }
  647. },
  648. "eventID": {
  649. "type": "string"
  650. },
  651. "fingerprints": {
  652. "type": "array",
  653. "items": {
  654. "type": "string"
  655. }
  656. },
  657. "groupID": {
  658. "type": "string"
  659. },
  660. "id": {
  661. "type": "string"
  662. },
  663. "message": {
  664. "type": "string"
  665. },
  666. "metadata": {
  667. "type": "object",
  668. "properties": {
  669. "title": {
  670. "type": "string"
  671. }
  672. }
  673. },
  674. "packages": {
  675. "type": "object",
  676. "properties": {
  677. "my.package": {
  678. "type": "string"
  679. }
  680. }
  681. },
  682. "platform": {
  683. "type": "string"
  684. },
  685. "sdk": {
  686. "type": "object",
  687. "nullable": true
  688. },
  689. "size": {
  690. "type": "integer"
  691. },
  692. "tags": {
  693. "type": "array",
  694. "items": {
  695. "type": "object",
  696. "properties": {
  697. "_meta": {
  698. "type": "string",
  699. "nullable": true
  700. },
  701. "key": {
  702. "type": "string"
  703. },
  704. "value": {
  705. "type": "string"
  706. }
  707. }
  708. }
  709. },
  710. "type": {
  711. "type": "string"
  712. },
  713. "user": {
  714. "$ref": "users.json#/EventUser"
  715. },
  716. "title": {
  717. "type": "string"
  718. }
  719. }
  720. },
  721. "contexts": {
  722. "type": "object",
  723. "properties": {
  724. "ForbiddenError": {
  725. "type": "object",
  726. "properties": {
  727. "status": {
  728. "type": "integer"
  729. },
  730. "statusText": {
  731. "type": "string"
  732. },
  733. "responseJSON": {
  734. "type": "object",
  735. "properties": {
  736. "detail": {
  737. "type": "string"
  738. }
  739. }
  740. },
  741. "type": {
  742. "type": "string"
  743. }
  744. }
  745. },
  746. "browser": {
  747. "type": "object",
  748. "properties": {
  749. "version": {
  750. "type": "string"
  751. },
  752. "type": {
  753. "type": "string"
  754. },
  755. "name": {
  756. "type": "string"
  757. }
  758. }
  759. },
  760. "os": {
  761. "type": "object",
  762. "properties": {
  763. "version": {
  764. "type": "string"
  765. },
  766. "type": {
  767. "type": "string"
  768. },
  769. "name": {
  770. "type": "string"
  771. }
  772. }
  773. },
  774. "trace": {
  775. "type": "object",
  776. "properties": {
  777. "span_id": {
  778. "type": "string"
  779. },
  780. "type": {
  781. "type": "string"
  782. },
  783. "trace_id": {
  784. "type": "string"
  785. },
  786. "op": {
  787. "type": "string"
  788. }
  789. }
  790. },
  791. "organization": {
  792. "type": "object",
  793. "properties": {
  794. "type": {
  795. "type": "string"
  796. },
  797. "id": {
  798. "type": "string"
  799. },
  800. "slug": {
  801. "type": "string"
  802. }
  803. }
  804. }
  805. }
  806. },
  807. "context": {
  808. "type": "object",
  809. "properties": {
  810. "resp": {
  811. "type": "object",
  812. "properties": {
  813. "status": {
  814. "type": "integer"
  815. },
  816. "responseJSON": {
  817. "type": "object",
  818. "properties": {
  819. "detail": {
  820. "type": "string"
  821. }
  822. }
  823. },
  824. "name": {
  825. "type": "string"
  826. },
  827. "statusText": {
  828. "type": "string"
  829. },
  830. "message": {
  831. "type": "string"
  832. },
  833. "stack": {
  834. "type": "string"
  835. }
  836. }
  837. },
  838. "session": {
  839. "type": "object",
  840. "properties": {
  841. "foo": {
  842. "type": "string"
  843. }
  844. }
  845. },
  846. "unauthorized": {
  847. "type": "boolean"
  848. },
  849. "url": {
  850. "type": "string"
  851. }
  852. }
  853. }
  854. }