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,784 @@
1
+ {
2
+ "title": "Timeline Cross Referenced Event",
3
+ "description": "Timeline Cross Referenced Event",
4
+ "type": "object",
5
+ "properties": {
6
+ "event": { "type": "string" },
7
+ "actor": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": { "type": ["string", "null"] },
11
+ "email": { "type": ["string", "null"] },
12
+ "login": { "type": "string" },
13
+ "id": { "type": "integer" },
14
+ "node_id": { "type": "string" },
15
+ "avatar_url": { "type": "string" },
16
+ "gravatar_id": { "type": ["string", "null"] },
17
+ "url": { "type": "string" },
18
+ "html_url": { "type": "string" },
19
+ "followers_url": { "type": "string" },
20
+ "following_url": { "type": "string" },
21
+ "gists_url": { "type": "string" },
22
+ "starred_url": { "type": "string" },
23
+ "subscriptions_url": { "type": "string" },
24
+ "organizations_url": { "type": "string" },
25
+ "repos_url": { "type": "string" },
26
+ "events_url": { "type": "string" },
27
+ "received_events_url": { "type": "string" },
28
+ "type": { "type": "string" },
29
+ "site_admin": { "type": "boolean" },
30
+ "starred_at": { "type": "string", "format": "date-time" }
31
+ }
32
+ },
33
+ "created_at": { "type": "string", "format": "date-time" },
34
+ "updated_at": { "type": "string", "format": "date-time" },
35
+ "source": {
36
+ "type": "object",
37
+ "properties": {
38
+ "type": {
39
+ "type": "string"
40
+ },
41
+ "issue": {
42
+ "title": "Issue",
43
+ "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.",
44
+ "type": "object",
45
+ "properties": {
46
+ "id": { "type": "integer" },
47
+ "node_id": { "type": "string" },
48
+ "url": { "type": "string" },
49
+ "repository_url": { "type": "string" },
50
+ "labels_url": { "type": "string" },
51
+ "comments_url": { "type": "string" },
52
+ "events_url": { "type": "string" },
53
+ "html_url": { "type": "string" },
54
+ "number": { "type": "integer" },
55
+ "state": { "type": "string" },
56
+ "state_reason": { "type": ["string", "null"] },
57
+ "title": { "type": "string" },
58
+ "body": { "type": ["string", "null"] },
59
+ "user": {
60
+ "anyOf": [
61
+ {
62
+ "type": "null"
63
+ },
64
+ {
65
+ "type": "object",
66
+ "properties": {
67
+ "name": { "type": ["string", "null"] },
68
+ "email": { "type": ["string", "null"] },
69
+ "login": { "type": "string" },
70
+ "id": { "type": "integer" },
71
+ "node_id": { "type": "string" },
72
+ "avatar_url": { "type": "string" },
73
+ "gravatar_id": { "type": ["string", "null"] },
74
+ "url": { "type": "string" },
75
+ "html_url": { "type": "string" },
76
+ "followers_url": { "type": "string" },
77
+ "following_url": { "type": "string" },
78
+ "gists_url": { "type": "string" },
79
+ "starred_url": { "type": "string" },
80
+ "subscriptions_url": { "type": "string" },
81
+ "organizations_url": { "type": "string" },
82
+ "repos_url": { "type": "string" },
83
+ "events_url": { "type": "string" },
84
+ "received_events_url": { "type": "string" },
85
+ "type": { "type": "string" },
86
+ "site_admin": { "type": "boolean" },
87
+ "starred_at": { "type": "string", "format": "date-time" }
88
+ }
89
+ }
90
+ ]
91
+ },
92
+ "labels": {
93
+ "type": "array",
94
+ "items": {
95
+ "oneOf": [
96
+ {
97
+ "type": "string"
98
+ },
99
+ {
100
+ "type": "object",
101
+ "properties": {
102
+ "id": { "type": "integer" },
103
+ "node_id": { "type": "string" },
104
+ "url": { "type": "string" },
105
+ "name": { "type": "string" },
106
+ "description": { "type": ["string", "null"] },
107
+ "color": { "type": ["string", "null"] },
108
+ "default": { "type": "boolean" }
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ },
114
+ "assignee": {
115
+ "anyOf": [
116
+ {
117
+ "type": "null"
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "name": { "type": ["string", "null"] },
123
+ "email": { "type": ["string", "null"] },
124
+ "login": { "type": "string" },
125
+ "id": { "type": "integer" },
126
+ "node_id": { "type": "string" },
127
+ "avatar_url": { "type": "string" },
128
+ "gravatar_id": { "type": ["string", "null"] },
129
+ "url": { "type": "string" },
130
+ "html_url": { "type": "string" },
131
+ "followers_url": { "type": "string" },
132
+ "following_url": { "type": "string" },
133
+ "gists_url": { "type": "string" },
134
+ "starred_url": { "type": "string" },
135
+ "subscriptions_url": { "type": "string" },
136
+ "organizations_url": { "type": "string" },
137
+ "repos_url": { "type": "string" },
138
+ "events_url": { "type": "string" },
139
+ "received_events_url": { "type": "string" },
140
+ "type": { "type": "string" },
141
+ "site_admin": { "type": "boolean" },
142
+ "starred_at": { "type": "string", "format": "date-time" }
143
+ }
144
+ }
145
+ ]
146
+ },
147
+ "assignees": {
148
+ "type": ["array", "null"],
149
+ "items": {
150
+ "type": "object",
151
+ "properties": {
152
+ "name": { "type": ["string", "null"] },
153
+ "email": { "type": ["string", "null"] },
154
+ "login": { "type": "string" },
155
+ "id": { "type": "integer" },
156
+ "node_id": { "type": "string" },
157
+ "avatar_url": { "type": "string" },
158
+ "gravatar_id": { "type": ["string", "null"] },
159
+ "url": { "type": "string" },
160
+ "html_url": { "type": "string" },
161
+ "followers_url": { "type": "string" },
162
+ "following_url": { "type": "string" },
163
+ "gists_url": { "type": "string" },
164
+ "starred_url": { "type": "string" },
165
+ "subscriptions_url": { "type": "string" },
166
+ "organizations_url": { "type": "string" },
167
+ "repos_url": { "type": "string" },
168
+ "events_url": { "type": "string" },
169
+ "received_events_url": { "type": "string" },
170
+ "type": { "type": "string" },
171
+ "site_admin": {
172
+ "type": "boolean"
173
+ },
174
+ "starred_at": { "type": "string", "format": "date-time" }
175
+ }
176
+ }
177
+ },
178
+ "milestone": {
179
+ "anyOf": [
180
+ {
181
+ "type": "null"
182
+ },
183
+ {
184
+ "type": "object",
185
+ "properties": {
186
+ "url": { "type": "string" },
187
+ "html_url": { "type": "string" },
188
+ "labels_url": { "type": "string" },
189
+ "id": { "type": "integer" },
190
+ "node_id": { "type": "string" },
191
+ "number": { "type": "integer" },
192
+ "state": { "type": "string" },
193
+ "title": { "type": "string" },
194
+ "description": { "type": ["string", "null"] },
195
+ "creator": {
196
+ "anyOf": [
197
+ {
198
+ "type": "null"
199
+ },
200
+ {
201
+ "type": "object",
202
+ "properties": {
203
+ "name": { "type": ["string", "null"] },
204
+ "email": { "type": ["string", "null"] },
205
+ "login": { "type": "string" },
206
+ "id": { "type": "integer" },
207
+ "node_id": { "type": "string" },
208
+ "avatar_url": { "type": "string" },
209
+ "gravatar_id": { "type": ["string", "null"] },
210
+ "url": { "type": "string" },
211
+ "html_url": { "type": "string" },
212
+ "followers_url": { "type": "string" },
213
+ "following_url": { "type": "string" },
214
+ "gists_url": { "type": "string" },
215
+ "starred_url": { "type": "string" },
216
+ "subscriptions_url": { "type": "string" },
217
+ "organizations_url": { "type": "string" },
218
+ "repos_url": { "type": "string" },
219
+ "events_url": { "type": "string" },
220
+ "received_events_url": { "type": "string" },
221
+ "type": { "type": "string" },
222
+ "site_admin": { "type": "boolean" },
223
+ "starred_at": {
224
+ "type": "string",
225
+ "format": "date-time"
226
+ }
227
+ }
228
+ }
229
+ ]
230
+ },
231
+ "open_issues": { "type": "integer" },
232
+ "closed_issues": { "type": "integer" },
233
+ "created_at": { "type": "string", "format": "date-time" },
234
+ "updated_at": { "type": "string", "format": "date-time" },
235
+ "closed_at": {
236
+ "type": ["string", "null"],
237
+ "format": "date-time"
238
+ },
239
+ "due_on": {
240
+ "type": ["string", "null"],
241
+ "format": "date-time"
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ },
247
+ "locked": { "type": "boolean" },
248
+ "active_lock_reason": { "type": ["string", "null"] },
249
+ "comments": { "type": "integer" },
250
+ "pull_request": {
251
+ "type": "object",
252
+ "properties": {
253
+ "merged_at": {
254
+ "type": ["string", "null"],
255
+ "format": "date-time"
256
+ },
257
+ "diff_url": { "type": ["string", "null"] },
258
+ "html_url": { "type": ["string", "null"] },
259
+ "patch_url": { "type": ["string", "null"] },
260
+ "url": { "type": ["string", "null"] }
261
+ }
262
+ },
263
+ "closed_at": { "type": ["string", "null"], "format": "date-time" },
264
+ "created_at": { "type": "string", "format": "date-time" },
265
+ "updated_at": { "type": "string", "format": "date-time" },
266
+ "draft": { "type": "boolean" },
267
+ "closed_by": {
268
+ "anyOf": [
269
+ {
270
+ "type": "null"
271
+ },
272
+ {
273
+ "type": "object",
274
+ "properties": {
275
+ "name": { "type": ["string", "null"] },
276
+ "email": { "type": ["string", "null"] },
277
+ "login": { "type": "string", "examples": ["octocat"] },
278
+ "id": { "type": "integer" },
279
+ "node_id": { "type": "string" },
280
+ "avatar_url": { "type": "string" },
281
+ "gravatar_id": { "type": ["string", "null"] },
282
+ "url": { "type": "string" },
283
+ "html_url": { "type": "string" },
284
+ "followers_url": { "type": "string" },
285
+ "following_url": { "type": "string" },
286
+ "gists_url": { "type": "string" },
287
+ "starred_url": { "type": "string" },
288
+ "subscriptions_url": { "type": "string" },
289
+ "organizations_url": { "type": "string" },
290
+ "repos_url": { "type": "string" },
291
+ "events_url": { "type": "string" },
292
+ "received_events_url": { "type": "string" },
293
+ "type": { "type": "string" },
294
+ "site_admin": { "type": "boolean" },
295
+ "starred_at": { "type": "string", "format": "date-time" }
296
+ }
297
+ }
298
+ ]
299
+ },
300
+ "body_html": { "type": "string" },
301
+ "body_text": { "type": "string" },
302
+ "timeline_url": { "type": "string" },
303
+ "repository": {
304
+ "type": "object",
305
+ "properties": {
306
+ "id": { "type": "integer" },
307
+ "node_id": { "type": "string" },
308
+ "name": { "type": "string" },
309
+ "full_name": { "type": "string" },
310
+ "license": {
311
+ "anyOf": [
312
+ {
313
+ "type": "null"
314
+ },
315
+ {
316
+ "type": "object",
317
+ "properties": {
318
+ "key": { "type": "string" },
319
+ "name": { "type": "string" },
320
+ "url": { "type": ["string", "null"] },
321
+ "spdx_id": { "type": ["string", "null"] },
322
+ "node_id": { "type": "string" },
323
+ "html_url": { "type": "string" }
324
+ }
325
+ }
326
+ ]
327
+ },
328
+ "organization": {
329
+ "anyOf": [
330
+ {
331
+ "type": "null"
332
+ },
333
+ {
334
+ "type": "object",
335
+ "properties": {
336
+ "name": { "type": ["string", "null"] },
337
+ "email": { "type": ["string", "null"] },
338
+ "login": { "type": "string" },
339
+ "id": { "type": "integer" },
340
+ "node_id": { "type": "string" },
341
+ "avatar_url": { "type": "string" },
342
+ "gravatar_id": { "type": ["string", "null"] },
343
+ "url": { "type": "string" },
344
+ "html_url": { "type": "string" },
345
+ "followers_url": { "type": "string" },
346
+ "following_url": { "type": "string" },
347
+ "gists_url": { "type": "string" },
348
+ "starred_url": { "type": "string" },
349
+ "subscriptions_url": { "type": "string" },
350
+ "organizations_url": { "type": "string" },
351
+ "repos_url": { "type": "string" },
352
+ "events_url": { "type": "string" },
353
+ "received_events_url": { "type": "string" },
354
+ "type": { "type": "string" },
355
+ "site_admin": { "type": "boolean" },
356
+ "starred_at": {
357
+ "type": "string",
358
+ "format": "date-time"
359
+ }
360
+ }
361
+ }
362
+ ]
363
+ },
364
+ "forks": { "type": "integer" },
365
+ "permissions": {
366
+ "type": "object",
367
+ "properties": {
368
+ "admin": { "type": "boolean" },
369
+ "pull": { "type": "boolean" },
370
+ "triage": { "type": "boolean" },
371
+ "push": { "type": "boolean" },
372
+ "maintain": { "type": "boolean" }
373
+ }
374
+ },
375
+ "owner": {
376
+ "type": "object",
377
+ "properties": {
378
+ "name": { "type": ["string", "null"] },
379
+ "email": { "type": ["string", "null"] },
380
+ "login": { "type": "string" },
381
+ "id": { "type": "integer" },
382
+ "node_id": { "type": "string" },
383
+ "avatar_url": { "type": "string" },
384
+ "gravatar_id": { "type": ["string", "null"] },
385
+ "url": { "type": "string" },
386
+ "html_url": { "type": "string" },
387
+ "followers_url": { "type": "string" },
388
+ "following_url": { "type": "string" },
389
+ "gists_url": { "type": "string" },
390
+ "starred_url": { "type": "string" },
391
+ "subscriptions_url": { "type": "string" },
392
+ "organizations_url": { "type": "string" },
393
+ "repos_url": { "type": "string" },
394
+ "events_url": { "type": "string" },
395
+ "received_events_url": { "type": "string" },
396
+ "type": { "type": "string" },
397
+ "site_admin": { "type": "boolean" },
398
+ "starred_at": { "type": "string", "format": "date-time" }
399
+ }
400
+ },
401
+ "private": { "type": "boolean" },
402
+ "html_url": { "type": "string" },
403
+ "description": { "type": ["string", "null"] },
404
+ "fork": { "type": "boolean" },
405
+ "url": { "type": "string" },
406
+ "archive_url": { "type": "string" },
407
+ "assignees_url": { "type": "string" },
408
+ "blobs_url": { "type": "string" },
409
+ "branches_url": { "type": "string" },
410
+ "collaborators_url": { "type": "string" },
411
+ "comments_url": { "type": "string" },
412
+ "commits_url": { "type": "string" },
413
+ "compare_url": { "type": "string" },
414
+ "contents_url": { "type": "string" },
415
+ "contributors_url": { "type": "string" },
416
+ "deployments_url": { "type": "string" },
417
+ "downloads_url": { "type": "string" },
418
+ "events_url": { "type": "string" },
419
+ "forks_url": { "type": "string" },
420
+ "git_commits_url": { "type": "string" },
421
+ "git_refs_url": { "type": "string" },
422
+ "git_tags_url": { "type": "string" },
423
+ "git_url": { "type": "string" },
424
+ "issue_comment_url": { "type": "string" },
425
+ "issue_events_url": { "type": "string" },
426
+ "issues_url": { "type": "string" },
427
+ "keys_url": { "type": "string" },
428
+ "labels_url": { "type": "string" },
429
+ "languages_url": { "type": "string" },
430
+ "merges_url": { "type": "string" },
431
+ "milestones_url": { "type": "string" },
432
+ "notifications_url": { "type": "string" },
433
+ "pulls_url": { "type": "string" },
434
+ "releases_url": { "type": "string" },
435
+ "ssh_url": { "type": "string" },
436
+ "stargazers_url": { "type": "string" },
437
+ "statuses_url": { "type": "string" },
438
+ "subscribers_url": { "type": "string" },
439
+ "subscription_url": { "type": "string" },
440
+ "tags_url": { "type": "string" },
441
+ "teams_url": { "type": "string" },
442
+ "trees_url": { "type": "string" },
443
+ "clone_url": { "type": "string" },
444
+ "mirror_url": { "type": ["string", "null"] },
445
+ "hooks_url": { "type": "string" },
446
+ "svn_url": { "type": "string" },
447
+ "homepage": { "type": ["string", "null"] },
448
+ "language": { "type": ["string", "null"] },
449
+ "forks_count": { "type": "integer" },
450
+ "stargazers_count": { "type": "integer" },
451
+ "watchers_count": { "type": "integer" },
452
+ "size": { "type": "integer" },
453
+ "default_branch": { "type": "string" },
454
+ "open_issues_count": { "type": "integer" },
455
+ "is_template": { "type": "boolean" },
456
+ "topics": {
457
+ "type": "array",
458
+ "items": { "type": "string" }
459
+ },
460
+ "has_issues": { "type": "boolean" },
461
+ "has_projects": { "type": "boolean" },
462
+ "has_wiki": { "type": "boolean" },
463
+ "has_pages": { "type": "boolean" },
464
+ "has_downloads": { "type": "boolean" },
465
+ "has_discussions": { "type": "boolean" },
466
+ "archived": { "type": "boolean" },
467
+ "disabled": { "type": "boolean" },
468
+ "visibility": { "type": "string" },
469
+ "pushed_at": {
470
+ "type": ["string", "null"],
471
+ "format": "date-time"
472
+ },
473
+ "created_at": {
474
+ "type": ["string", "null"],
475
+ "format": "date-time"
476
+ },
477
+ "updated_at": {
478
+ "type": ["string", "null"],
479
+ "format": "date-time"
480
+ },
481
+ "allow_rebase_merge": { "type": "boolean" },
482
+ "template_repository": {
483
+ "type": ["object", "null"],
484
+ "properties": {
485
+ "id": { "type": "integer" },
486
+ "node_id": { "type": "string" },
487
+ "name": { "type": "string" },
488
+ "full_name": { "type": "string" },
489
+ "owner": {
490
+ "type": "object",
491
+ "properties": {
492
+ "login": { "type": "string" },
493
+ "id": { "type": "integer" },
494
+ "node_id": { "type": "string" },
495
+ "avatar_url": { "type": "string" },
496
+ "gravatar_id": { "type": "string" },
497
+ "url": { "type": "string" },
498
+ "html_url": { "type": "string" },
499
+ "followers_url": { "type": "string" },
500
+ "following_url": { "type": "string" },
501
+ "gists_url": { "type": "string" },
502
+ "starred_url": { "type": "string" },
503
+ "subscriptions_url": { "type": "string" },
504
+ "organizations_url": { "type": "string" },
505
+ "repos_url": { "type": "string" },
506
+ "events_url": { "type": "string" },
507
+ "received_events_url": { "type": "string" },
508
+ "type": { "type": "string" },
509
+ "site_admin": { "type": "boolean" }
510
+ }
511
+ },
512
+ "private": { "type": "boolean" },
513
+ "html_url": { "type": "string" },
514
+ "description": { "type": "string" },
515
+ "fork": { "type": "boolean" },
516
+ "url": { "type": "string" },
517
+ "archive_url": { "type": "string" },
518
+ "assignees_url": { "type": "string" },
519
+ "blobs_url": { "type": "string" },
520
+ "branches_url": { "type": "string" },
521
+ "collaborators_url": { "type": "string" },
522
+ "comments_url": { "type": "string" },
523
+ "commits_url": { "type": "string" },
524
+ "compare_url": { "type": "string" },
525
+ "contents_url": { "type": "string" },
526
+ "contributors_url": { "type": "string" },
527
+ "deployments_url": { "type": "string" },
528
+ "downloads_url": { "type": "string" },
529
+ "events_url": { "type": "string" },
530
+ "forks_url": { "type": "string" },
531
+ "git_commits_url": { "type": "string" },
532
+ "git_refs_url": { "type": "string" },
533
+ "git_tags_url": { "type": "string" },
534
+ "git_url": { "type": "string" },
535
+ "issue_comment_url": { "type": "string" },
536
+ "issue_events_url": { "type": "string" },
537
+ "issues_url": { "type": "string" },
538
+ "keys_url": { "type": "string" },
539
+ "labels_url": { "type": "string" },
540
+ "languages_url": { "type": "string" },
541
+ "merges_url": { "type": "string" },
542
+ "milestones_url": { "type": "string" },
543
+ "notifications_url": { "type": "string" },
544
+ "pulls_url": { "type": "string" },
545
+ "releases_url": { "type": "string" },
546
+ "ssh_url": { "type": "string" },
547
+ "stargazers_url": { "type": "string" },
548
+ "statuses_url": { "type": "string" },
549
+ "subscribers_url": { "type": "string" },
550
+ "subscription_url": { "type": "string" },
551
+ "tags_url": { "type": "string" },
552
+ "teams_url": { "type": "string" },
553
+ "trees_url": { "type": "string" },
554
+ "clone_url": { "type": "string" },
555
+ "mirror_url": { "type": "string" },
556
+ "hooks_url": { "type": "string" },
557
+ "svn_url": { "type": "string" },
558
+ "homepage": { "type": "string" },
559
+ "language": { "type": "string" },
560
+ "forks_count": { "type": "integer" },
561
+ "stargazers_count": { "type": "integer" },
562
+ "watchers_count": { "type": "integer" },
563
+ "size": { "type": "integer" },
564
+ "default_branch": { "type": "string" },
565
+ "open_issues_count": { "type": "integer" },
566
+ "is_template": { "type": "boolean" },
567
+ "topics": {
568
+ "type": "array",
569
+ "items": { "type": "string" }
570
+ },
571
+ "has_issues": { "type": "boolean" },
572
+ "has_projects": { "type": "boolean" },
573
+ "has_wiki": { "type": "boolean" },
574
+ "has_pages": { "type": "boolean" },
575
+ "has_downloads": { "type": "boolean" },
576
+ "archived": { "type": "boolean" },
577
+ "disabled": { "type": "boolean" },
578
+ "visibility": { "type": "string" },
579
+ "pushed_at": { "type": "string", "format": "date-time" },
580
+ "created_at": { "type": "string", "format": "date-time" },
581
+ "updated_at": { "type": "string", "format": "date-time" },
582
+ "permissions": {
583
+ "type": "object",
584
+ "properties": {
585
+ "admin": { "type": "boolean" },
586
+ "maintain": { "type": "boolean" },
587
+ "push": { "type": "boolean" },
588
+ "triage": { "type": "boolean" },
589
+ "pull": { "type": "boolean" }
590
+ }
591
+ },
592
+ "allow_rebase_merge": { "type": "boolean" },
593
+ "temp_clone_token": { "type": "string" },
594
+ "allow_squash_merge": { "type": "boolean" },
595
+ "allow_auto_merge": { "type": "boolean" },
596
+ "delete_branch_on_merge": { "type": "boolean" },
597
+ "allow_update_branch": { "type": "boolean" },
598
+ "use_squash_pr_title_as_default": { "type": "boolean" },
599
+ "squash_merge_commit_title": { "type": "string" },
600
+ "squash_merge_commit_message": { "type": "string" },
601
+ "merge_commit_title": { "type": "string" },
602
+ "merge_commit_message": { "type": "string" },
603
+ "allow_merge_commit": { "type": "boolean" },
604
+ "subscribers_count": { "type": "integer" },
605
+ "network_count": { "type": "integer" }
606
+ }
607
+ },
608
+ "temp_clone_token": { "type": "string" },
609
+ "allow_squash_merge": { "type": "boolean" },
610
+ "allow_auto_merge": { "type": "boolean" },
611
+ "delete_branch_on_merge": { "type": "boolean" },
612
+ "allow_update_branch": { "type": "boolean" },
613
+ "use_squash_pr_title_as_default": { "type": "boolean" },
614
+ "squash_merge_commit_title": { "type": "string" },
615
+ "squash_merge_commit_message": { "type": "string" },
616
+ "merge_commit_title": { "type": "string" },
617
+ "merge_commit_message": { "type": "string" },
618
+ "allow_merge_commit": { "type": "boolean" },
619
+ "allow_forking": { "type": "boolean" },
620
+ "web_commit_signoff_required": { "type": "boolean" },
621
+ "subscribers_count": { "type": "integer" },
622
+ "network_count": { "type": "integer" },
623
+ "open_issues": { "type": "integer" },
624
+ "watchers": { "type": "integer" },
625
+ "master_branch": { "type": "string" },
626
+ "starred_at": { "type": "string", "format": "date-time" },
627
+ "anonymous_access_enabled": { "type": "boolean" }
628
+ },
629
+ "performed_via_github_app": {
630
+ "anyOf": [
631
+ {
632
+ "type": "null"
633
+ },
634
+ {
635
+ "type": "object",
636
+ "properties": {
637
+ "id": { "type": "integer" },
638
+ "slug": { "type": "string" },
639
+ "node_id": { "type": "string" },
640
+ "owner": {
641
+ "anyOf": [
642
+ {
643
+ "type": "null"
644
+ },
645
+ {
646
+ "type": "object",
647
+ "properties": {
648
+ "name": { "type": ["string", "null"] },
649
+ "email": { "type": ["string", "null"] },
650
+ "login": { "type": "string" },
651
+ "id": { "type": "integer" },
652
+ "node_id": { "type": "string" },
653
+ "avatar_url": { "type": "string" },
654
+ "gravatar_id": { "type": ["string", "null"] },
655
+ "url": { "type": "string" },
656
+ "html_url": { "type": "string" },
657
+ "followers_url": { "type": "string" },
658
+ "following_url": { "type": "string" },
659
+ "gists_url": { "type": "string" },
660
+ "starred_url": { "type": "string" },
661
+ "subscriptions_url": { "type": "string" },
662
+ "organizations_url": { "type": "string" },
663
+ "repos_url": { "type": "string" },
664
+ "events_url": { "type": "string" },
665
+ "received_events_url": { "type": "string" },
666
+ "type": { "type": "string" },
667
+ "site_admin": { "type": "boolean" },
668
+ "starred_at": {
669
+ "type": "string",
670
+ "format": "date-time"
671
+ }
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ "name": { "type": "string" },
677
+ "description": { "type": ["string", "null"] },
678
+ "external_url": {
679
+ "type": "string"
680
+ },
681
+ "html_url": {
682
+ "type": "string"
683
+ },
684
+ "created_at": {
685
+ "type": "string",
686
+ "format": "date-time"
687
+ },
688
+ "updated_at": {
689
+ "type": "string",
690
+ "format": "date-time"
691
+ },
692
+ "permissions": {
693
+ "type": "object",
694
+ "properties": {
695
+ "issues": {
696
+ "type": "string"
697
+ },
698
+ "checks": {
699
+ "type": "string"
700
+ },
701
+ "metadata": {
702
+ "type": "string"
703
+ },
704
+ "contents": {
705
+ "type": "string"
706
+ },
707
+ "deployments": {
708
+ "type": "string"
709
+ }
710
+ },
711
+ "additionalProperties": true
712
+ },
713
+ "events": {
714
+ "type": "array",
715
+ "items": {
716
+ "type": "string"
717
+ },
718
+ "examples": ["label", "deployment"]
719
+ },
720
+ "installations_count": {
721
+ "type": "integer",
722
+ "examples": [5]
723
+ },
724
+ "client_id": {
725
+ "type": "string"
726
+ },
727
+ "client_secret": {
728
+ "type": "string"
729
+ },
730
+ "webhook_secret": {
731
+ "type": ["string", "null"]
732
+ },
733
+ "pem": {
734
+ "type": "string"
735
+ }
736
+ }
737
+ }
738
+ ]
739
+ },
740
+ "author_association": {
741
+ "type": "string"
742
+ },
743
+ "reactions": {
744
+ "type": "object",
745
+ "properties": {
746
+ "url": {
747
+ "type": "string"
748
+ },
749
+ "total_count": {
750
+ "type": "integer"
751
+ },
752
+ "+1": {
753
+ "type": "integer"
754
+ },
755
+ "-1": {
756
+ "type": "integer"
757
+ },
758
+ "laugh": {
759
+ "type": "integer"
760
+ },
761
+ "confused": {
762
+ "type": "integer"
763
+ },
764
+ "heart": {
765
+ "type": "integer"
766
+ },
767
+ "hooray": {
768
+ "type": "integer"
769
+ },
770
+ "eyes": {
771
+ "type": "integer"
772
+ },
773
+ "rocket": {
774
+ "type": "integer"
775
+ }
776
+ }
777
+ }
778
+ }
779
+ }
780
+ }
781
+ }
782
+ }
783
+ }
784
+ }