airbyte-source-github 1.5.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. airbyte_source_github-1.5.7.dist-info/METADATA +144 -0
  2. airbyte_source_github-1.5.7.dist-info/RECORD +88 -0
  3. airbyte_source_github-1.5.7.dist-info/WHEEL +5 -0
  4. airbyte_source_github-1.5.7.dist-info/entry_points.txt +2 -0
  5. airbyte_source_github-1.5.7.dist-info/top_level.txt +3 -0
  6. integration_tests/__init__.py +0 -0
  7. integration_tests/abnormal_state.json +237 -0
  8. integration_tests/acceptance.py +16 -0
  9. integration_tests/configured_catalog.json +435 -0
  10. integration_tests/configured_catalog_full_refresh_test.json +415 -0
  11. integration_tests/invalid_config.json +5 -0
  12. integration_tests/sample_config.json +5 -0
  13. integration_tests/sample_state.json +137 -0
  14. source_github/__init__.py +27 -0
  15. source_github/config_migrations.py +106 -0
  16. source_github/constants.py +9 -0
  17. source_github/github_schema.py +41034 -0
  18. source_github/graphql.py +327 -0
  19. source_github/run.py +17 -0
  20. source_github/schemas/assignees.json +63 -0
  21. source_github/schemas/branches.json +48 -0
  22. source_github/schemas/collaborators.json +80 -0
  23. source_github/schemas/comments.json +104 -0
  24. source_github/schemas/commit_comment_reactions.json +4 -0
  25. source_github/schemas/commit_comments.json +53 -0
  26. source_github/schemas/commits.json +126 -0
  27. source_github/schemas/contributor_activity.json +109 -0
  28. source_github/schemas/deployments.json +77 -0
  29. source_github/schemas/events.json +63 -0
  30. source_github/schemas/issue_comment_reactions.json +4 -0
  31. source_github/schemas/issue_events.json +335 -0
  32. source_github/schemas/issue_labels.json +30 -0
  33. source_github/schemas/issue_milestones.json +61 -0
  34. source_github/schemas/issue_reactions.json +28 -0
  35. source_github/schemas/issue_timeline_events.json +1056 -0
  36. source_github/schemas/issues.json +281 -0
  37. source_github/schemas/organizations.json +197 -0
  38. source_github/schemas/project_cards.json +50 -0
  39. source_github/schemas/project_columns.json +38 -0
  40. source_github/schemas/projects.json +50 -0
  41. source_github/schemas/projects_v2.json +80 -0
  42. source_github/schemas/pull_request_comment_reactions.json +28 -0
  43. source_github/schemas/pull_request_commits.json +122 -0
  44. source_github/schemas/pull_request_stats.json +84 -0
  45. source_github/schemas/pull_requests.json +363 -0
  46. source_github/schemas/releases.json +126 -0
  47. source_github/schemas/repositories.json +313 -0
  48. source_github/schemas/review_comments.json +118 -0
  49. source_github/schemas/reviews.json +69 -0
  50. source_github/schemas/shared/events/comment.json +188 -0
  51. source_github/schemas/shared/events/commented.json +118 -0
  52. source_github/schemas/shared/events/committed.json +56 -0
  53. source_github/schemas/shared/events/cross_referenced.json +784 -0
  54. source_github/schemas/shared/events/reviewed.json +139 -0
  55. source_github/schemas/shared/reaction.json +27 -0
  56. source_github/schemas/shared/reactions.json +35 -0
  57. source_github/schemas/shared/user.json +59 -0
  58. source_github/schemas/shared/user_graphql.json +26 -0
  59. source_github/schemas/stargazers.json +19 -0
  60. source_github/schemas/tags.json +32 -0
  61. source_github/schemas/team_members.json +66 -0
  62. source_github/schemas/team_memberships.json +24 -0
  63. source_github/schemas/teams.json +50 -0
  64. source_github/schemas/users.json +63 -0
  65. source_github/schemas/workflow_jobs.json +109 -0
  66. source_github/schemas/workflow_runs.json +449 -0
  67. source_github/schemas/workflows.json +41 -0
  68. source_github/source.py +339 -0
  69. source_github/spec.json +179 -0
  70. source_github/streams.py +1678 -0
  71. source_github/utils.py +152 -0
  72. unit_tests/__init__.py +3 -0
  73. unit_tests/conftest.py +29 -0
  74. unit_tests/projects_v2_pull_requests_query.json +3 -0
  75. unit_tests/pull_request_stats_query.json +3 -0
  76. unit_tests/responses/contributor_activity_response.json +33 -0
  77. unit_tests/responses/graphql_reviews_responses.json +405 -0
  78. unit_tests/responses/issue_timeline_events.json +166 -0
  79. unit_tests/responses/issue_timeline_events_response.json +170 -0
  80. unit_tests/responses/projects_v2_response.json +45 -0
  81. unit_tests/responses/pull_request_comment_reactions.json +744 -0
  82. unit_tests/responses/pull_request_stats_response.json +317 -0
  83. unit_tests/test_migrations/test_config.json +8 -0
  84. unit_tests/test_migrations/test_new_config.json +8 -0
  85. unit_tests/test_multiple_token_authenticator.py +160 -0
  86. unit_tests/test_source.py +326 -0
  87. unit_tests/test_stream.py +1471 -0
  88. unit_tests/utils.py +78 -0
@@ -0,0 +1,1056 @@
1
+ {
2
+ "definitions": {
3
+ "base_event": {
4
+ "id": {
5
+ "type": ["null", "integer"]
6
+ },
7
+ "node_id": {
8
+ "type": ["null", "string"]
9
+ },
10
+ "url": {
11
+ "type": ["null", "string"]
12
+ },
13
+ "actor": {
14
+ "title": "Simple User",
15
+ "description": "A GitHub user.",
16
+ "type": ["null", "object"],
17
+ "properties": {
18
+ "name": {
19
+ "type": ["string", "null"]
20
+ },
21
+ "email": {
22
+ "type": ["string", "null"]
23
+ },
24
+ "login": {
25
+ "type": "string"
26
+ },
27
+ "id": {
28
+ "type": "integer"
29
+ },
30
+ "node_id": {
31
+ "type": "string"
32
+ },
33
+ "avatar_url": {
34
+ "type": "string"
35
+ },
36
+ "gravatar_id": {
37
+ "type": ["string", "null"]
38
+ },
39
+ "url": {
40
+ "type": "string"
41
+ },
42
+ "html_url": {
43
+ "type": "string"
44
+ },
45
+ "followers_url": {
46
+ "type": "string"
47
+ },
48
+ "following_url": {
49
+ "type": "string"
50
+ },
51
+ "gists_url": {
52
+ "type": "string"
53
+ },
54
+ "starred_url": {
55
+ "type": "string"
56
+ },
57
+ "subscriptions_url": {
58
+ "type": "string"
59
+ },
60
+ "organizations_url": {
61
+ "type": "string"
62
+ },
63
+ "repos_url": {
64
+ "type": "string"
65
+ },
66
+ "events_url": {
67
+ "type": "string"
68
+ },
69
+ "received_events_url": {
70
+ "type": "string"
71
+ },
72
+ "type": {
73
+ "type": "string"
74
+ },
75
+ "site_admin": {
76
+ "type": "boolean"
77
+ },
78
+ "starred_at": {
79
+ "type": "string",
80
+ "format": "date-time"
81
+ }
82
+ }
83
+ },
84
+ "event": {
85
+ "type": ["null", "string"]
86
+ },
87
+ "commit_id": {
88
+ "type": ["string", "null"]
89
+ },
90
+ "commit_url": {
91
+ "type": ["string", "null"]
92
+ },
93
+ "created_at": {
94
+ "type": ["null", "string"],
95
+ "format": "date-time"
96
+ },
97
+ "performed_via_github_app": {
98
+ "anyOf": [
99
+ {
100
+ "type": "null"
101
+ },
102
+ {
103
+ "type": "object",
104
+ "properties": {
105
+ "id": {
106
+ "type": "integer"
107
+ },
108
+ "slug": {
109
+ "type": "string"
110
+ },
111
+ "node_id": {
112
+ "type": "string"
113
+ },
114
+ "owner": {
115
+ "anyOf": [
116
+ {
117
+ "type": "null"
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "name": {
123
+ "type": ["string", "null"]
124
+ },
125
+ "email": {
126
+ "type": ["string", "null"]
127
+ },
128
+ "login": {
129
+ "type": "string"
130
+ },
131
+ "id": {
132
+ "type": "integer"
133
+ },
134
+ "node_id": {
135
+ "type": "string"
136
+ },
137
+ "avatar_url": {
138
+ "type": "string"
139
+ },
140
+ "gravatar_id": {
141
+ "type": ["string", "null"]
142
+ },
143
+ "url": {
144
+ "type": "string"
145
+ },
146
+ "html_url": {
147
+ "type": "string"
148
+ },
149
+ "followers_url": {
150
+ "type": "string"
151
+ },
152
+ "following_url": {
153
+ "type": "string"
154
+ },
155
+ "gists_url": {
156
+ "type": "string"
157
+ },
158
+ "starred_url": {
159
+ "type": "string"
160
+ },
161
+ "subscriptions_url": {
162
+ "type": "string"
163
+ },
164
+ "organizations_url": {
165
+ "type": "string"
166
+ },
167
+ "repos_url": {
168
+ "type": "string"
169
+ },
170
+ "events_url": {
171
+ "type": "string"
172
+ },
173
+ "received_events_url": {
174
+ "type": "string"
175
+ },
176
+ "type": {
177
+ "type": "string"
178
+ },
179
+ "site_admin": {
180
+ "type": "boolean"
181
+ },
182
+ "starred_at": {
183
+ "type": "string",
184
+ "format": "date-time"
185
+ }
186
+ }
187
+ }
188
+ ]
189
+ },
190
+ "name": {
191
+ "type": "string"
192
+ },
193
+ "description": {
194
+ "type": ["string", "null"]
195
+ },
196
+ "external_url": {
197
+ "type": "string"
198
+ },
199
+ "html_url": {
200
+ "type": "string"
201
+ },
202
+ "created_at": {
203
+ "type": "string",
204
+ "format": "date-time"
205
+ },
206
+ "updated_at": {
207
+ "type": "string",
208
+ "format": "date-time"
209
+ },
210
+ "permissions": {
211
+ "type": "object",
212
+ "properties": {
213
+ "issues": {
214
+ "type": "string"
215
+ },
216
+ "checks": {
217
+ "type": "string"
218
+ },
219
+ "metadata": {
220
+ "type": "string"
221
+ },
222
+ "contents": {
223
+ "type": "string"
224
+ },
225
+ "deployments": {
226
+ "type": "string"
227
+ }
228
+ },
229
+ "additionalProperties": true
230
+ },
231
+ "events": {
232
+ "type": "array",
233
+ "items": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ "installations_count": {
238
+ "type": "integer"
239
+ },
240
+ "client_id": {
241
+ "type": "string"
242
+ },
243
+ "client_secret": {
244
+ "type": "string"
245
+ },
246
+ "webhook_secret": {
247
+ "type": ["string", "null"]
248
+ },
249
+ "pem": {
250
+ "type": "string"
251
+ }
252
+ }
253
+ }
254
+ ]
255
+ }
256
+ }
257
+ },
258
+ "$schema": "http://json-schema.org/draft-07/schema#",
259
+ "type": "object",
260
+ "additionalProperties": true,
261
+ "properties": {
262
+ "repository": {
263
+ "type": "string"
264
+ },
265
+ "issue_number": {
266
+ "type": "integer"
267
+ },
268
+ "labeled": {
269
+ "$ref": "#/definitions/base_event",
270
+ "label": {
271
+ "type": ["null", "object"],
272
+ "properties": {
273
+ "name": {
274
+ "type": ["null", "string"]
275
+ },
276
+ "color": {
277
+ "type": ["null", "string"]
278
+ }
279
+ }
280
+ }
281
+ },
282
+ "unlabeled": {
283
+ "$ref": "#/definitions/base_event",
284
+ "label": {
285
+ "type": "object",
286
+ "properties": {
287
+ "name": {
288
+ "type": "string"
289
+ },
290
+ "color": {
291
+ "type": "string"
292
+ }
293
+ }
294
+ }
295
+ },
296
+ "milestoned": {
297
+ "$ref": "#/definitions/base_event",
298
+ "milestone": {
299
+ "type": "object",
300
+ "properties": {
301
+ "title": {
302
+ "type": "string"
303
+ }
304
+ }
305
+ }
306
+ },
307
+ "demilestoned": {
308
+ "$ref": "#/definitions/base_event",
309
+ "milestone": {
310
+ "type": "object",
311
+ "properties": {
312
+ "title": {
313
+ "type": "string"
314
+ }
315
+ }
316
+ }
317
+ },
318
+ "renamed": {
319
+ "$ref": "#/definitions/base_event",
320
+ "rename": {
321
+ "type": "object",
322
+ "properties": {
323
+ "from": {
324
+ "type": "string"
325
+ },
326
+ "to": {
327
+ "type": "string"
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "review_requested": {
333
+ "$ref": "#/definitions/base_event",
334
+ "review_requester": {
335
+ "type": "object",
336
+ "properties": {
337
+ "name": {
338
+ "type": ["string", "null"]
339
+ },
340
+ "email": {
341
+ "type": ["string", "null"]
342
+ },
343
+ "login": {
344
+ "type": "string"
345
+ },
346
+ "id": {
347
+ "type": "integer"
348
+ },
349
+ "node_id": {
350
+ "type": "string"
351
+ },
352
+ "avatar_url": {
353
+ "type": "string"
354
+ },
355
+ "gravatar_id": {
356
+ "type": ["string", "null"]
357
+ },
358
+ "url": {
359
+ "type": "string"
360
+ },
361
+ "html_url": {
362
+ "type": "string"
363
+ },
364
+ "followers_url": {
365
+ "type": "string"
366
+ },
367
+ "following_url": {
368
+ "type": "string"
369
+ },
370
+ "gists_url": {
371
+ "type": "string"
372
+ },
373
+ "starred_url": {
374
+ "type": "string"
375
+ },
376
+ "subscriptions_url": {
377
+ "type": "string"
378
+ },
379
+ "organizations_url": {
380
+ "type": "string"
381
+ },
382
+ "repos_url": {
383
+ "type": "string"
384
+ },
385
+ "events_url": {
386
+ "type": "string"
387
+ },
388
+ "received_events_url": {
389
+ "type": "string"
390
+ },
391
+ "type": {
392
+ "type": "string"
393
+ },
394
+ "site_admin": {
395
+ "type": "boolean"
396
+ },
397
+ "starred_at": {
398
+ "type": "string",
399
+ "format": "date-time"
400
+ }
401
+ }
402
+ },
403
+ "requested_team": {
404
+ "type": "object",
405
+ "properties": {
406
+ "id": {
407
+ "type": "integer"
408
+ },
409
+ "node_id": {
410
+ "type": "string"
411
+ },
412
+ "name": {
413
+ "type": "string"
414
+ },
415
+ "slug": {
416
+ "type": "string"
417
+ },
418
+ "description": {
419
+ "type": ["string", "null"]
420
+ },
421
+ "privacy": {
422
+ "type": "string"
423
+ },
424
+ "notification_setting": {
425
+ "type": "string"
426
+ },
427
+ "permission": {
428
+ "type": "string"
429
+ },
430
+ "permissions": {
431
+ "type": "object",
432
+ "properties": {
433
+ "pull": {
434
+ "type": "boolean"
435
+ },
436
+ "triage": {
437
+ "type": "boolean"
438
+ },
439
+ "push": {
440
+ "type": "boolean"
441
+ },
442
+ "maintain": {
443
+ "type": "boolean"
444
+ },
445
+ "admin": {
446
+ "type": "boolean"
447
+ }
448
+ }
449
+ },
450
+ "url": {
451
+ "type": "string"
452
+ },
453
+ "html_url": {
454
+ "type": "string"
455
+ },
456
+ "members_url": {
457
+ "type": "string"
458
+ },
459
+ "repositories_url": {
460
+ "type": "string"
461
+ },
462
+ "parent": {
463
+ "anyOf": [
464
+ {
465
+ "type": "null"
466
+ },
467
+ {
468
+ "type": "object",
469
+ "properties": {
470
+ "id": {
471
+ "type": "integer"
472
+ },
473
+ "node_id": {
474
+ "type": "string"
475
+ },
476
+ "url": {
477
+ "type": "string"
478
+ },
479
+ "members_url": {
480
+ "type": "string"
481
+ },
482
+ "name": {
483
+ "type": "string"
484
+ },
485
+ "description": {
486
+ "type": ["string", "null"]
487
+ },
488
+ "permission": {
489
+ "type": "string"
490
+ },
491
+ "privacy": {
492
+ "type": "string"
493
+ },
494
+ "notification_setting": {
495
+ "type": "string"
496
+ },
497
+ "html_url": {
498
+ "type": "string"
499
+ },
500
+ "repositories_url": {
501
+ "type": "string"
502
+ },
503
+ "slug": {
504
+ "type": "string"
505
+ },
506
+ "ldap_dn": {
507
+ "type": "string"
508
+ }
509
+ }
510
+ }
511
+ ]
512
+ }
513
+ }
514
+ },
515
+ "requested_reviewer": {
516
+ "type": "object",
517
+ "properties": {
518
+ "name": {
519
+ "type": ["string", "null"]
520
+ },
521
+ "email": {
522
+ "type": ["string", "null"]
523
+ },
524
+ "login": {
525
+ "type": "string"
526
+ },
527
+ "id": {
528
+ "type": "integer"
529
+ },
530
+ "node_id": {
531
+ "type": "string"
532
+ },
533
+ "avatar_url": {
534
+ "type": "string"
535
+ },
536
+ "gravatar_id": {
537
+ "type": ["string", "null"]
538
+ },
539
+ "url": {
540
+ "type": "string"
541
+ },
542
+ "html_url": {
543
+ "type": "string"
544
+ },
545
+ "followers_url": {
546
+ "type": "string"
547
+ },
548
+ "following_url": {
549
+ "type": "string"
550
+ },
551
+ "gists_url": {
552
+ "type": "string"
553
+ },
554
+ "starred_url": {
555
+ "type": "string"
556
+ },
557
+ "subscriptions_url": {
558
+ "type": "string"
559
+ },
560
+ "organizations_url": {
561
+ "type": "string"
562
+ },
563
+ "repos_url": {
564
+ "type": "string"
565
+ },
566
+ "events_url": {
567
+ "type": "string"
568
+ },
569
+ "received_events_url": {
570
+ "type": "string"
571
+ },
572
+ "type": {
573
+ "type": "string"
574
+ },
575
+ "site_admin": {
576
+ "type": "boolean"
577
+ },
578
+ "starred_at": {
579
+ "type": "string",
580
+ "format": "date-time"
581
+ }
582
+ }
583
+ }
584
+ },
585
+ "review_request_removed": {
586
+ "$ref": "#/definitions/base_event",
587
+ "review_requester": {
588
+ "type": "object",
589
+ "properties": {
590
+ "name": {
591
+ "type": ["string", "null"]
592
+ },
593
+ "email": {
594
+ "type": ["string", "null"]
595
+ },
596
+ "login": {
597
+ "type": "string"
598
+ },
599
+ "id": {
600
+ "type": "integer"
601
+ },
602
+ "node_id": {
603
+ "type": "string"
604
+ },
605
+ "avatar_url": {
606
+ "type": "string"
607
+ },
608
+ "gravatar_id": {
609
+ "type": ["string", "null"]
610
+ },
611
+ "url": {
612
+ "type": "string"
613
+ },
614
+ "html_url": {
615
+ "type": "string"
616
+ },
617
+ "followers_url": {
618
+ "type": "string"
619
+ },
620
+ "following_url": {
621
+ "type": "string"
622
+ },
623
+ "gists_url": {
624
+ "type": "string"
625
+ },
626
+ "starred_url": {
627
+ "type": "string"
628
+ },
629
+ "subscriptions_url": {
630
+ "type": "string"
631
+ },
632
+ "organizations_url": {
633
+ "type": "string"
634
+ },
635
+ "repos_url": {
636
+ "type": "string"
637
+ },
638
+ "events_url": {
639
+ "type": "string"
640
+ },
641
+ "received_events_url": {
642
+ "type": "string"
643
+ },
644
+ "type": {
645
+ "type": "string"
646
+ },
647
+ "site_admin": {
648
+ "type": "boolean"
649
+ },
650
+ "starred_at": {
651
+ "type": "string",
652
+ "format": "date-time"
653
+ }
654
+ }
655
+ },
656
+ "requested_team": {
657
+ "type": "object",
658
+ "properties": {
659
+ "id": {
660
+ "type": "integer"
661
+ },
662
+ "node_id": {
663
+ "type": "string"
664
+ },
665
+ "name": {
666
+ "type": "string"
667
+ },
668
+ "slug": {
669
+ "type": "string"
670
+ },
671
+ "description": {
672
+ "type": ["string", "null"]
673
+ },
674
+ "privacy": {
675
+ "type": "string"
676
+ },
677
+ "notification_setting": {
678
+ "type": "string"
679
+ },
680
+ "permission": {
681
+ "type": "string"
682
+ },
683
+ "permissions": {
684
+ "type": "object",
685
+ "properties": {
686
+ "pull": {
687
+ "type": "boolean"
688
+ },
689
+ "triage": {
690
+ "type": "boolean"
691
+ },
692
+ "push": {
693
+ "type": "boolean"
694
+ },
695
+ "maintain": {
696
+ "type": "boolean"
697
+ },
698
+ "admin": {
699
+ "type": "boolean"
700
+ }
701
+ }
702
+ },
703
+ "url": {
704
+ "type": "string"
705
+ },
706
+ "html_url": {
707
+ "type": "string"
708
+ },
709
+ "members_url": {
710
+ "type": "string"
711
+ },
712
+ "repositories_url": {
713
+ "type": "string"
714
+ },
715
+ "parent": {
716
+ "anyOf": [
717
+ {
718
+ "type": "null"
719
+ },
720
+ {
721
+ "type": "object",
722
+ "properties": {
723
+ "id": {
724
+ "type": "integer"
725
+ },
726
+ "node_id": {
727
+ "type": "string"
728
+ },
729
+ "url": {
730
+ "type": "string"
731
+ },
732
+ "members_url": {
733
+ "type": "string"
734
+ },
735
+ "name": {
736
+ "type": "string"
737
+ },
738
+ "description": {
739
+ "type": ["string", "null"]
740
+ },
741
+ "permission": {
742
+ "type": "string"
743
+ },
744
+ "privacy": {
745
+ "type": "string"
746
+ },
747
+ "notification_setting": {
748
+ "type": "string"
749
+ },
750
+ "html_url": {
751
+ "type": "string"
752
+ },
753
+ "repositories_url": {
754
+ "type": "string"
755
+ },
756
+ "slug": {
757
+ "type": "string"
758
+ },
759
+ "ldap_dn": {
760
+ "type": "string"
761
+ }
762
+ }
763
+ }
764
+ ]
765
+ }
766
+ }
767
+ },
768
+ "requested_reviewer": {
769
+ "type": "object",
770
+ "properties": {
771
+ "name": {
772
+ "type": ["string", "null"]
773
+ },
774
+ "email": {
775
+ "type": ["string", "null"]
776
+ },
777
+ "login": {
778
+ "type": "string"
779
+ },
780
+ "id": {
781
+ "type": "integer"
782
+ },
783
+ "node_id": {
784
+ "type": "string"
785
+ },
786
+ "avatar_url": {
787
+ "type": "string"
788
+ },
789
+ "gravatar_id": {
790
+ "type": ["string", "null"]
791
+ },
792
+ "url": {
793
+ "type": "string"
794
+ },
795
+ "html_url": {
796
+ "type": "string"
797
+ },
798
+ "followers_url": {
799
+ "type": "string"
800
+ },
801
+ "following_url": {
802
+ "type": "string"
803
+ },
804
+ "gists_url": {
805
+ "type": "string"
806
+ },
807
+ "starred_url": {
808
+ "type": "string"
809
+ },
810
+ "subscriptions_url": {
811
+ "type": "string"
812
+ },
813
+ "organizations_url": {
814
+ "type": "string"
815
+ },
816
+ "repos_url": {
817
+ "type": "string"
818
+ },
819
+ "events_url": {
820
+ "type": "string"
821
+ },
822
+ "received_events_url": {
823
+ "type": "string"
824
+ },
825
+ "type": {
826
+ "type": "string"
827
+ },
828
+ "site_admin": {
829
+ "type": "boolean"
830
+ },
831
+ "starred_at": {
832
+ "type": "string",
833
+ "format": "date-time"
834
+ }
835
+ }
836
+ }
837
+ },
838
+ "review_dismissed": {
839
+ "$ref": "#/definitions/base_event",
840
+ "dismissed_review": {
841
+ "type": "object",
842
+ "properties": {
843
+ "state": {
844
+ "type": "string"
845
+ },
846
+ "review_id": {
847
+ "type": "integer"
848
+ },
849
+ "dismissal_message": {
850
+ "type": ["string", "null"]
851
+ },
852
+ "dismissal_commit_id": {
853
+ "type": "string"
854
+ }
855
+ }
856
+ }
857
+ },
858
+ "locked": {
859
+ "$ref": "#/definitions/base_event",
860
+ "lock_reason": {
861
+ "type": ["string", "null"]
862
+ }
863
+ },
864
+ "added_to_project": {
865
+ "$ref": "#/definitions/base_event",
866
+ "project_card": {
867
+ "type": "object",
868
+ "properties": {
869
+ "id": { "type": "integer" },
870
+ "url": { "type": "string" },
871
+ "project_id": { "type": "integer" },
872
+ "project_url": { "type": "string" },
873
+ "column_name": { "type": "string" },
874
+ "previous_column_name": { "type": "string" }
875
+ }
876
+ }
877
+ },
878
+ "moved_columns_in_project": {
879
+ "$ref": "#/definitions/base_event",
880
+ "project_card": {
881
+ "type": "object",
882
+ "properties": {
883
+ "id": {
884
+ "type": "integer"
885
+ },
886
+ "url": {
887
+ "type": "string",
888
+ "format": "uri"
889
+ },
890
+ "project_id": {
891
+ "type": "integer"
892
+ },
893
+ "project_url": {
894
+ "type": "string",
895
+ "format": "uri"
896
+ },
897
+ "column_name": {
898
+ "type": "string"
899
+ },
900
+ "previous_column_name": {
901
+ "type": "string"
902
+ }
903
+ }
904
+ }
905
+ },
906
+ "removed_from_project": {
907
+ "$ref": "#/definitions/base_event",
908
+ "project_card": {
909
+ "type": "object",
910
+ "properties": {
911
+ "id": {
912
+ "type": "integer"
913
+ },
914
+ "url": {
915
+ "type": "string",
916
+ "format": "uri"
917
+ },
918
+ "project_id": {
919
+ "type": "integer"
920
+ },
921
+ "project_url": {
922
+ "type": "string",
923
+ "format": "uri"
924
+ },
925
+ "column_name": {
926
+ "type": "string"
927
+ },
928
+ "previous_column_name": {
929
+ "type": "string"
930
+ }
931
+ }
932
+ }
933
+ },
934
+ "converted_note_to_issue": {
935
+ "$ref": "#/definitions/base_event",
936
+ "project_card": {
937
+ "type": "object",
938
+ "properties": {
939
+ "id": { "type": "integer" },
940
+ "url": { "type": "string" },
941
+ "project_id": { "type": "integer" },
942
+ "project_url": { "type": "string" },
943
+ "column_name": { "type": "string" },
944
+ "previous_column_name": { "type": "string" }
945
+ }
946
+ }
947
+ },
948
+ "comment": {
949
+ "$ref": "events/comment.json"
950
+ },
951
+ "cross-referenced": {
952
+ "$ref": "events/cross_referenced.json"
953
+ },
954
+ "committed": {
955
+ "$ref": "events/committed.json"
956
+ },
957
+ "closed": {
958
+ "$ref": "#/definitions/base_event"
959
+ },
960
+ "head_ref_deleted": {
961
+ "$ref": "#/definitions/base_event"
962
+ },
963
+ "head_ref_restored": {
964
+ "$ref": "#/definitions/base_event"
965
+ },
966
+ "reopened": {
967
+ "$ref": "#/definitions/base_event"
968
+ },
969
+ "reviewed": {
970
+ "$ref": "events/reviewed.json"
971
+ },
972
+ "commented": {
973
+ "$ref": "events/commented.json"
974
+ },
975
+ "commit_commented": {
976
+ "$ref": "events/commented.json"
977
+ },
978
+ "assigned": {
979
+ "$ref": "#/definitions/base_event",
980
+ "assignee": {
981
+ "title": "Simple User",
982
+ "description": "A GitHub user.",
983
+ "type": "object",
984
+ "properties": {
985
+ "name": { "type": ["string", "null"] },
986
+ "email": { "type": ["string", "null"] },
987
+ "login": { "type": "string" },
988
+ "id": { "type": "integer" },
989
+ "node_id": { "type": "string" },
990
+ "avatar_url": { "type": "string" },
991
+ "gravatar_id": { "type": ["string", "null"] },
992
+ "url": { "type": "string" },
993
+ "html_url": { "type": "string" },
994
+ "followers_url": { "type": "string" },
995
+ "following_url": { "type": "string" },
996
+ "gists_url": { "type": "string" },
997
+ "starred_url": { "type": "string" },
998
+ "subscriptions_url": { "type": "string" },
999
+ "organizations_url": { "type": "string" },
1000
+ "repos_url": { "type": "string" },
1001
+ "events_url": { "type": "string" },
1002
+ "received_events_url": { "type": "string" },
1003
+ "type": { "type": "string" },
1004
+ "site_admin": { "type": "boolean" },
1005
+ "starred_at": { "type": "string", "format": "date-time" }
1006
+ }
1007
+ }
1008
+ },
1009
+ "unassigned": {
1010
+ "$ref": "#/definitions/base_event",
1011
+ "assignee": {
1012
+ "title": "Simple User",
1013
+ "description": "A GitHub user.",
1014
+ "type": "object",
1015
+ "properties": {
1016
+ "name": { "type": ["string", "null"] },
1017
+ "email": { "type": ["string", "null"] },
1018
+ "login": { "type": "string" },
1019
+ "id": { "type": "integer" },
1020
+ "node_id": { "type": "string" },
1021
+ "avatar_url": { "type": "string" },
1022
+ "gravatar_id": { "type": ["string", "null"] },
1023
+ "url": { "type": "string" },
1024
+ "html_url": { "type": "string" },
1025
+ "followers_url": { "type": "string" },
1026
+ "following_url": { "type": "string" },
1027
+ "gists_url": { "type": "string" },
1028
+ "starred_url": { "type": "string" },
1029
+ "subscriptions_url": { "type": "string" },
1030
+ "organizations_url": { "type": "string" },
1031
+ "repos_url": { "type": "string" },
1032
+ "events_url": { "type": "string" },
1033
+ "received_events_url": { "type": "string" },
1034
+ "type": { "type": "string" },
1035
+ "site_admin": { "type": "boolean" },
1036
+ "starred_at": { "type": "string", "format": "date-time" }
1037
+ }
1038
+ }
1039
+ },
1040
+ "state_change": {
1041
+ "$ref": "#/definitions/base_event",
1042
+ "state_reason": {
1043
+ "type": ["string", "null"]
1044
+ }
1045
+ },
1046
+ "connected": {
1047
+ "$ref": "#/definitions/base_event"
1048
+ },
1049
+ "auto_squash_enabled": {
1050
+ "$ref": "#/definitions/base_event"
1051
+ },
1052
+ "merged": {
1053
+ "$ref": "#/definitions/base_event"
1054
+ }
1055
+ }
1056
+ }