@dsh-plugin/dsh-synapse 0.0.0-stage → 0.1.0-dev.41044228975

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 (150) hide show
  1. package/LICENSE +661 -0
  2. package/NOTICE.md +18 -0
  3. package/README.md +136 -2
  4. package/cordis.patch.yml +3 -0
  5. package/lib/bot.cjs +8314 -0
  6. package/lib/bot.cjs.map +7 -0
  7. package/lib/build.json +1 -0
  8. package/lib/client.js +46 -0
  9. package/lib/host/agent.d.ts +21 -0
  10. package/lib/host/agent.js +151 -0
  11. package/lib/host/agent.js.map +1 -0
  12. package/lib/host/bot.d.ts +17 -0
  13. package/lib/host/bot.js +158 -0
  14. package/lib/host/bot.js.map +1 -0
  15. package/lib/host/client.d.ts +2 -0
  16. package/lib/host/client.js +19 -0
  17. package/lib/host/client.js.map +1 -0
  18. package/lib/host/config.d.ts +24 -0
  19. package/lib/host/config.js +192 -0
  20. package/lib/host/config.js.map +1 -0
  21. package/lib/host/files.d.ts +29 -0
  22. package/lib/host/files.js +188 -0
  23. package/lib/host/files.js.map +1 -0
  24. package/lib/host/gateway.d.ts +33 -0
  25. package/lib/host/gateway.js +237 -0
  26. package/lib/host/gateway.js.map +1 -0
  27. package/lib/host/github.d.ts +47 -0
  28. package/lib/host/github.js +219 -0
  29. package/lib/host/github.js.map +1 -0
  30. package/lib/host/http.d.ts +4 -0
  31. package/lib/host/http.js +41 -0
  32. package/lib/host/http.js.map +1 -0
  33. package/lib/host/index.d.ts +32 -0
  34. package/lib/host/index.js +192 -0
  35. package/lib/host/index.js.map +1 -0
  36. package/lib/host/inference-worker.d.ts +1 -0
  37. package/lib/host/inference-worker.js +72 -0
  38. package/lib/host/inference-worker.js.map +1 -0
  39. package/lib/host/mcp.d.ts +138 -0
  40. package/lib/host/mcp.js +104 -0
  41. package/lib/host/mcp.js.map +1 -0
  42. package/lib/host/memory.d.ts +26 -0
  43. package/lib/host/memory.js +155 -0
  44. package/lib/host/memory.js.map +1 -0
  45. package/lib/host/panel.d.ts +1 -0
  46. package/lib/host/panel.html +174 -0
  47. package/lib/host/panel.js +388 -0
  48. package/lib/host/panel.js.map +1 -0
  49. package/lib/host/runtime.d.ts +21 -0
  50. package/lib/host/runtime.js +145 -0
  51. package/lib/host/runtime.js.map +1 -0
  52. package/lib/host/types.d.ts +112 -0
  53. package/lib/host/types.js +2 -0
  54. package/lib/host/types.js.map +1 -0
  55. package/package.json +94 -4
  56. package/scripts/build.mjs +90 -0
  57. package/scripts/check.mjs +13 -0
  58. package/scripts/dump-npm-latest.mjs +30 -0
  59. package/scripts/model-smoke.mjs +25 -0
  60. package/src/agent.ts +203 -0
  61. package/src/bot.ts +173 -0
  62. package/src/client.ts +20 -0
  63. package/src/config.ts +217 -0
  64. package/src/files.ts +206 -0
  65. package/src/gateway.ts +276 -0
  66. package/src/github.ts +263 -0
  67. package/src/http.ts +41 -0
  68. package/src/index.ts +227 -0
  69. package/src/inference-worker.ts +89 -0
  70. package/src/mcp.ts +112 -0
  71. package/src/memory.ts +178 -0
  72. package/src/panel.html +174 -0
  73. package/src/panel.ts +440 -0
  74. package/src/runtime.ts +164 -0
  75. package/src/types.ts +106 -0
  76. package/test/core.test.mjs +279 -0
  77. package/test/fixtures/mcp-server.mjs +14 -0
  78. package/test/integration.test.mjs +253 -0
  79. package/test/panel.test.mjs +73 -0
  80. package/tsconfig.json +18 -0
  81. package/vendor/gugle-chat-bot/LICENSE +661 -0
  82. package/vendor/gugle-chat-bot/package.json +57 -0
  83. package/vendor/gugle-chat-bot/src/allow-rule.yml +9345 -0
  84. package/vendor/gugle-chat-bot/src/api.json +4285 -0
  85. package/vendor/gugle-chat-bot/src/command/index.ts +141 -0
  86. package/vendor/gugle-chat-bot/src/config/features.ts +548 -0
  87. package/vendor/gugle-chat-bot/src/config/index.ts +184 -0
  88. package/vendor/gugle-chat-bot/src/config/manager.ts +357 -0
  89. package/vendor/gugle-chat-bot/src/constants/index.ts +13 -0
  90. package/vendor/gugle-chat-bot/src/custom.ts +548 -0
  91. package/vendor/gugle-chat-bot/src/event/index.ts +118 -0
  92. package/vendor/gugle-chat-bot/src/features/admin/index.ts +414 -0
  93. package/vendor/gugle-chat-bot/src/features/bili/image/impl/video.ts +39 -0
  94. package/vendor/gugle-chat-bot/src/features/bili/image/index.ts +37 -0
  95. package/vendor/gugle-chat-bot/src/features/bili/index.ts +65 -0
  96. package/vendor/gugle-chat-bot/src/features/bili/template/style/video.css +97 -0
  97. package/vendor/gugle-chat-bot/src/features/bili/template/video.html +57 -0
  98. package/vendor/gugle-chat-bot/src/features/discord-bridge/index.ts +1128 -0
  99. package/vendor/gugle-chat-bot/src/features/discord-bridge/markdown.ts +105 -0
  100. package/vendor/gugle-chat-bot/src/features/discord-bridge/slash.ts +355 -0
  101. package/vendor/gugle-chat-bot/src/features/discord-bridge/source.ts +96 -0
  102. package/vendor/gugle-chat-bot/src/features/discord-bridge/template/message.html +14 -0
  103. package/vendor/gugle-chat-bot/src/features/discord-bridge/template/style/message.css +144 -0
  104. package/vendor/gugle-chat-bot/src/features/github/api.ts +93 -0
  105. package/vendor/gugle-chat-bot/src/features/github/binding.ts +161 -0
  106. package/vendor/gugle-chat-bot/src/features/github/image/impl/issue.ts +132 -0
  107. package/vendor/gugle-chat-bot/src/features/github/image/impl/pr.ts +144 -0
  108. package/vendor/gugle-chat-bot/src/features/github/image/impl/release.ts +160 -0
  109. package/vendor/gugle-chat-bot/src/features/github/image/index.ts +310 -0
  110. package/vendor/gugle-chat-bot/src/features/github/index.ts +302 -0
  111. package/vendor/gugle-chat-bot/src/features/github/template/issue.html +118 -0
  112. package/vendor/gugle-chat-bot/src/features/github/template/pull_request.html +125 -0
  113. package/vendor/gugle-chat-bot/src/features/github/template/release.html +53 -0
  114. package/vendor/gugle-chat-bot/src/features/github/template/style/issue.css +468 -0
  115. package/vendor/gugle-chat-bot/src/features/github/template/style/pull_request.css +469 -0
  116. package/vendor/gugle-chat-bot/src/features/github/template/style/release.css +412 -0
  117. package/vendor/gugle-chat-bot/src/features/hermes/client.ts +184 -0
  118. package/vendor/gugle-chat-bot/src/features/hermes/config.ts +210 -0
  119. package/vendor/gugle-chat-bot/src/features/hermes/context.ts +67 -0
  120. package/vendor/gugle-chat-bot/src/features/hermes/history.ts +86 -0
  121. package/vendor/gugle-chat-bot/src/features/hermes/index.ts +1533 -0
  122. package/vendor/gugle-chat-bot/src/features/hermes/message.ts +319 -0
  123. package/vendor/gugle-chat-bot/src/features/hermes/reaction.ts +181 -0
  124. package/vendor/gugle-chat-bot/src/features/hermes/render.ts +118 -0
  125. package/vendor/gugle-chat-bot/src/features/hermes/reply-units.ts +331 -0
  126. package/vendor/gugle-chat-bot/src/features/hermes/skills.ts +406 -0
  127. package/vendor/gugle-chat-bot/src/features/hermes/template/approval.html +30 -0
  128. package/vendor/gugle-chat-bot/src/features/hermes/template/progress.html +21 -0
  129. package/vendor/gugle-chat-bot/src/features/hermes/template/style/approval.css +81 -0
  130. package/vendor/gugle-chat-bot/src/features/hermes/template/style/progress.css +120 -0
  131. package/vendor/gugle-chat-bot/src/features/hermes/trigger.ts +86 -0
  132. package/vendor/gugle-chat-bot/src/features/hermes/types.ts +327 -0
  133. package/vendor/gugle-chat-bot/src/features/management/index.ts +156 -0
  134. package/vendor/gugle-chat-bot/src/features/minecraft/index.ts +127 -0
  135. package/vendor/gugle-chat-bot/src/features/modrinth/index.ts +71 -0
  136. package/vendor/gugle-chat-bot/src/features/parentheses/index.ts +117 -0
  137. package/vendor/gugle-chat-bot/src/features/peak-valley-timer/index.ts +452 -0
  138. package/vendor/gugle-chat-bot/src/features/poke/index.ts +24 -0
  139. package/vendor/gugle-chat-bot/src/features/version-tracker/index.ts +78 -0
  140. package/vendor/gugle-chat-bot/src/features/welcome/index.ts +58 -0
  141. package/vendor/gugle-chat-bot/src/github-ip.json +5814 -0
  142. package/vendor/gugle-chat-bot/src/image/index.ts +278 -0
  143. package/vendor/gugle-chat-bot/src/index.ts +695 -0
  144. package/vendor/gugle-chat-bot/src/logger/index.ts +54 -0
  145. package/vendor/gugle-chat-bot/src/result.json +359 -0
  146. package/vendor/gugle-chat-bot/src/type/bili.d.ts +825 -0
  147. package/vendor/gugle-chat-bot/src/type/event.d.ts +146 -0
  148. package/vendor/gugle-chat-bot/src/type/github.d.ts +446 -0
  149. package/vendor/gugle-chat-bot/src/type/index.d.ts +254 -0
  150. package/vendor/gugle-chat-bot/tsconfig.json +46 -0
@@ -0,0 +1,4285 @@
1
+ {
2
+ "type": "object",
3
+ "title": "Pull Request",
4
+ "description": "Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.",
5
+ "properties": {
6
+ "url": {
7
+ "type": "string",
8
+ "format": "uri",
9
+ "examples": [
10
+ "https://HOSTNAME/repos/octocat/Hello-World/pulls/1347"
11
+ ]
12
+ },
13
+ "id": {
14
+ "type": "integer",
15
+ "format": "int64",
16
+ "examples": [
17
+ 1
18
+ ]
19
+ },
20
+ "node_id": {
21
+ "type": "string",
22
+ "examples": [
23
+ "MDExOlB1bGxSZXF1ZXN0MQ=="
24
+ ]
25
+ },
26
+ "html_url": {
27
+ "type": "string",
28
+ "format": "uri",
29
+ "examples": [
30
+ "https://github.com/octocat/Hello-World/pull/1347"
31
+ ]
32
+ },
33
+ "diff_url": {
34
+ "type": "string",
35
+ "format": "uri",
36
+ "examples": [
37
+ "https://github.com/octocat/Hello-World/pull/1347.diff"
38
+ ]
39
+ },
40
+ "patch_url": {
41
+ "type": "string",
42
+ "format": "uri",
43
+ "examples": [
44
+ "https://github.com/octocat/Hello-World/pull/1347.patch"
45
+ ]
46
+ },
47
+ "issue_url": {
48
+ "type": "string",
49
+ "format": "uri",
50
+ "examples": [
51
+ "https://HOSTNAME/repos/octocat/Hello-World/issues/1347"
52
+ ]
53
+ },
54
+ "commits_url": {
55
+ "type": "string",
56
+ "format": "uri",
57
+ "examples": [
58
+ "https://HOSTNAME/repos/octocat/Hello-World/pulls/1347/commits"
59
+ ]
60
+ },
61
+ "review_comments_url": {
62
+ "type": "string",
63
+ "format": "uri",
64
+ "examples": [
65
+ "https://HOSTNAME/repos/octocat/Hello-World/pulls/1347/comments"
66
+ ]
67
+ },
68
+ "review_comment_url": {
69
+ "type": "string",
70
+ "examples": [
71
+ "https://HOSTNAME/repos/octocat/Hello-World/pulls/comments{/number}"
72
+ ]
73
+ },
74
+ "comments_url": {
75
+ "type": "string",
76
+ "format": "uri",
77
+ "examples": [
78
+ "https://HOSTNAME/repos/octocat/Hello-World/issues/1347/comments"
79
+ ]
80
+ },
81
+ "statuses_url": {
82
+ "type": "string",
83
+ "format": "uri",
84
+ "examples": [
85
+ "https://HOSTNAME/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
86
+ ]
87
+ },
88
+ "number": {
89
+ "description": "Number uniquely identifying the pull request within its repository.",
90
+ "type": "integer",
91
+ "examples": [
92
+ 42
93
+ ]
94
+ },
95
+ "state": {
96
+ "description": "State of this Pull Request. Either `open` or `closed`.",
97
+ "enum": [
98
+ "open",
99
+ "closed"
100
+ ],
101
+ "type": "string",
102
+ "examples": [
103
+ "open"
104
+ ]
105
+ },
106
+ "locked": {
107
+ "type": "boolean",
108
+ "examples": [
109
+ true
110
+ ]
111
+ },
112
+ "title": {
113
+ "description": "The title of the pull request.",
114
+ "type": "string",
115
+ "examples": [
116
+ "Amazing new feature"
117
+ ]
118
+ },
119
+ "user": {
120
+ "title": "Simple User",
121
+ "description": "A GitHub user.",
122
+ "type": "object",
123
+ "properties": {
124
+ "name": {
125
+ "type": [
126
+ "string",
127
+ "null"
128
+ ]
129
+ },
130
+ "email": {
131
+ "type": [
132
+ "string",
133
+ "null"
134
+ ]
135
+ },
136
+ "login": {
137
+ "type": "string",
138
+ "examples": [
139
+ "octocat"
140
+ ]
141
+ },
142
+ "id": {
143
+ "type": "integer",
144
+ "format": "int64",
145
+ "examples": [
146
+ 1
147
+ ]
148
+ },
149
+ "node_id": {
150
+ "type": "string",
151
+ "examples": [
152
+ "MDQ6VXNlcjE="
153
+ ]
154
+ },
155
+ "avatar_url": {
156
+ "type": "string",
157
+ "format": "uri",
158
+ "examples": [
159
+ "https://github.com/images/error/octocat_happy.gif"
160
+ ]
161
+ },
162
+ "gravatar_id": {
163
+ "type": [
164
+ "string",
165
+ "null"
166
+ ],
167
+ "examples": [
168
+ "41d064eb2195891e12d0413f63227ea7"
169
+ ]
170
+ },
171
+ "url": {
172
+ "type": "string",
173
+ "format": "uri",
174
+ "examples": [
175
+ "https://HOSTNAME/users/octocat"
176
+ ]
177
+ },
178
+ "html_url": {
179
+ "type": "string",
180
+ "format": "uri",
181
+ "examples": [
182
+ "https://github.com/octocat"
183
+ ]
184
+ },
185
+ "followers_url": {
186
+ "type": "string",
187
+ "format": "uri",
188
+ "examples": [
189
+ "https://HOSTNAME/users/octocat/followers"
190
+ ]
191
+ },
192
+ "following_url": {
193
+ "type": "string",
194
+ "examples": [
195
+ "https://HOSTNAME/users/octocat/following{/other_user}"
196
+ ]
197
+ },
198
+ "gists_url": {
199
+ "type": "string",
200
+ "examples": [
201
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
202
+ ]
203
+ },
204
+ "starred_url": {
205
+ "type": "string",
206
+ "examples": [
207
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
208
+ ]
209
+ },
210
+ "subscriptions_url": {
211
+ "type": "string",
212
+ "format": "uri",
213
+ "examples": [
214
+ "https://HOSTNAME/users/octocat/subscriptions"
215
+ ]
216
+ },
217
+ "organizations_url": {
218
+ "type": "string",
219
+ "format": "uri",
220
+ "examples": [
221
+ "https://HOSTNAME/users/octocat/orgs"
222
+ ]
223
+ },
224
+ "repos_url": {
225
+ "type": "string",
226
+ "format": "uri",
227
+ "examples": [
228
+ "https://HOSTNAME/users/octocat/repos"
229
+ ]
230
+ },
231
+ "events_url": {
232
+ "type": "string",
233
+ "examples": [
234
+ "https://HOSTNAME/users/octocat/events{/privacy}"
235
+ ]
236
+ },
237
+ "received_events_url": {
238
+ "type": "string",
239
+ "format": "uri",
240
+ "examples": [
241
+ "https://HOSTNAME/users/octocat/received_events"
242
+ ]
243
+ },
244
+ "type": {
245
+ "type": "string",
246
+ "examples": [
247
+ "User"
248
+ ]
249
+ },
250
+ "site_admin": {
251
+ "type": "boolean"
252
+ },
253
+ "starred_at": {
254
+ "type": "string",
255
+ "examples": [
256
+ "\"2020-07-09T00:17:55Z\""
257
+ ]
258
+ },
259
+ "user_view_type": {
260
+ "type": "string",
261
+ "examples": [
262
+ "public"
263
+ ]
264
+ }
265
+ },
266
+ "required": [
267
+ "avatar_url",
268
+ "events_url",
269
+ "followers_url",
270
+ "following_url",
271
+ "gists_url",
272
+ "gravatar_id",
273
+ "html_url",
274
+ "id",
275
+ "node_id",
276
+ "login",
277
+ "organizations_url",
278
+ "received_events_url",
279
+ "repos_url",
280
+ "site_admin",
281
+ "starred_url",
282
+ "subscriptions_url",
283
+ "type",
284
+ "url"
285
+ ]
286
+ },
287
+ "body": {
288
+ "type": [
289
+ "string",
290
+ "null"
291
+ ],
292
+ "examples": [
293
+ "Please pull these awesome changes"
294
+ ]
295
+ },
296
+ "labels": {
297
+ "type": "array",
298
+ "items": {
299
+ "type": "object",
300
+ "properties": {
301
+ "id": {
302
+ "type": "integer",
303
+ "format": "int64"
304
+ },
305
+ "node_id": {
306
+ "type": "string"
307
+ },
308
+ "url": {
309
+ "type": "string"
310
+ },
311
+ "name": {
312
+ "type": "string"
313
+ },
314
+ "description": {
315
+ "type": [
316
+ "string",
317
+ "null"
318
+ ]
319
+ },
320
+ "color": {
321
+ "type": "string"
322
+ },
323
+ "default": {
324
+ "type": "boolean"
325
+ }
326
+ },
327
+ "required": [
328
+ "id",
329
+ "node_id",
330
+ "url",
331
+ "name",
332
+ "description",
333
+ "color",
334
+ "default"
335
+ ]
336
+ }
337
+ },
338
+ "milestone": {
339
+ "anyOf": [
340
+ {
341
+ "type": "null"
342
+ },
343
+ {
344
+ "title": "Milestone",
345
+ "description": "A collection of related issues and pull requests.",
346
+ "type": "object",
347
+ "properties": {
348
+ "url": {
349
+ "type": "string",
350
+ "format": "uri",
351
+ "examples": [
352
+ "https://HOSTNAME/repos/octocat/Hello-World/milestones/1"
353
+ ]
354
+ },
355
+ "html_url": {
356
+ "type": "string",
357
+ "format": "uri",
358
+ "examples": [
359
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
360
+ ]
361
+ },
362
+ "labels_url": {
363
+ "type": "string",
364
+ "format": "uri",
365
+ "examples": [
366
+ "https://HOSTNAME/repos/octocat/Hello-World/milestones/1/labels"
367
+ ]
368
+ },
369
+ "id": {
370
+ "type": "integer",
371
+ "examples": [
372
+ 1002604
373
+ ]
374
+ },
375
+ "node_id": {
376
+ "type": "string",
377
+ "examples": [
378
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
379
+ ]
380
+ },
381
+ "number": {
382
+ "description": "The number of the milestone.",
383
+ "type": "integer",
384
+ "examples": [
385
+ 42
386
+ ]
387
+ },
388
+ "state": {
389
+ "description": "The state of the milestone.",
390
+ "type": "string",
391
+ "enum": [
392
+ "open",
393
+ "closed"
394
+ ],
395
+ "default": "open",
396
+ "examples": [
397
+ "open"
398
+ ]
399
+ },
400
+ "title": {
401
+ "description": "The title of the milestone.",
402
+ "type": "string",
403
+ "examples": [
404
+ "v1.0"
405
+ ]
406
+ },
407
+ "description": {
408
+ "type": [
409
+ "string",
410
+ "null"
411
+ ],
412
+ "examples": [
413
+ "Tracking milestone for version 1.0"
414
+ ]
415
+ },
416
+ "creator": {
417
+ "anyOf": [
418
+ {
419
+ "type": "null"
420
+ },
421
+ {
422
+ "title": "Simple User",
423
+ "description": "A GitHub user.",
424
+ "type": "object",
425
+ "properties": {
426
+ "name": {
427
+ "type": [
428
+ "string",
429
+ "null"
430
+ ]
431
+ },
432
+ "email": {
433
+ "type": [
434
+ "string",
435
+ "null"
436
+ ]
437
+ },
438
+ "login": {
439
+ "type": "string",
440
+ "examples": [
441
+ "octocat"
442
+ ]
443
+ },
444
+ "id": {
445
+ "type": "integer",
446
+ "format": "int64",
447
+ "examples": [
448
+ 1
449
+ ]
450
+ },
451
+ "node_id": {
452
+ "type": "string",
453
+ "examples": [
454
+ "MDQ6VXNlcjE="
455
+ ]
456
+ },
457
+ "avatar_url": {
458
+ "type": "string",
459
+ "format": "uri",
460
+ "examples": [
461
+ "https://github.com/images/error/octocat_happy.gif"
462
+ ]
463
+ },
464
+ "gravatar_id": {
465
+ "type": [
466
+ "string",
467
+ "null"
468
+ ],
469
+ "examples": [
470
+ "41d064eb2195891e12d0413f63227ea7"
471
+ ]
472
+ },
473
+ "url": {
474
+ "type": "string",
475
+ "format": "uri",
476
+ "examples": [
477
+ "https://HOSTNAME/users/octocat"
478
+ ]
479
+ },
480
+ "html_url": {
481
+ "type": "string",
482
+ "format": "uri",
483
+ "examples": [
484
+ "https://github.com/octocat"
485
+ ]
486
+ },
487
+ "followers_url": {
488
+ "type": "string",
489
+ "format": "uri",
490
+ "examples": [
491
+ "https://HOSTNAME/users/octocat/followers"
492
+ ]
493
+ },
494
+ "following_url": {
495
+ "type": "string",
496
+ "examples": [
497
+ "https://HOSTNAME/users/octocat/following{/other_user}"
498
+ ]
499
+ },
500
+ "gists_url": {
501
+ "type": "string",
502
+ "examples": [
503
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
504
+ ]
505
+ },
506
+ "starred_url": {
507
+ "type": "string",
508
+ "examples": [
509
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
510
+ ]
511
+ },
512
+ "subscriptions_url": {
513
+ "type": "string",
514
+ "format": "uri",
515
+ "examples": [
516
+ "https://HOSTNAME/users/octocat/subscriptions"
517
+ ]
518
+ },
519
+ "organizations_url": {
520
+ "type": "string",
521
+ "format": "uri",
522
+ "examples": [
523
+ "https://HOSTNAME/users/octocat/orgs"
524
+ ]
525
+ },
526
+ "repos_url": {
527
+ "type": "string",
528
+ "format": "uri",
529
+ "examples": [
530
+ "https://HOSTNAME/users/octocat/repos"
531
+ ]
532
+ },
533
+ "events_url": {
534
+ "type": "string",
535
+ "examples": [
536
+ "https://HOSTNAME/users/octocat/events{/privacy}"
537
+ ]
538
+ },
539
+ "received_events_url": {
540
+ "type": "string",
541
+ "format": "uri",
542
+ "examples": [
543
+ "https://HOSTNAME/users/octocat/received_events"
544
+ ]
545
+ },
546
+ "type": {
547
+ "type": "string",
548
+ "examples": [
549
+ "User"
550
+ ]
551
+ },
552
+ "site_admin": {
553
+ "type": "boolean"
554
+ },
555
+ "starred_at": {
556
+ "type": "string",
557
+ "examples": [
558
+ "\"2020-07-09T00:17:55Z\""
559
+ ]
560
+ },
561
+ "user_view_type": {
562
+ "type": "string",
563
+ "examples": [
564
+ "public"
565
+ ]
566
+ }
567
+ },
568
+ "required": [
569
+ "avatar_url",
570
+ "events_url",
571
+ "followers_url",
572
+ "following_url",
573
+ "gists_url",
574
+ "gravatar_id",
575
+ "html_url",
576
+ "id",
577
+ "node_id",
578
+ "login",
579
+ "organizations_url",
580
+ "received_events_url",
581
+ "repos_url",
582
+ "site_admin",
583
+ "starred_url",
584
+ "subscriptions_url",
585
+ "type",
586
+ "url"
587
+ ]
588
+ }
589
+ ]
590
+ },
591
+ "open_issues": {
592
+ "type": "integer",
593
+ "examples": [
594
+ 4
595
+ ]
596
+ },
597
+ "closed_issues": {
598
+ "type": "integer",
599
+ "examples": [
600
+ 8
601
+ ]
602
+ },
603
+ "created_at": {
604
+ "type": "string",
605
+ "format": "date-time",
606
+ "examples": [
607
+ "2011-04-10T20:09:31Z"
608
+ ]
609
+ },
610
+ "updated_at": {
611
+ "type": "string",
612
+ "format": "date-time",
613
+ "examples": [
614
+ "2014-03-03T18:58:10Z"
615
+ ]
616
+ },
617
+ "closed_at": {
618
+ "type": [
619
+ "string",
620
+ "null"
621
+ ],
622
+ "format": "date-time",
623
+ "examples": [
624
+ "2013-02-12T13:22:01Z"
625
+ ]
626
+ },
627
+ "due_on": {
628
+ "type": [
629
+ "string",
630
+ "null"
631
+ ],
632
+ "format": "date-time",
633
+ "examples": [
634
+ "2012-10-09T23:39:01Z"
635
+ ]
636
+ }
637
+ },
638
+ "required": [
639
+ "closed_issues",
640
+ "creator",
641
+ "description",
642
+ "due_on",
643
+ "closed_at",
644
+ "id",
645
+ "node_id",
646
+ "labels_url",
647
+ "html_url",
648
+ "number",
649
+ "open_issues",
650
+ "state",
651
+ "title",
652
+ "url",
653
+ "created_at",
654
+ "updated_at"
655
+ ]
656
+ }
657
+ ]
658
+ },
659
+ "active_lock_reason": {
660
+ "type": [
661
+ "string",
662
+ "null"
663
+ ],
664
+ "examples": [
665
+ "too heated"
666
+ ]
667
+ },
668
+ "created_at": {
669
+ "type": "string",
670
+ "format": "date-time",
671
+ "examples": [
672
+ "2011-01-26T19:01:12Z"
673
+ ]
674
+ },
675
+ "updated_at": {
676
+ "type": "string",
677
+ "format": "date-time",
678
+ "examples": [
679
+ "2011-01-26T19:01:12Z"
680
+ ]
681
+ },
682
+ "closed_at": {
683
+ "type": [
684
+ "string",
685
+ "null"
686
+ ],
687
+ "format": "date-time",
688
+ "examples": [
689
+ "2011-01-26T19:01:12Z"
690
+ ]
691
+ },
692
+ "merged_at": {
693
+ "type": [
694
+ "string",
695
+ "null"
696
+ ],
697
+ "format": "date-time",
698
+ "examples": [
699
+ "2011-01-26T19:01:12Z"
700
+ ]
701
+ },
702
+ "merge_commit_sha": {
703
+ "type": [
704
+ "string",
705
+ "null"
706
+ ],
707
+ "examples": [
708
+ "e5bd3914e2e596debea16f433f57875b5b90bcd6"
709
+ ]
710
+ },
711
+ "assignee": {
712
+ "anyOf": [
713
+ {
714
+ "type": "null"
715
+ },
716
+ {
717
+ "title": "Simple User",
718
+ "description": "A GitHub user.",
719
+ "type": "object",
720
+ "properties": {
721
+ "name": {
722
+ "type": [
723
+ "string",
724
+ "null"
725
+ ]
726
+ },
727
+ "email": {
728
+ "type": [
729
+ "string",
730
+ "null"
731
+ ]
732
+ },
733
+ "login": {
734
+ "type": "string",
735
+ "examples": [
736
+ "octocat"
737
+ ]
738
+ },
739
+ "id": {
740
+ "type": "integer",
741
+ "format": "int64",
742
+ "examples": [
743
+ 1
744
+ ]
745
+ },
746
+ "node_id": {
747
+ "type": "string",
748
+ "examples": [
749
+ "MDQ6VXNlcjE="
750
+ ]
751
+ },
752
+ "avatar_url": {
753
+ "type": "string",
754
+ "format": "uri",
755
+ "examples": [
756
+ "https://github.com/images/error/octocat_happy.gif"
757
+ ]
758
+ },
759
+ "gravatar_id": {
760
+ "type": [
761
+ "string",
762
+ "null"
763
+ ],
764
+ "examples": [
765
+ "41d064eb2195891e12d0413f63227ea7"
766
+ ]
767
+ },
768
+ "url": {
769
+ "type": "string",
770
+ "format": "uri",
771
+ "examples": [
772
+ "https://HOSTNAME/users/octocat"
773
+ ]
774
+ },
775
+ "html_url": {
776
+ "type": "string",
777
+ "format": "uri",
778
+ "examples": [
779
+ "https://github.com/octocat"
780
+ ]
781
+ },
782
+ "followers_url": {
783
+ "type": "string",
784
+ "format": "uri",
785
+ "examples": [
786
+ "https://HOSTNAME/users/octocat/followers"
787
+ ]
788
+ },
789
+ "following_url": {
790
+ "type": "string",
791
+ "examples": [
792
+ "https://HOSTNAME/users/octocat/following{/other_user}"
793
+ ]
794
+ },
795
+ "gists_url": {
796
+ "type": "string",
797
+ "examples": [
798
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
799
+ ]
800
+ },
801
+ "starred_url": {
802
+ "type": "string",
803
+ "examples": [
804
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
805
+ ]
806
+ },
807
+ "subscriptions_url": {
808
+ "type": "string",
809
+ "format": "uri",
810
+ "examples": [
811
+ "https://HOSTNAME/users/octocat/subscriptions"
812
+ ]
813
+ },
814
+ "organizations_url": {
815
+ "type": "string",
816
+ "format": "uri",
817
+ "examples": [
818
+ "https://HOSTNAME/users/octocat/orgs"
819
+ ]
820
+ },
821
+ "repos_url": {
822
+ "type": "string",
823
+ "format": "uri",
824
+ "examples": [
825
+ "https://HOSTNAME/users/octocat/repos"
826
+ ]
827
+ },
828
+ "events_url": {
829
+ "type": "string",
830
+ "examples": [
831
+ "https://HOSTNAME/users/octocat/events{/privacy}"
832
+ ]
833
+ },
834
+ "received_events_url": {
835
+ "type": "string",
836
+ "format": "uri",
837
+ "examples": [
838
+ "https://HOSTNAME/users/octocat/received_events"
839
+ ]
840
+ },
841
+ "type": {
842
+ "type": "string",
843
+ "examples": [
844
+ "User"
845
+ ]
846
+ },
847
+ "site_admin": {
848
+ "type": "boolean"
849
+ },
850
+ "starred_at": {
851
+ "type": "string",
852
+ "examples": [
853
+ "\"2020-07-09T00:17:55Z\""
854
+ ]
855
+ },
856
+ "user_view_type": {
857
+ "type": "string",
858
+ "examples": [
859
+ "public"
860
+ ]
861
+ }
862
+ },
863
+ "required": [
864
+ "avatar_url",
865
+ "events_url",
866
+ "followers_url",
867
+ "following_url",
868
+ "gists_url",
869
+ "gravatar_id",
870
+ "html_url",
871
+ "id",
872
+ "node_id",
873
+ "login",
874
+ "organizations_url",
875
+ "received_events_url",
876
+ "repos_url",
877
+ "site_admin",
878
+ "starred_url",
879
+ "subscriptions_url",
880
+ "type",
881
+ "url"
882
+ ]
883
+ }
884
+ ]
885
+ },
886
+ "assignees": {
887
+ "type": [
888
+ "array",
889
+ "null"
890
+ ],
891
+ "items": {
892
+ "title": "Simple User",
893
+ "description": "A GitHub user.",
894
+ "type": "object",
895
+ "properties": {
896
+ "name": {
897
+ "type": [
898
+ "string",
899
+ "null"
900
+ ]
901
+ },
902
+ "email": {
903
+ "type": [
904
+ "string",
905
+ "null"
906
+ ]
907
+ },
908
+ "login": {
909
+ "type": "string",
910
+ "examples": [
911
+ "octocat"
912
+ ]
913
+ },
914
+ "id": {
915
+ "type": "integer",
916
+ "format": "int64",
917
+ "examples": [
918
+ 1
919
+ ]
920
+ },
921
+ "node_id": {
922
+ "type": "string",
923
+ "examples": [
924
+ "MDQ6VXNlcjE="
925
+ ]
926
+ },
927
+ "avatar_url": {
928
+ "type": "string",
929
+ "format": "uri",
930
+ "examples": [
931
+ "https://github.com/images/error/octocat_happy.gif"
932
+ ]
933
+ },
934
+ "gravatar_id": {
935
+ "type": [
936
+ "string",
937
+ "null"
938
+ ],
939
+ "examples": [
940
+ "41d064eb2195891e12d0413f63227ea7"
941
+ ]
942
+ },
943
+ "url": {
944
+ "type": "string",
945
+ "format": "uri",
946
+ "examples": [
947
+ "https://HOSTNAME/users/octocat"
948
+ ]
949
+ },
950
+ "html_url": {
951
+ "type": "string",
952
+ "format": "uri",
953
+ "examples": [
954
+ "https://github.com/octocat"
955
+ ]
956
+ },
957
+ "followers_url": {
958
+ "type": "string",
959
+ "format": "uri",
960
+ "examples": [
961
+ "https://HOSTNAME/users/octocat/followers"
962
+ ]
963
+ },
964
+ "following_url": {
965
+ "type": "string",
966
+ "examples": [
967
+ "https://HOSTNAME/users/octocat/following{/other_user}"
968
+ ]
969
+ },
970
+ "gists_url": {
971
+ "type": "string",
972
+ "examples": [
973
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
974
+ ]
975
+ },
976
+ "starred_url": {
977
+ "type": "string",
978
+ "examples": [
979
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
980
+ ]
981
+ },
982
+ "subscriptions_url": {
983
+ "type": "string",
984
+ "format": "uri",
985
+ "examples": [
986
+ "https://HOSTNAME/users/octocat/subscriptions"
987
+ ]
988
+ },
989
+ "organizations_url": {
990
+ "type": "string",
991
+ "format": "uri",
992
+ "examples": [
993
+ "https://HOSTNAME/users/octocat/orgs"
994
+ ]
995
+ },
996
+ "repos_url": {
997
+ "type": "string",
998
+ "format": "uri",
999
+ "examples": [
1000
+ "https://HOSTNAME/users/octocat/repos"
1001
+ ]
1002
+ },
1003
+ "events_url": {
1004
+ "type": "string",
1005
+ "examples": [
1006
+ "https://HOSTNAME/users/octocat/events{/privacy}"
1007
+ ]
1008
+ },
1009
+ "received_events_url": {
1010
+ "type": "string",
1011
+ "format": "uri",
1012
+ "examples": [
1013
+ "https://HOSTNAME/users/octocat/received_events"
1014
+ ]
1015
+ },
1016
+ "type": {
1017
+ "type": "string",
1018
+ "examples": [
1019
+ "User"
1020
+ ]
1021
+ },
1022
+ "site_admin": {
1023
+ "type": "boolean"
1024
+ },
1025
+ "starred_at": {
1026
+ "type": "string",
1027
+ "examples": [
1028
+ "\"2020-07-09T00:17:55Z\""
1029
+ ]
1030
+ },
1031
+ "user_view_type": {
1032
+ "type": "string",
1033
+ "examples": [
1034
+ "public"
1035
+ ]
1036
+ }
1037
+ },
1038
+ "required": [
1039
+ "avatar_url",
1040
+ "events_url",
1041
+ "followers_url",
1042
+ "following_url",
1043
+ "gists_url",
1044
+ "gravatar_id",
1045
+ "html_url",
1046
+ "id",
1047
+ "node_id",
1048
+ "login",
1049
+ "organizations_url",
1050
+ "received_events_url",
1051
+ "repos_url",
1052
+ "site_admin",
1053
+ "starred_url",
1054
+ "subscriptions_url",
1055
+ "type",
1056
+ "url"
1057
+ ]
1058
+ }
1059
+ },
1060
+ "requested_reviewers": {
1061
+ "type": [
1062
+ "array",
1063
+ "null"
1064
+ ],
1065
+ "items": {
1066
+ "title": "Simple User",
1067
+ "description": "A GitHub user.",
1068
+ "type": "object",
1069
+ "properties": {
1070
+ "name": {
1071
+ "type": [
1072
+ "string",
1073
+ "null"
1074
+ ]
1075
+ },
1076
+ "email": {
1077
+ "type": [
1078
+ "string",
1079
+ "null"
1080
+ ]
1081
+ },
1082
+ "login": {
1083
+ "type": "string",
1084
+ "examples": [
1085
+ "octocat"
1086
+ ]
1087
+ },
1088
+ "id": {
1089
+ "type": "integer",
1090
+ "format": "int64",
1091
+ "examples": [
1092
+ 1
1093
+ ]
1094
+ },
1095
+ "node_id": {
1096
+ "type": "string",
1097
+ "examples": [
1098
+ "MDQ6VXNlcjE="
1099
+ ]
1100
+ },
1101
+ "avatar_url": {
1102
+ "type": "string",
1103
+ "format": "uri",
1104
+ "examples": [
1105
+ "https://github.com/images/error/octocat_happy.gif"
1106
+ ]
1107
+ },
1108
+ "gravatar_id": {
1109
+ "type": [
1110
+ "string",
1111
+ "null"
1112
+ ],
1113
+ "examples": [
1114
+ "41d064eb2195891e12d0413f63227ea7"
1115
+ ]
1116
+ },
1117
+ "url": {
1118
+ "type": "string",
1119
+ "format": "uri",
1120
+ "examples": [
1121
+ "https://HOSTNAME/users/octocat"
1122
+ ]
1123
+ },
1124
+ "html_url": {
1125
+ "type": "string",
1126
+ "format": "uri",
1127
+ "examples": [
1128
+ "https://github.com/octocat"
1129
+ ]
1130
+ },
1131
+ "followers_url": {
1132
+ "type": "string",
1133
+ "format": "uri",
1134
+ "examples": [
1135
+ "https://HOSTNAME/users/octocat/followers"
1136
+ ]
1137
+ },
1138
+ "following_url": {
1139
+ "type": "string",
1140
+ "examples": [
1141
+ "https://HOSTNAME/users/octocat/following{/other_user}"
1142
+ ]
1143
+ },
1144
+ "gists_url": {
1145
+ "type": "string",
1146
+ "examples": [
1147
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
1148
+ ]
1149
+ },
1150
+ "starred_url": {
1151
+ "type": "string",
1152
+ "examples": [
1153
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
1154
+ ]
1155
+ },
1156
+ "subscriptions_url": {
1157
+ "type": "string",
1158
+ "format": "uri",
1159
+ "examples": [
1160
+ "https://HOSTNAME/users/octocat/subscriptions"
1161
+ ]
1162
+ },
1163
+ "organizations_url": {
1164
+ "type": "string",
1165
+ "format": "uri",
1166
+ "examples": [
1167
+ "https://HOSTNAME/users/octocat/orgs"
1168
+ ]
1169
+ },
1170
+ "repos_url": {
1171
+ "type": "string",
1172
+ "format": "uri",
1173
+ "examples": [
1174
+ "https://HOSTNAME/users/octocat/repos"
1175
+ ]
1176
+ },
1177
+ "events_url": {
1178
+ "type": "string",
1179
+ "examples": [
1180
+ "https://HOSTNAME/users/octocat/events{/privacy}"
1181
+ ]
1182
+ },
1183
+ "received_events_url": {
1184
+ "type": "string",
1185
+ "format": "uri",
1186
+ "examples": [
1187
+ "https://HOSTNAME/users/octocat/received_events"
1188
+ ]
1189
+ },
1190
+ "type": {
1191
+ "type": "string",
1192
+ "examples": [
1193
+ "User"
1194
+ ]
1195
+ },
1196
+ "site_admin": {
1197
+ "type": "boolean"
1198
+ },
1199
+ "starred_at": {
1200
+ "type": "string",
1201
+ "examples": [
1202
+ "\"2020-07-09T00:17:55Z\""
1203
+ ]
1204
+ },
1205
+ "user_view_type": {
1206
+ "type": "string",
1207
+ "examples": [
1208
+ "public"
1209
+ ]
1210
+ }
1211
+ },
1212
+ "required": [
1213
+ "avatar_url",
1214
+ "events_url",
1215
+ "followers_url",
1216
+ "following_url",
1217
+ "gists_url",
1218
+ "gravatar_id",
1219
+ "html_url",
1220
+ "id",
1221
+ "node_id",
1222
+ "login",
1223
+ "organizations_url",
1224
+ "received_events_url",
1225
+ "repos_url",
1226
+ "site_admin",
1227
+ "starred_url",
1228
+ "subscriptions_url",
1229
+ "type",
1230
+ "url"
1231
+ ]
1232
+ }
1233
+ },
1234
+ "requested_teams": {
1235
+ "type": [
1236
+ "array",
1237
+ "null"
1238
+ ],
1239
+ "items": {
1240
+ "title": "Team Simple",
1241
+ "description": "Groups of organization members that gives permissions on specified repositories.",
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "id": {
1245
+ "description": "Unique identifier of the team",
1246
+ "type": "integer",
1247
+ "examples": [
1248
+ 1
1249
+ ]
1250
+ },
1251
+ "node_id": {
1252
+ "type": "string",
1253
+ "examples": [
1254
+ "MDQ6VGVhbTE="
1255
+ ]
1256
+ },
1257
+ "url": {
1258
+ "description": "URL for the team",
1259
+ "type": "string",
1260
+ "format": "uri",
1261
+ "examples": [
1262
+ "https://HOSTNAME/organizations/1/team/1"
1263
+ ]
1264
+ },
1265
+ "members_url": {
1266
+ "type": "string",
1267
+ "examples": [
1268
+ "https://HOSTNAME/organizations/1/team/1/members{/member}"
1269
+ ]
1270
+ },
1271
+ "name": {
1272
+ "description": "Name of the team",
1273
+ "type": "string",
1274
+ "examples": [
1275
+ "Justice League"
1276
+ ]
1277
+ },
1278
+ "description": {
1279
+ "description": "Description of the team",
1280
+ "type": [
1281
+ "string",
1282
+ "null"
1283
+ ],
1284
+ "examples": [
1285
+ "A great team."
1286
+ ]
1287
+ },
1288
+ "permission": {
1289
+ "description": "Permission that the team will have for its repositories",
1290
+ "type": "string",
1291
+ "examples": [
1292
+ "admin"
1293
+ ]
1294
+ },
1295
+ "privacy": {
1296
+ "description": "The level of privacy this team should have",
1297
+ "type": "string",
1298
+ "examples": [
1299
+ "closed"
1300
+ ]
1301
+ },
1302
+ "notification_setting": {
1303
+ "description": "The notification setting the team has set",
1304
+ "type": "string",
1305
+ "examples": [
1306
+ "notifications_enabled"
1307
+ ]
1308
+ },
1309
+ "html_url": {
1310
+ "type": "string",
1311
+ "format": "uri",
1312
+ "examples": [
1313
+ "https://github.com/orgs/rails/teams/core"
1314
+ ]
1315
+ },
1316
+ "repositories_url": {
1317
+ "type": "string",
1318
+ "format": "uri",
1319
+ "examples": [
1320
+ "https://HOSTNAME/organizations/1/team/1/repos"
1321
+ ]
1322
+ },
1323
+ "slug": {
1324
+ "type": "string",
1325
+ "examples": [
1326
+ "justice-league"
1327
+ ]
1328
+ },
1329
+ "ldap_dn": {
1330
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
1331
+ "type": "string",
1332
+ "examples": [
1333
+ "uid=example,ou=users,dc=github,dc=com"
1334
+ ]
1335
+ },
1336
+ "type": {
1337
+ "description": "The ownership type of the team",
1338
+ "type": "string",
1339
+ "enum": [
1340
+ "enterprise",
1341
+ "organization"
1342
+ ]
1343
+ },
1344
+ "organization_id": {
1345
+ "type": "integer",
1346
+ "description": "Unique identifier of the organization to which this team belongs",
1347
+ "examples": [
1348
+ 37
1349
+ ]
1350
+ },
1351
+ "enterprise_id": {
1352
+ "type": "integer",
1353
+ "description": "Unique identifier of the enterprise to which this team belongs",
1354
+ "examples": [
1355
+ 42
1356
+ ]
1357
+ }
1358
+ },
1359
+ "required": [
1360
+ "id",
1361
+ "node_id",
1362
+ "url",
1363
+ "members_url",
1364
+ "name",
1365
+ "description",
1366
+ "permission",
1367
+ "html_url",
1368
+ "repositories_url",
1369
+ "slug",
1370
+ "type"
1371
+ ]
1372
+ }
1373
+ },
1374
+ "head": {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "label": {
1378
+ "type": "string"
1379
+ },
1380
+ "ref": {
1381
+ "type": "string"
1382
+ },
1383
+ "repo": {
1384
+ "title": "Repository",
1385
+ "description": "A repository on GitHub.",
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "id": {
1389
+ "description": "Unique identifier of the repository",
1390
+ "type": "integer",
1391
+ "format": "int64",
1392
+ "examples": [
1393
+ 42
1394
+ ]
1395
+ },
1396
+ "node_id": {
1397
+ "type": "string",
1398
+ "examples": [
1399
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
1400
+ ]
1401
+ },
1402
+ "name": {
1403
+ "description": "The name of the repository.",
1404
+ "type": "string",
1405
+ "examples": [
1406
+ "Team Environment"
1407
+ ]
1408
+ },
1409
+ "full_name": {
1410
+ "type": "string",
1411
+ "examples": [
1412
+ "octocat/Hello-World"
1413
+ ]
1414
+ },
1415
+ "license": {
1416
+ "anyOf": [
1417
+ {
1418
+ "type": "null"
1419
+ },
1420
+ {
1421
+ "title": "License Simple",
1422
+ "description": "License Simple",
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "key": {
1426
+ "type": "string",
1427
+ "examples": [
1428
+ "mit"
1429
+ ]
1430
+ },
1431
+ "name": {
1432
+ "type": "string",
1433
+ "examples": [
1434
+ "MIT License"
1435
+ ]
1436
+ },
1437
+ "url": {
1438
+ "type": [
1439
+ "string",
1440
+ "null"
1441
+ ],
1442
+ "format": "uri",
1443
+ "examples": [
1444
+ "https://HOSTNAME/licenses/mit"
1445
+ ]
1446
+ },
1447
+ "spdx_id": {
1448
+ "type": [
1449
+ "string",
1450
+ "null"
1451
+ ],
1452
+ "examples": [
1453
+ "MIT"
1454
+ ]
1455
+ },
1456
+ "node_id": {
1457
+ "type": "string",
1458
+ "examples": [
1459
+ "MDc6TGljZW5zZW1pdA=="
1460
+ ]
1461
+ },
1462
+ "html_url": {
1463
+ "type": "string",
1464
+ "format": "uri"
1465
+ }
1466
+ },
1467
+ "required": [
1468
+ "key",
1469
+ "name",
1470
+ "url",
1471
+ "spdx_id",
1472
+ "node_id"
1473
+ ]
1474
+ }
1475
+ ]
1476
+ },
1477
+ "forks": {
1478
+ "type": "integer"
1479
+ },
1480
+ "permissions": {
1481
+ "type": "object",
1482
+ "properties": {
1483
+ "admin": {
1484
+ "type": "boolean"
1485
+ },
1486
+ "pull": {
1487
+ "type": "boolean"
1488
+ },
1489
+ "triage": {
1490
+ "type": "boolean"
1491
+ },
1492
+ "push": {
1493
+ "type": "boolean"
1494
+ },
1495
+ "maintain": {
1496
+ "type": "boolean"
1497
+ }
1498
+ },
1499
+ "required": [
1500
+ "admin",
1501
+ "pull",
1502
+ "push"
1503
+ ]
1504
+ },
1505
+ "owner": {
1506
+ "title": "Simple User",
1507
+ "description": "A GitHub user.",
1508
+ "type": "object",
1509
+ "properties": {
1510
+ "name": {
1511
+ "type": [
1512
+ "string",
1513
+ "null"
1514
+ ]
1515
+ },
1516
+ "email": {
1517
+ "type": [
1518
+ "string",
1519
+ "null"
1520
+ ]
1521
+ },
1522
+ "login": {
1523
+ "type": "string",
1524
+ "examples": [
1525
+ "octocat"
1526
+ ]
1527
+ },
1528
+ "id": {
1529
+ "type": "integer",
1530
+ "format": "int64",
1531
+ "examples": [
1532
+ 1
1533
+ ]
1534
+ },
1535
+ "node_id": {
1536
+ "type": "string",
1537
+ "examples": [
1538
+ "MDQ6VXNlcjE="
1539
+ ]
1540
+ },
1541
+ "avatar_url": {
1542
+ "type": "string",
1543
+ "format": "uri",
1544
+ "examples": [
1545
+ "https://github.com/images/error/octocat_happy.gif"
1546
+ ]
1547
+ },
1548
+ "gravatar_id": {
1549
+ "type": [
1550
+ "string",
1551
+ "null"
1552
+ ],
1553
+ "examples": [
1554
+ "41d064eb2195891e12d0413f63227ea7"
1555
+ ]
1556
+ },
1557
+ "url": {
1558
+ "type": "string",
1559
+ "format": "uri",
1560
+ "examples": [
1561
+ "https://HOSTNAME/users/octocat"
1562
+ ]
1563
+ },
1564
+ "html_url": {
1565
+ "type": "string",
1566
+ "format": "uri",
1567
+ "examples": [
1568
+ "https://github.com/octocat"
1569
+ ]
1570
+ },
1571
+ "followers_url": {
1572
+ "type": "string",
1573
+ "format": "uri",
1574
+ "examples": [
1575
+ "https://HOSTNAME/users/octocat/followers"
1576
+ ]
1577
+ },
1578
+ "following_url": {
1579
+ "type": "string",
1580
+ "examples": [
1581
+ "https://HOSTNAME/users/octocat/following{/other_user}"
1582
+ ]
1583
+ },
1584
+ "gists_url": {
1585
+ "type": "string",
1586
+ "examples": [
1587
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
1588
+ ]
1589
+ },
1590
+ "starred_url": {
1591
+ "type": "string",
1592
+ "examples": [
1593
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
1594
+ ]
1595
+ },
1596
+ "subscriptions_url": {
1597
+ "type": "string",
1598
+ "format": "uri",
1599
+ "examples": [
1600
+ "https://HOSTNAME/users/octocat/subscriptions"
1601
+ ]
1602
+ },
1603
+ "organizations_url": {
1604
+ "type": "string",
1605
+ "format": "uri",
1606
+ "examples": [
1607
+ "https://HOSTNAME/users/octocat/orgs"
1608
+ ]
1609
+ },
1610
+ "repos_url": {
1611
+ "type": "string",
1612
+ "format": "uri",
1613
+ "examples": [
1614
+ "https://HOSTNAME/users/octocat/repos"
1615
+ ]
1616
+ },
1617
+ "events_url": {
1618
+ "type": "string",
1619
+ "examples": [
1620
+ "https://HOSTNAME/users/octocat/events{/privacy}"
1621
+ ]
1622
+ },
1623
+ "received_events_url": {
1624
+ "type": "string",
1625
+ "format": "uri",
1626
+ "examples": [
1627
+ "https://HOSTNAME/users/octocat/received_events"
1628
+ ]
1629
+ },
1630
+ "type": {
1631
+ "type": "string",
1632
+ "examples": [
1633
+ "User"
1634
+ ]
1635
+ },
1636
+ "site_admin": {
1637
+ "type": "boolean"
1638
+ },
1639
+ "starred_at": {
1640
+ "type": "string",
1641
+ "examples": [
1642
+ "\"2020-07-09T00:17:55Z\""
1643
+ ]
1644
+ },
1645
+ "user_view_type": {
1646
+ "type": "string",
1647
+ "examples": [
1648
+ "public"
1649
+ ]
1650
+ }
1651
+ },
1652
+ "required": [
1653
+ "avatar_url",
1654
+ "events_url",
1655
+ "followers_url",
1656
+ "following_url",
1657
+ "gists_url",
1658
+ "gravatar_id",
1659
+ "html_url",
1660
+ "id",
1661
+ "node_id",
1662
+ "login",
1663
+ "organizations_url",
1664
+ "received_events_url",
1665
+ "repos_url",
1666
+ "site_admin",
1667
+ "starred_url",
1668
+ "subscriptions_url",
1669
+ "type",
1670
+ "url"
1671
+ ]
1672
+ },
1673
+ "private": {
1674
+ "description": "Whether the repository is private or public.",
1675
+ "default": false,
1676
+ "type": "boolean"
1677
+ },
1678
+ "html_url": {
1679
+ "type": "string",
1680
+ "format": "uri",
1681
+ "examples": [
1682
+ "https://github.com/octocat/Hello-World"
1683
+ ]
1684
+ },
1685
+ "description": {
1686
+ "type": [
1687
+ "string",
1688
+ "null"
1689
+ ],
1690
+ "examples": [
1691
+ "This your first repo!"
1692
+ ]
1693
+ },
1694
+ "fork": {
1695
+ "type": "boolean"
1696
+ },
1697
+ "url": {
1698
+ "type": "string",
1699
+ "format": "uri",
1700
+ "examples": [
1701
+ "https://HOSTNAME/repos/octocat/Hello-World"
1702
+ ]
1703
+ },
1704
+ "archive_url": {
1705
+ "type": "string",
1706
+ "examples": [
1707
+ "http://HOSTNAME/repos/octocat/Hello-World/{archive_format}{/ref}"
1708
+ ]
1709
+ },
1710
+ "assignees_url": {
1711
+ "type": "string",
1712
+ "examples": [
1713
+ "http://HOSTNAME/repos/octocat/Hello-World/assignees{/user}"
1714
+ ]
1715
+ },
1716
+ "blobs_url": {
1717
+ "type": "string",
1718
+ "examples": [
1719
+ "http://HOSTNAME/repos/octocat/Hello-World/git/blobs{/sha}"
1720
+ ]
1721
+ },
1722
+ "branches_url": {
1723
+ "type": "string",
1724
+ "examples": [
1725
+ "http://HOSTNAME/repos/octocat/Hello-World/branches{/branch}"
1726
+ ]
1727
+ },
1728
+ "collaborators_url": {
1729
+ "type": "string",
1730
+ "examples": [
1731
+ "http://HOSTNAME/repos/octocat/Hello-World/collaborators{/collaborator}"
1732
+ ]
1733
+ },
1734
+ "comments_url": {
1735
+ "type": "string",
1736
+ "examples": [
1737
+ "http://HOSTNAME/repos/octocat/Hello-World/comments{/number}"
1738
+ ]
1739
+ },
1740
+ "commits_url": {
1741
+ "type": "string",
1742
+ "examples": [
1743
+ "http://HOSTNAME/repos/octocat/Hello-World/commits{/sha}"
1744
+ ]
1745
+ },
1746
+ "compare_url": {
1747
+ "type": "string",
1748
+ "examples": [
1749
+ "http://HOSTNAME/repos/octocat/Hello-World/compare/{base}...{head}"
1750
+ ]
1751
+ },
1752
+ "contents_url": {
1753
+ "type": "string",
1754
+ "examples": [
1755
+ "http://HOSTNAME/repos/octocat/Hello-World/contents/{+path}"
1756
+ ]
1757
+ },
1758
+ "contributors_url": {
1759
+ "type": "string",
1760
+ "format": "uri",
1761
+ "examples": [
1762
+ "http://HOSTNAME/repos/octocat/Hello-World/contributors"
1763
+ ]
1764
+ },
1765
+ "deployments_url": {
1766
+ "type": "string",
1767
+ "format": "uri",
1768
+ "examples": [
1769
+ "http://HOSTNAME/repos/octocat/Hello-World/deployments"
1770
+ ]
1771
+ },
1772
+ "downloads_url": {
1773
+ "type": "string",
1774
+ "format": "uri",
1775
+ "examples": [
1776
+ "http://HOSTNAME/repos/octocat/Hello-World/downloads"
1777
+ ]
1778
+ },
1779
+ "events_url": {
1780
+ "type": "string",
1781
+ "format": "uri",
1782
+ "examples": [
1783
+ "http://HOSTNAME/repos/octocat/Hello-World/events"
1784
+ ]
1785
+ },
1786
+ "forks_url": {
1787
+ "type": "string",
1788
+ "format": "uri",
1789
+ "examples": [
1790
+ "http://HOSTNAME/repos/octocat/Hello-World/forks"
1791
+ ]
1792
+ },
1793
+ "git_commits_url": {
1794
+ "type": "string",
1795
+ "examples": [
1796
+ "http://HOSTNAME/repos/octocat/Hello-World/git/commits{/sha}"
1797
+ ]
1798
+ },
1799
+ "git_refs_url": {
1800
+ "type": "string",
1801
+ "examples": [
1802
+ "http://HOSTNAME/repos/octocat/Hello-World/git/refs{/sha}"
1803
+ ]
1804
+ },
1805
+ "git_tags_url": {
1806
+ "type": "string",
1807
+ "examples": [
1808
+ "http://HOSTNAME/repos/octocat/Hello-World/git/tags{/sha}"
1809
+ ]
1810
+ },
1811
+ "git_url": {
1812
+ "type": "string",
1813
+ "examples": [
1814
+ "git:github.com/octocat/Hello-World.git"
1815
+ ]
1816
+ },
1817
+ "issue_comment_url": {
1818
+ "type": "string",
1819
+ "examples": [
1820
+ "http://HOSTNAME/repos/octocat/Hello-World/issues/comments{/number}"
1821
+ ]
1822
+ },
1823
+ "issue_events_url": {
1824
+ "type": "string",
1825
+ "examples": [
1826
+ "http://HOSTNAME/repos/octocat/Hello-World/issues/events{/number}"
1827
+ ]
1828
+ },
1829
+ "issues_url": {
1830
+ "type": "string",
1831
+ "examples": [
1832
+ "http://HOSTNAME/repos/octocat/Hello-World/issues{/number}"
1833
+ ]
1834
+ },
1835
+ "keys_url": {
1836
+ "type": "string",
1837
+ "examples": [
1838
+ "http://HOSTNAME/repos/octocat/Hello-World/keys{/key_id}"
1839
+ ]
1840
+ },
1841
+ "labels_url": {
1842
+ "type": "string",
1843
+ "examples": [
1844
+ "http://HOSTNAME/repos/octocat/Hello-World/labels{/name}"
1845
+ ]
1846
+ },
1847
+ "languages_url": {
1848
+ "type": "string",
1849
+ "format": "uri",
1850
+ "examples": [
1851
+ "http://HOSTNAME/repos/octocat/Hello-World/languages"
1852
+ ]
1853
+ },
1854
+ "merges_url": {
1855
+ "type": "string",
1856
+ "format": "uri",
1857
+ "examples": [
1858
+ "http://HOSTNAME/repos/octocat/Hello-World/merges"
1859
+ ]
1860
+ },
1861
+ "milestones_url": {
1862
+ "type": "string",
1863
+ "examples": [
1864
+ "http://HOSTNAME/repos/octocat/Hello-World/milestones{/number}"
1865
+ ]
1866
+ },
1867
+ "notifications_url": {
1868
+ "type": "string",
1869
+ "examples": [
1870
+ "http://HOSTNAME/repos/octocat/Hello-World/notifications{?since,all,participating}"
1871
+ ]
1872
+ },
1873
+ "pulls_url": {
1874
+ "type": "string",
1875
+ "examples": [
1876
+ "http://HOSTNAME/repos/octocat/Hello-World/pulls{/number}"
1877
+ ]
1878
+ },
1879
+ "releases_url": {
1880
+ "type": "string",
1881
+ "examples": [
1882
+ "http://HOSTNAME/repos/octocat/Hello-World/releases{/id}"
1883
+ ]
1884
+ },
1885
+ "ssh_url": {
1886
+ "type": "string",
1887
+ "examples": [
1888
+ "git@github.com:octocat/Hello-World.git"
1889
+ ]
1890
+ },
1891
+ "stargazers_url": {
1892
+ "type": "string",
1893
+ "format": "uri",
1894
+ "examples": [
1895
+ "http://HOSTNAME/repos/octocat/Hello-World/stargazers"
1896
+ ]
1897
+ },
1898
+ "statuses_url": {
1899
+ "type": "string",
1900
+ "examples": [
1901
+ "http://HOSTNAME/repos/octocat/Hello-World/statuses/{sha}"
1902
+ ]
1903
+ },
1904
+ "subscribers_url": {
1905
+ "type": "string",
1906
+ "format": "uri",
1907
+ "examples": [
1908
+ "http://HOSTNAME/repos/octocat/Hello-World/subscribers"
1909
+ ]
1910
+ },
1911
+ "subscription_url": {
1912
+ "type": "string",
1913
+ "format": "uri",
1914
+ "examples": [
1915
+ "http://HOSTNAME/repos/octocat/Hello-World/subscription"
1916
+ ]
1917
+ },
1918
+ "tags_url": {
1919
+ "type": "string",
1920
+ "format": "uri",
1921
+ "examples": [
1922
+ "http://HOSTNAME/repos/octocat/Hello-World/tags"
1923
+ ]
1924
+ },
1925
+ "teams_url": {
1926
+ "type": "string",
1927
+ "format": "uri",
1928
+ "examples": [
1929
+ "http://HOSTNAME/repos/octocat/Hello-World/teams"
1930
+ ]
1931
+ },
1932
+ "trees_url": {
1933
+ "type": "string",
1934
+ "examples": [
1935
+ "http://HOSTNAME/repos/octocat/Hello-World/git/trees{/sha}"
1936
+ ]
1937
+ },
1938
+ "clone_url": {
1939
+ "type": "string",
1940
+ "examples": [
1941
+ "https://github.com/octocat/Hello-World.git"
1942
+ ]
1943
+ },
1944
+ "mirror_url": {
1945
+ "type": [
1946
+ "string",
1947
+ "null"
1948
+ ],
1949
+ "format": "uri",
1950
+ "examples": [
1951
+ "git:git.example.com/octocat/Hello-World"
1952
+ ]
1953
+ },
1954
+ "hooks_url": {
1955
+ "type": "string",
1956
+ "format": "uri",
1957
+ "examples": [
1958
+ "http://HOSTNAME/repos/octocat/Hello-World/hooks"
1959
+ ]
1960
+ },
1961
+ "svn_url": {
1962
+ "type": "string",
1963
+ "format": "uri",
1964
+ "examples": [
1965
+ "https://svn.github.com/octocat/Hello-World"
1966
+ ]
1967
+ },
1968
+ "homepage": {
1969
+ "type": [
1970
+ "string",
1971
+ "null"
1972
+ ],
1973
+ "format": "uri",
1974
+ "examples": [
1975
+ "https://github.com"
1976
+ ]
1977
+ },
1978
+ "language": {
1979
+ "type": [
1980
+ "string",
1981
+ "null"
1982
+ ]
1983
+ },
1984
+ "forks_count": {
1985
+ "type": "integer",
1986
+ "examples": [
1987
+ 9
1988
+ ]
1989
+ },
1990
+ "stargazers_count": {
1991
+ "type": "integer",
1992
+ "examples": [
1993
+ 80
1994
+ ]
1995
+ },
1996
+ "watchers_count": {
1997
+ "type": "integer",
1998
+ "examples": [
1999
+ 80
2000
+ ]
2001
+ },
2002
+ "size": {
2003
+ "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
2004
+ "type": "integer",
2005
+ "examples": [
2006
+ 108
2007
+ ]
2008
+ },
2009
+ "default_branch": {
2010
+ "description": "The default branch of the repository.",
2011
+ "type": "string",
2012
+ "examples": [
2013
+ "master"
2014
+ ]
2015
+ },
2016
+ "open_issues_count": {
2017
+ "type": "integer",
2018
+ "examples": [
2019
+ 0
2020
+ ]
2021
+ },
2022
+ "is_template": {
2023
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
2024
+ "default": false,
2025
+ "type": "boolean",
2026
+ "examples": [
2027
+ true
2028
+ ]
2029
+ },
2030
+ "topics": {
2031
+ "type": "array",
2032
+ "items": {
2033
+ "type": "string"
2034
+ }
2035
+ },
2036
+ "has_issues": {
2037
+ "description": "Whether issues are enabled.",
2038
+ "default": true,
2039
+ "type": "boolean",
2040
+ "examples": [
2041
+ true
2042
+ ]
2043
+ },
2044
+ "has_projects": {
2045
+ "description": "Whether projects are enabled.",
2046
+ "default": true,
2047
+ "type": "boolean",
2048
+ "examples": [
2049
+ true
2050
+ ]
2051
+ },
2052
+ "has_wiki": {
2053
+ "description": "Whether the wiki is enabled.",
2054
+ "default": true,
2055
+ "type": "boolean",
2056
+ "examples": [
2057
+ true
2058
+ ]
2059
+ },
2060
+ "has_pages": {
2061
+ "type": "boolean"
2062
+ },
2063
+ "has_downloads": {
2064
+ "description": "Whether downloads are enabled.",
2065
+ "default": true,
2066
+ "type": "boolean",
2067
+ "deprecated": true,
2068
+ "examples": [
2069
+ true
2070
+ ]
2071
+ },
2072
+ "has_discussions": {
2073
+ "description": "Whether discussions are enabled.",
2074
+ "default": false,
2075
+ "type": "boolean",
2076
+ "examples": [
2077
+ true
2078
+ ]
2079
+ },
2080
+ "archived": {
2081
+ "description": "Whether the repository is archived.",
2082
+ "default": false,
2083
+ "type": "boolean"
2084
+ },
2085
+ "disabled": {
2086
+ "type": "boolean",
2087
+ "description": "Returns whether or not this repository disabled."
2088
+ },
2089
+ "visibility": {
2090
+ "description": "The repository visibility: public, private, or internal.",
2091
+ "default": "public",
2092
+ "type": "string"
2093
+ },
2094
+ "pushed_at": {
2095
+ "type": [
2096
+ "string",
2097
+ "null"
2098
+ ],
2099
+ "format": "date-time",
2100
+ "examples": [
2101
+ "2011-01-26T19:06:43Z"
2102
+ ]
2103
+ },
2104
+ "created_at": {
2105
+ "type": [
2106
+ "string",
2107
+ "null"
2108
+ ],
2109
+ "format": "date-time",
2110
+ "examples": [
2111
+ "2011-01-26T19:01:12Z"
2112
+ ]
2113
+ },
2114
+ "updated_at": {
2115
+ "type": [
2116
+ "string",
2117
+ "null"
2118
+ ],
2119
+ "format": "date-time",
2120
+ "examples": [
2121
+ "2011-01-26T19:14:43Z"
2122
+ ]
2123
+ },
2124
+ "allow_rebase_merge": {
2125
+ "description": "Whether to allow rebase merges for pull requests.",
2126
+ "default": true,
2127
+ "type": "boolean",
2128
+ "examples": [
2129
+ true
2130
+ ]
2131
+ },
2132
+ "temp_clone_token": {
2133
+ "type": "string"
2134
+ },
2135
+ "allow_squash_merge": {
2136
+ "description": "Whether to allow squash merges for pull requests.",
2137
+ "default": true,
2138
+ "type": "boolean",
2139
+ "examples": [
2140
+ true
2141
+ ]
2142
+ },
2143
+ "allow_auto_merge": {
2144
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
2145
+ "default": false,
2146
+ "type": "boolean",
2147
+ "examples": [
2148
+ false
2149
+ ]
2150
+ },
2151
+ "delete_branch_on_merge": {
2152
+ "description": "Whether to delete head branches when pull requests are merged",
2153
+ "default": false,
2154
+ "type": "boolean",
2155
+ "examples": [
2156
+ false
2157
+ ]
2158
+ },
2159
+ "allow_update_branch": {
2160
+ "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
2161
+ "default": false,
2162
+ "type": "boolean",
2163
+ "examples": [
2164
+ false
2165
+ ]
2166
+ },
2167
+ "use_squash_pr_title_as_default": {
2168
+ "type": "boolean",
2169
+ "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.",
2170
+ "default": false,
2171
+ "deprecated": true
2172
+ },
2173
+ "squash_merge_commit_title": {
2174
+ "type": "string",
2175
+ "enum": [
2176
+ "PR_TITLE",
2177
+ "COMMIT_OR_PR_TITLE"
2178
+ ],
2179
+ "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
2180
+ },
2181
+ "squash_merge_commit_message": {
2182
+ "type": "string",
2183
+ "enum": [
2184
+ "PR_BODY",
2185
+ "COMMIT_MESSAGES",
2186
+ "BLANK"
2187
+ ],
2188
+ "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
2189
+ },
2190
+ "merge_commit_title": {
2191
+ "type": "string",
2192
+ "enum": [
2193
+ "PR_TITLE",
2194
+ "MERGE_MESSAGE"
2195
+ ],
2196
+ "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
2197
+ },
2198
+ "merge_commit_message": {
2199
+ "type": "string",
2200
+ "enum": [
2201
+ "PR_BODY",
2202
+ "PR_TITLE",
2203
+ "BLANK"
2204
+ ],
2205
+ "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
2206
+ },
2207
+ "allow_merge_commit": {
2208
+ "description": "Whether to allow merge commits for pull requests.",
2209
+ "default": true,
2210
+ "type": "boolean",
2211
+ "examples": [
2212
+ true
2213
+ ]
2214
+ },
2215
+ "allow_forking": {
2216
+ "description": "Whether to allow forking this repo",
2217
+ "type": "boolean"
2218
+ },
2219
+ "web_commit_signoff_required": {
2220
+ "description": "Whether to require contributors to sign off on web-based commits",
2221
+ "default": false,
2222
+ "type": "boolean"
2223
+ },
2224
+ "open_issues": {
2225
+ "type": "integer"
2226
+ },
2227
+ "watchers": {
2228
+ "type": "integer"
2229
+ },
2230
+ "master_branch": {
2231
+ "type": "string"
2232
+ },
2233
+ "starred_at": {
2234
+ "type": "string",
2235
+ "examples": [
2236
+ "\"2020-07-09T00:17:42Z\""
2237
+ ]
2238
+ },
2239
+ "anonymous_access_enabled": {
2240
+ "type": "boolean",
2241
+ "description": "Whether anonymous git access is enabled for this repository"
2242
+ },
2243
+ "code_search_index_status": {
2244
+ "type": "object",
2245
+ "description": "The status of the code search index for this repository",
2246
+ "properties": {
2247
+ "lexical_search_ok": {
2248
+ "type": "boolean"
2249
+ },
2250
+ "lexical_commit_sha": {
2251
+ "type": "string"
2252
+ }
2253
+ }
2254
+ }
2255
+ },
2256
+ "required": [
2257
+ "archive_url",
2258
+ "assignees_url",
2259
+ "blobs_url",
2260
+ "branches_url",
2261
+ "collaborators_url",
2262
+ "comments_url",
2263
+ "commits_url",
2264
+ "compare_url",
2265
+ "contents_url",
2266
+ "contributors_url",
2267
+ "deployments_url",
2268
+ "description",
2269
+ "downloads_url",
2270
+ "events_url",
2271
+ "fork",
2272
+ "forks_url",
2273
+ "full_name",
2274
+ "git_commits_url",
2275
+ "git_refs_url",
2276
+ "git_tags_url",
2277
+ "hooks_url",
2278
+ "html_url",
2279
+ "id",
2280
+ "node_id",
2281
+ "issue_comment_url",
2282
+ "issue_events_url",
2283
+ "issues_url",
2284
+ "keys_url",
2285
+ "labels_url",
2286
+ "languages_url",
2287
+ "merges_url",
2288
+ "milestones_url",
2289
+ "name",
2290
+ "notifications_url",
2291
+ "owner",
2292
+ "private",
2293
+ "pulls_url",
2294
+ "releases_url",
2295
+ "stargazers_url",
2296
+ "statuses_url",
2297
+ "subscribers_url",
2298
+ "subscription_url",
2299
+ "tags_url",
2300
+ "teams_url",
2301
+ "trees_url",
2302
+ "url",
2303
+ "clone_url",
2304
+ "default_branch",
2305
+ "forks",
2306
+ "forks_count",
2307
+ "git_url",
2308
+ "has_downloads",
2309
+ "has_issues",
2310
+ "has_projects",
2311
+ "has_wiki",
2312
+ "has_pages",
2313
+ "homepage",
2314
+ "language",
2315
+ "archived",
2316
+ "disabled",
2317
+ "mirror_url",
2318
+ "open_issues",
2319
+ "open_issues_count",
2320
+ "license",
2321
+ "pushed_at",
2322
+ "size",
2323
+ "ssh_url",
2324
+ "stargazers_count",
2325
+ "svn_url",
2326
+ "watchers",
2327
+ "watchers_count",
2328
+ "created_at",
2329
+ "updated_at"
2330
+ ]
2331
+ },
2332
+ "sha": {
2333
+ "type": "string"
2334
+ },
2335
+ "user": {
2336
+ "title": "Simple User",
2337
+ "description": "A GitHub user.",
2338
+ "type": "object",
2339
+ "properties": {
2340
+ "name": {
2341
+ "type": [
2342
+ "string",
2343
+ "null"
2344
+ ]
2345
+ },
2346
+ "email": {
2347
+ "type": [
2348
+ "string",
2349
+ "null"
2350
+ ]
2351
+ },
2352
+ "login": {
2353
+ "type": "string",
2354
+ "examples": [
2355
+ "octocat"
2356
+ ]
2357
+ },
2358
+ "id": {
2359
+ "type": "integer",
2360
+ "format": "int64",
2361
+ "examples": [
2362
+ 1
2363
+ ]
2364
+ },
2365
+ "node_id": {
2366
+ "type": "string",
2367
+ "examples": [
2368
+ "MDQ6VXNlcjE="
2369
+ ]
2370
+ },
2371
+ "avatar_url": {
2372
+ "type": "string",
2373
+ "format": "uri",
2374
+ "examples": [
2375
+ "https://github.com/images/error/octocat_happy.gif"
2376
+ ]
2377
+ },
2378
+ "gravatar_id": {
2379
+ "type": [
2380
+ "string",
2381
+ "null"
2382
+ ],
2383
+ "examples": [
2384
+ "41d064eb2195891e12d0413f63227ea7"
2385
+ ]
2386
+ },
2387
+ "url": {
2388
+ "type": "string",
2389
+ "format": "uri",
2390
+ "examples": [
2391
+ "https://HOSTNAME/users/octocat"
2392
+ ]
2393
+ },
2394
+ "html_url": {
2395
+ "type": "string",
2396
+ "format": "uri",
2397
+ "examples": [
2398
+ "https://github.com/octocat"
2399
+ ]
2400
+ },
2401
+ "followers_url": {
2402
+ "type": "string",
2403
+ "format": "uri",
2404
+ "examples": [
2405
+ "https://HOSTNAME/users/octocat/followers"
2406
+ ]
2407
+ },
2408
+ "following_url": {
2409
+ "type": "string",
2410
+ "examples": [
2411
+ "https://HOSTNAME/users/octocat/following{/other_user}"
2412
+ ]
2413
+ },
2414
+ "gists_url": {
2415
+ "type": "string",
2416
+ "examples": [
2417
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
2418
+ ]
2419
+ },
2420
+ "starred_url": {
2421
+ "type": "string",
2422
+ "examples": [
2423
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
2424
+ ]
2425
+ },
2426
+ "subscriptions_url": {
2427
+ "type": "string",
2428
+ "format": "uri",
2429
+ "examples": [
2430
+ "https://HOSTNAME/users/octocat/subscriptions"
2431
+ ]
2432
+ },
2433
+ "organizations_url": {
2434
+ "type": "string",
2435
+ "format": "uri",
2436
+ "examples": [
2437
+ "https://HOSTNAME/users/octocat/orgs"
2438
+ ]
2439
+ },
2440
+ "repos_url": {
2441
+ "type": "string",
2442
+ "format": "uri",
2443
+ "examples": [
2444
+ "https://HOSTNAME/users/octocat/repos"
2445
+ ]
2446
+ },
2447
+ "events_url": {
2448
+ "type": "string",
2449
+ "examples": [
2450
+ "https://HOSTNAME/users/octocat/events{/privacy}"
2451
+ ]
2452
+ },
2453
+ "received_events_url": {
2454
+ "type": "string",
2455
+ "format": "uri",
2456
+ "examples": [
2457
+ "https://HOSTNAME/users/octocat/received_events"
2458
+ ]
2459
+ },
2460
+ "type": {
2461
+ "type": "string",
2462
+ "examples": [
2463
+ "User"
2464
+ ]
2465
+ },
2466
+ "site_admin": {
2467
+ "type": "boolean"
2468
+ },
2469
+ "starred_at": {
2470
+ "type": "string",
2471
+ "examples": [
2472
+ "\"2020-07-09T00:17:55Z\""
2473
+ ]
2474
+ },
2475
+ "user_view_type": {
2476
+ "type": "string",
2477
+ "examples": [
2478
+ "public"
2479
+ ]
2480
+ }
2481
+ },
2482
+ "required": [
2483
+ "avatar_url",
2484
+ "events_url",
2485
+ "followers_url",
2486
+ "following_url",
2487
+ "gists_url",
2488
+ "gravatar_id",
2489
+ "html_url",
2490
+ "id",
2491
+ "node_id",
2492
+ "login",
2493
+ "organizations_url",
2494
+ "received_events_url",
2495
+ "repos_url",
2496
+ "site_admin",
2497
+ "starred_url",
2498
+ "subscriptions_url",
2499
+ "type",
2500
+ "url"
2501
+ ]
2502
+ }
2503
+ },
2504
+ "required": [
2505
+ "label",
2506
+ "ref",
2507
+ "repo",
2508
+ "sha",
2509
+ "user"
2510
+ ]
2511
+ },
2512
+ "base": {
2513
+ "type": "object",
2514
+ "properties": {
2515
+ "label": {
2516
+ "type": "string"
2517
+ },
2518
+ "ref": {
2519
+ "type": "string"
2520
+ },
2521
+ "repo": {
2522
+ "title": "Repository",
2523
+ "description": "A repository on GitHub.",
2524
+ "type": "object",
2525
+ "properties": {
2526
+ "id": {
2527
+ "description": "Unique identifier of the repository",
2528
+ "type": "integer",
2529
+ "format": "int64",
2530
+ "examples": [
2531
+ 42
2532
+ ]
2533
+ },
2534
+ "node_id": {
2535
+ "type": "string",
2536
+ "examples": [
2537
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
2538
+ ]
2539
+ },
2540
+ "name": {
2541
+ "description": "The name of the repository.",
2542
+ "type": "string",
2543
+ "examples": [
2544
+ "Team Environment"
2545
+ ]
2546
+ },
2547
+ "full_name": {
2548
+ "type": "string",
2549
+ "examples": [
2550
+ "octocat/Hello-World"
2551
+ ]
2552
+ },
2553
+ "license": {
2554
+ "anyOf": [
2555
+ {
2556
+ "type": "null"
2557
+ },
2558
+ {
2559
+ "title": "License Simple",
2560
+ "description": "License Simple",
2561
+ "type": "object",
2562
+ "properties": {
2563
+ "key": {
2564
+ "type": "string",
2565
+ "examples": [
2566
+ "mit"
2567
+ ]
2568
+ },
2569
+ "name": {
2570
+ "type": "string",
2571
+ "examples": [
2572
+ "MIT License"
2573
+ ]
2574
+ },
2575
+ "url": {
2576
+ "type": [
2577
+ "string",
2578
+ "null"
2579
+ ],
2580
+ "format": "uri",
2581
+ "examples": [
2582
+ "https://HOSTNAME/licenses/mit"
2583
+ ]
2584
+ },
2585
+ "spdx_id": {
2586
+ "type": [
2587
+ "string",
2588
+ "null"
2589
+ ],
2590
+ "examples": [
2591
+ "MIT"
2592
+ ]
2593
+ },
2594
+ "node_id": {
2595
+ "type": "string",
2596
+ "examples": [
2597
+ "MDc6TGljZW5zZW1pdA=="
2598
+ ]
2599
+ },
2600
+ "html_url": {
2601
+ "type": "string",
2602
+ "format": "uri"
2603
+ }
2604
+ },
2605
+ "required": [
2606
+ "key",
2607
+ "name",
2608
+ "url",
2609
+ "spdx_id",
2610
+ "node_id"
2611
+ ]
2612
+ }
2613
+ ]
2614
+ },
2615
+ "forks": {
2616
+ "type": "integer"
2617
+ },
2618
+ "permissions": {
2619
+ "type": "object",
2620
+ "properties": {
2621
+ "admin": {
2622
+ "type": "boolean"
2623
+ },
2624
+ "pull": {
2625
+ "type": "boolean"
2626
+ },
2627
+ "triage": {
2628
+ "type": "boolean"
2629
+ },
2630
+ "push": {
2631
+ "type": "boolean"
2632
+ },
2633
+ "maintain": {
2634
+ "type": "boolean"
2635
+ }
2636
+ },
2637
+ "required": [
2638
+ "admin",
2639
+ "pull",
2640
+ "push"
2641
+ ]
2642
+ },
2643
+ "owner": {
2644
+ "title": "Simple User",
2645
+ "description": "A GitHub user.",
2646
+ "type": "object",
2647
+ "properties": {
2648
+ "name": {
2649
+ "type": [
2650
+ "string",
2651
+ "null"
2652
+ ]
2653
+ },
2654
+ "email": {
2655
+ "type": [
2656
+ "string",
2657
+ "null"
2658
+ ]
2659
+ },
2660
+ "login": {
2661
+ "type": "string",
2662
+ "examples": [
2663
+ "octocat"
2664
+ ]
2665
+ },
2666
+ "id": {
2667
+ "type": "integer",
2668
+ "format": "int64",
2669
+ "examples": [
2670
+ 1
2671
+ ]
2672
+ },
2673
+ "node_id": {
2674
+ "type": "string",
2675
+ "examples": [
2676
+ "MDQ6VXNlcjE="
2677
+ ]
2678
+ },
2679
+ "avatar_url": {
2680
+ "type": "string",
2681
+ "format": "uri",
2682
+ "examples": [
2683
+ "https://github.com/images/error/octocat_happy.gif"
2684
+ ]
2685
+ },
2686
+ "gravatar_id": {
2687
+ "type": [
2688
+ "string",
2689
+ "null"
2690
+ ],
2691
+ "examples": [
2692
+ "41d064eb2195891e12d0413f63227ea7"
2693
+ ]
2694
+ },
2695
+ "url": {
2696
+ "type": "string",
2697
+ "format": "uri",
2698
+ "examples": [
2699
+ "https://HOSTNAME/users/octocat"
2700
+ ]
2701
+ },
2702
+ "html_url": {
2703
+ "type": "string",
2704
+ "format": "uri",
2705
+ "examples": [
2706
+ "https://github.com/octocat"
2707
+ ]
2708
+ },
2709
+ "followers_url": {
2710
+ "type": "string",
2711
+ "format": "uri",
2712
+ "examples": [
2713
+ "https://HOSTNAME/users/octocat/followers"
2714
+ ]
2715
+ },
2716
+ "following_url": {
2717
+ "type": "string",
2718
+ "examples": [
2719
+ "https://HOSTNAME/users/octocat/following{/other_user}"
2720
+ ]
2721
+ },
2722
+ "gists_url": {
2723
+ "type": "string",
2724
+ "examples": [
2725
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
2726
+ ]
2727
+ },
2728
+ "starred_url": {
2729
+ "type": "string",
2730
+ "examples": [
2731
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
2732
+ ]
2733
+ },
2734
+ "subscriptions_url": {
2735
+ "type": "string",
2736
+ "format": "uri",
2737
+ "examples": [
2738
+ "https://HOSTNAME/users/octocat/subscriptions"
2739
+ ]
2740
+ },
2741
+ "organizations_url": {
2742
+ "type": "string",
2743
+ "format": "uri",
2744
+ "examples": [
2745
+ "https://HOSTNAME/users/octocat/orgs"
2746
+ ]
2747
+ },
2748
+ "repos_url": {
2749
+ "type": "string",
2750
+ "format": "uri",
2751
+ "examples": [
2752
+ "https://HOSTNAME/users/octocat/repos"
2753
+ ]
2754
+ },
2755
+ "events_url": {
2756
+ "type": "string",
2757
+ "examples": [
2758
+ "https://HOSTNAME/users/octocat/events{/privacy}"
2759
+ ]
2760
+ },
2761
+ "received_events_url": {
2762
+ "type": "string",
2763
+ "format": "uri",
2764
+ "examples": [
2765
+ "https://HOSTNAME/users/octocat/received_events"
2766
+ ]
2767
+ },
2768
+ "type": {
2769
+ "type": "string",
2770
+ "examples": [
2771
+ "User"
2772
+ ]
2773
+ },
2774
+ "site_admin": {
2775
+ "type": "boolean"
2776
+ },
2777
+ "starred_at": {
2778
+ "type": "string",
2779
+ "examples": [
2780
+ "\"2020-07-09T00:17:55Z\""
2781
+ ]
2782
+ },
2783
+ "user_view_type": {
2784
+ "type": "string",
2785
+ "examples": [
2786
+ "public"
2787
+ ]
2788
+ }
2789
+ },
2790
+ "required": [
2791
+ "avatar_url",
2792
+ "events_url",
2793
+ "followers_url",
2794
+ "following_url",
2795
+ "gists_url",
2796
+ "gravatar_id",
2797
+ "html_url",
2798
+ "id",
2799
+ "node_id",
2800
+ "login",
2801
+ "organizations_url",
2802
+ "received_events_url",
2803
+ "repos_url",
2804
+ "site_admin",
2805
+ "starred_url",
2806
+ "subscriptions_url",
2807
+ "type",
2808
+ "url"
2809
+ ]
2810
+ },
2811
+ "private": {
2812
+ "description": "Whether the repository is private or public.",
2813
+ "default": false,
2814
+ "type": "boolean"
2815
+ },
2816
+ "html_url": {
2817
+ "type": "string",
2818
+ "format": "uri",
2819
+ "examples": [
2820
+ "https://github.com/octocat/Hello-World"
2821
+ ]
2822
+ },
2823
+ "description": {
2824
+ "type": [
2825
+ "string",
2826
+ "null"
2827
+ ],
2828
+ "examples": [
2829
+ "This your first repo!"
2830
+ ]
2831
+ },
2832
+ "fork": {
2833
+ "type": "boolean"
2834
+ },
2835
+ "url": {
2836
+ "type": "string",
2837
+ "format": "uri",
2838
+ "examples": [
2839
+ "https://HOSTNAME/repos/octocat/Hello-World"
2840
+ ]
2841
+ },
2842
+ "archive_url": {
2843
+ "type": "string",
2844
+ "examples": [
2845
+ "http://HOSTNAME/repos/octocat/Hello-World/{archive_format}{/ref}"
2846
+ ]
2847
+ },
2848
+ "assignees_url": {
2849
+ "type": "string",
2850
+ "examples": [
2851
+ "http://HOSTNAME/repos/octocat/Hello-World/assignees{/user}"
2852
+ ]
2853
+ },
2854
+ "blobs_url": {
2855
+ "type": "string",
2856
+ "examples": [
2857
+ "http://HOSTNAME/repos/octocat/Hello-World/git/blobs{/sha}"
2858
+ ]
2859
+ },
2860
+ "branches_url": {
2861
+ "type": "string",
2862
+ "examples": [
2863
+ "http://HOSTNAME/repos/octocat/Hello-World/branches{/branch}"
2864
+ ]
2865
+ },
2866
+ "collaborators_url": {
2867
+ "type": "string",
2868
+ "examples": [
2869
+ "http://HOSTNAME/repos/octocat/Hello-World/collaborators{/collaborator}"
2870
+ ]
2871
+ },
2872
+ "comments_url": {
2873
+ "type": "string",
2874
+ "examples": [
2875
+ "http://HOSTNAME/repos/octocat/Hello-World/comments{/number}"
2876
+ ]
2877
+ },
2878
+ "commits_url": {
2879
+ "type": "string",
2880
+ "examples": [
2881
+ "http://HOSTNAME/repos/octocat/Hello-World/commits{/sha}"
2882
+ ]
2883
+ },
2884
+ "compare_url": {
2885
+ "type": "string",
2886
+ "examples": [
2887
+ "http://HOSTNAME/repos/octocat/Hello-World/compare/{base}...{head}"
2888
+ ]
2889
+ },
2890
+ "contents_url": {
2891
+ "type": "string",
2892
+ "examples": [
2893
+ "http://HOSTNAME/repos/octocat/Hello-World/contents/{+path}"
2894
+ ]
2895
+ },
2896
+ "contributors_url": {
2897
+ "type": "string",
2898
+ "format": "uri",
2899
+ "examples": [
2900
+ "http://HOSTNAME/repos/octocat/Hello-World/contributors"
2901
+ ]
2902
+ },
2903
+ "deployments_url": {
2904
+ "type": "string",
2905
+ "format": "uri",
2906
+ "examples": [
2907
+ "http://HOSTNAME/repos/octocat/Hello-World/deployments"
2908
+ ]
2909
+ },
2910
+ "downloads_url": {
2911
+ "type": "string",
2912
+ "format": "uri",
2913
+ "examples": [
2914
+ "http://HOSTNAME/repos/octocat/Hello-World/downloads"
2915
+ ]
2916
+ },
2917
+ "events_url": {
2918
+ "type": "string",
2919
+ "format": "uri",
2920
+ "examples": [
2921
+ "http://HOSTNAME/repos/octocat/Hello-World/events"
2922
+ ]
2923
+ },
2924
+ "forks_url": {
2925
+ "type": "string",
2926
+ "format": "uri",
2927
+ "examples": [
2928
+ "http://HOSTNAME/repos/octocat/Hello-World/forks"
2929
+ ]
2930
+ },
2931
+ "git_commits_url": {
2932
+ "type": "string",
2933
+ "examples": [
2934
+ "http://HOSTNAME/repos/octocat/Hello-World/git/commits{/sha}"
2935
+ ]
2936
+ },
2937
+ "git_refs_url": {
2938
+ "type": "string",
2939
+ "examples": [
2940
+ "http://HOSTNAME/repos/octocat/Hello-World/git/refs{/sha}"
2941
+ ]
2942
+ },
2943
+ "git_tags_url": {
2944
+ "type": "string",
2945
+ "examples": [
2946
+ "http://HOSTNAME/repos/octocat/Hello-World/git/tags{/sha}"
2947
+ ]
2948
+ },
2949
+ "git_url": {
2950
+ "type": "string",
2951
+ "examples": [
2952
+ "git:github.com/octocat/Hello-World.git"
2953
+ ]
2954
+ },
2955
+ "issue_comment_url": {
2956
+ "type": "string",
2957
+ "examples": [
2958
+ "http://HOSTNAME/repos/octocat/Hello-World/issues/comments{/number}"
2959
+ ]
2960
+ },
2961
+ "issue_events_url": {
2962
+ "type": "string",
2963
+ "examples": [
2964
+ "http://HOSTNAME/repos/octocat/Hello-World/issues/events{/number}"
2965
+ ]
2966
+ },
2967
+ "issues_url": {
2968
+ "type": "string",
2969
+ "examples": [
2970
+ "http://HOSTNAME/repos/octocat/Hello-World/issues{/number}"
2971
+ ]
2972
+ },
2973
+ "keys_url": {
2974
+ "type": "string",
2975
+ "examples": [
2976
+ "http://HOSTNAME/repos/octocat/Hello-World/keys{/key_id}"
2977
+ ]
2978
+ },
2979
+ "labels_url": {
2980
+ "type": "string",
2981
+ "examples": [
2982
+ "http://HOSTNAME/repos/octocat/Hello-World/labels{/name}"
2983
+ ]
2984
+ },
2985
+ "languages_url": {
2986
+ "type": "string",
2987
+ "format": "uri",
2988
+ "examples": [
2989
+ "http://HOSTNAME/repos/octocat/Hello-World/languages"
2990
+ ]
2991
+ },
2992
+ "merges_url": {
2993
+ "type": "string",
2994
+ "format": "uri",
2995
+ "examples": [
2996
+ "http://HOSTNAME/repos/octocat/Hello-World/merges"
2997
+ ]
2998
+ },
2999
+ "milestones_url": {
3000
+ "type": "string",
3001
+ "examples": [
3002
+ "http://HOSTNAME/repos/octocat/Hello-World/milestones{/number}"
3003
+ ]
3004
+ },
3005
+ "notifications_url": {
3006
+ "type": "string",
3007
+ "examples": [
3008
+ "http://HOSTNAME/repos/octocat/Hello-World/notifications{?since,all,participating}"
3009
+ ]
3010
+ },
3011
+ "pulls_url": {
3012
+ "type": "string",
3013
+ "examples": [
3014
+ "http://HOSTNAME/repos/octocat/Hello-World/pulls{/number}"
3015
+ ]
3016
+ },
3017
+ "releases_url": {
3018
+ "type": "string",
3019
+ "examples": [
3020
+ "http://HOSTNAME/repos/octocat/Hello-World/releases{/id}"
3021
+ ]
3022
+ },
3023
+ "ssh_url": {
3024
+ "type": "string",
3025
+ "examples": [
3026
+ "git@github.com:octocat/Hello-World.git"
3027
+ ]
3028
+ },
3029
+ "stargazers_url": {
3030
+ "type": "string",
3031
+ "format": "uri",
3032
+ "examples": [
3033
+ "http://HOSTNAME/repos/octocat/Hello-World/stargazers"
3034
+ ]
3035
+ },
3036
+ "statuses_url": {
3037
+ "type": "string",
3038
+ "examples": [
3039
+ "http://HOSTNAME/repos/octocat/Hello-World/statuses/{sha}"
3040
+ ]
3041
+ },
3042
+ "subscribers_url": {
3043
+ "type": "string",
3044
+ "format": "uri",
3045
+ "examples": [
3046
+ "http://HOSTNAME/repos/octocat/Hello-World/subscribers"
3047
+ ]
3048
+ },
3049
+ "subscription_url": {
3050
+ "type": "string",
3051
+ "format": "uri",
3052
+ "examples": [
3053
+ "http://HOSTNAME/repos/octocat/Hello-World/subscription"
3054
+ ]
3055
+ },
3056
+ "tags_url": {
3057
+ "type": "string",
3058
+ "format": "uri",
3059
+ "examples": [
3060
+ "http://HOSTNAME/repos/octocat/Hello-World/tags"
3061
+ ]
3062
+ },
3063
+ "teams_url": {
3064
+ "type": "string",
3065
+ "format": "uri",
3066
+ "examples": [
3067
+ "http://HOSTNAME/repos/octocat/Hello-World/teams"
3068
+ ]
3069
+ },
3070
+ "trees_url": {
3071
+ "type": "string",
3072
+ "examples": [
3073
+ "http://HOSTNAME/repos/octocat/Hello-World/git/trees{/sha}"
3074
+ ]
3075
+ },
3076
+ "clone_url": {
3077
+ "type": "string",
3078
+ "examples": [
3079
+ "https://github.com/octocat/Hello-World.git"
3080
+ ]
3081
+ },
3082
+ "mirror_url": {
3083
+ "type": [
3084
+ "string",
3085
+ "null"
3086
+ ],
3087
+ "format": "uri",
3088
+ "examples": [
3089
+ "git:git.example.com/octocat/Hello-World"
3090
+ ]
3091
+ },
3092
+ "hooks_url": {
3093
+ "type": "string",
3094
+ "format": "uri",
3095
+ "examples": [
3096
+ "http://HOSTNAME/repos/octocat/Hello-World/hooks"
3097
+ ]
3098
+ },
3099
+ "svn_url": {
3100
+ "type": "string",
3101
+ "format": "uri",
3102
+ "examples": [
3103
+ "https://svn.github.com/octocat/Hello-World"
3104
+ ]
3105
+ },
3106
+ "homepage": {
3107
+ "type": [
3108
+ "string",
3109
+ "null"
3110
+ ],
3111
+ "format": "uri",
3112
+ "examples": [
3113
+ "https://github.com"
3114
+ ]
3115
+ },
3116
+ "language": {
3117
+ "type": [
3118
+ "string",
3119
+ "null"
3120
+ ]
3121
+ },
3122
+ "forks_count": {
3123
+ "type": "integer",
3124
+ "examples": [
3125
+ 9
3126
+ ]
3127
+ },
3128
+ "stargazers_count": {
3129
+ "type": "integer",
3130
+ "examples": [
3131
+ 80
3132
+ ]
3133
+ },
3134
+ "watchers_count": {
3135
+ "type": "integer",
3136
+ "examples": [
3137
+ 80
3138
+ ]
3139
+ },
3140
+ "size": {
3141
+ "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
3142
+ "type": "integer",
3143
+ "examples": [
3144
+ 108
3145
+ ]
3146
+ },
3147
+ "default_branch": {
3148
+ "description": "The default branch of the repository.",
3149
+ "type": "string",
3150
+ "examples": [
3151
+ "master"
3152
+ ]
3153
+ },
3154
+ "open_issues_count": {
3155
+ "type": "integer",
3156
+ "examples": [
3157
+ 0
3158
+ ]
3159
+ },
3160
+ "is_template": {
3161
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
3162
+ "default": false,
3163
+ "type": "boolean",
3164
+ "examples": [
3165
+ true
3166
+ ]
3167
+ },
3168
+ "topics": {
3169
+ "type": "array",
3170
+ "items": {
3171
+ "type": "string"
3172
+ }
3173
+ },
3174
+ "has_issues": {
3175
+ "description": "Whether issues are enabled.",
3176
+ "default": true,
3177
+ "type": "boolean",
3178
+ "examples": [
3179
+ true
3180
+ ]
3181
+ },
3182
+ "has_projects": {
3183
+ "description": "Whether projects are enabled.",
3184
+ "default": true,
3185
+ "type": "boolean",
3186
+ "examples": [
3187
+ true
3188
+ ]
3189
+ },
3190
+ "has_wiki": {
3191
+ "description": "Whether the wiki is enabled.",
3192
+ "default": true,
3193
+ "type": "boolean",
3194
+ "examples": [
3195
+ true
3196
+ ]
3197
+ },
3198
+ "has_pages": {
3199
+ "type": "boolean"
3200
+ },
3201
+ "has_downloads": {
3202
+ "description": "Whether downloads are enabled.",
3203
+ "default": true,
3204
+ "type": "boolean",
3205
+ "deprecated": true,
3206
+ "examples": [
3207
+ true
3208
+ ]
3209
+ },
3210
+ "has_discussions": {
3211
+ "description": "Whether discussions are enabled.",
3212
+ "default": false,
3213
+ "type": "boolean",
3214
+ "examples": [
3215
+ true
3216
+ ]
3217
+ },
3218
+ "archived": {
3219
+ "description": "Whether the repository is archived.",
3220
+ "default": false,
3221
+ "type": "boolean"
3222
+ },
3223
+ "disabled": {
3224
+ "type": "boolean",
3225
+ "description": "Returns whether or not this repository disabled."
3226
+ },
3227
+ "visibility": {
3228
+ "description": "The repository visibility: public, private, or internal.",
3229
+ "default": "public",
3230
+ "type": "string"
3231
+ },
3232
+ "pushed_at": {
3233
+ "type": [
3234
+ "string",
3235
+ "null"
3236
+ ],
3237
+ "format": "date-time",
3238
+ "examples": [
3239
+ "2011-01-26T19:06:43Z"
3240
+ ]
3241
+ },
3242
+ "created_at": {
3243
+ "type": [
3244
+ "string",
3245
+ "null"
3246
+ ],
3247
+ "format": "date-time",
3248
+ "examples": [
3249
+ "2011-01-26T19:01:12Z"
3250
+ ]
3251
+ },
3252
+ "updated_at": {
3253
+ "type": [
3254
+ "string",
3255
+ "null"
3256
+ ],
3257
+ "format": "date-time",
3258
+ "examples": [
3259
+ "2011-01-26T19:14:43Z"
3260
+ ]
3261
+ },
3262
+ "allow_rebase_merge": {
3263
+ "description": "Whether to allow rebase merges for pull requests.",
3264
+ "default": true,
3265
+ "type": "boolean",
3266
+ "examples": [
3267
+ true
3268
+ ]
3269
+ },
3270
+ "temp_clone_token": {
3271
+ "type": "string"
3272
+ },
3273
+ "allow_squash_merge": {
3274
+ "description": "Whether to allow squash merges for pull requests.",
3275
+ "default": true,
3276
+ "type": "boolean",
3277
+ "examples": [
3278
+ true
3279
+ ]
3280
+ },
3281
+ "allow_auto_merge": {
3282
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
3283
+ "default": false,
3284
+ "type": "boolean",
3285
+ "examples": [
3286
+ false
3287
+ ]
3288
+ },
3289
+ "delete_branch_on_merge": {
3290
+ "description": "Whether to delete head branches when pull requests are merged",
3291
+ "default": false,
3292
+ "type": "boolean",
3293
+ "examples": [
3294
+ false
3295
+ ]
3296
+ },
3297
+ "allow_update_branch": {
3298
+ "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
3299
+ "default": false,
3300
+ "type": "boolean",
3301
+ "examples": [
3302
+ false
3303
+ ]
3304
+ },
3305
+ "use_squash_pr_title_as_default": {
3306
+ "type": "boolean",
3307
+ "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.",
3308
+ "default": false,
3309
+ "deprecated": true
3310
+ },
3311
+ "squash_merge_commit_title": {
3312
+ "type": "string",
3313
+ "enum": [
3314
+ "PR_TITLE",
3315
+ "COMMIT_OR_PR_TITLE"
3316
+ ],
3317
+ "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
3318
+ },
3319
+ "squash_merge_commit_message": {
3320
+ "type": "string",
3321
+ "enum": [
3322
+ "PR_BODY",
3323
+ "COMMIT_MESSAGES",
3324
+ "BLANK"
3325
+ ],
3326
+ "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
3327
+ },
3328
+ "merge_commit_title": {
3329
+ "type": "string",
3330
+ "enum": [
3331
+ "PR_TITLE",
3332
+ "MERGE_MESSAGE"
3333
+ ],
3334
+ "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
3335
+ },
3336
+ "merge_commit_message": {
3337
+ "type": "string",
3338
+ "enum": [
3339
+ "PR_BODY",
3340
+ "PR_TITLE",
3341
+ "BLANK"
3342
+ ],
3343
+ "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
3344
+ },
3345
+ "allow_merge_commit": {
3346
+ "description": "Whether to allow merge commits for pull requests.",
3347
+ "default": true,
3348
+ "type": "boolean",
3349
+ "examples": [
3350
+ true
3351
+ ]
3352
+ },
3353
+ "allow_forking": {
3354
+ "description": "Whether to allow forking this repo",
3355
+ "type": "boolean"
3356
+ },
3357
+ "web_commit_signoff_required": {
3358
+ "description": "Whether to require contributors to sign off on web-based commits",
3359
+ "default": false,
3360
+ "type": "boolean"
3361
+ },
3362
+ "open_issues": {
3363
+ "type": "integer"
3364
+ },
3365
+ "watchers": {
3366
+ "type": "integer"
3367
+ },
3368
+ "master_branch": {
3369
+ "type": "string"
3370
+ },
3371
+ "starred_at": {
3372
+ "type": "string",
3373
+ "examples": [
3374
+ "\"2020-07-09T00:17:42Z\""
3375
+ ]
3376
+ },
3377
+ "anonymous_access_enabled": {
3378
+ "type": "boolean",
3379
+ "description": "Whether anonymous git access is enabled for this repository"
3380
+ },
3381
+ "code_search_index_status": {
3382
+ "type": "object",
3383
+ "description": "The status of the code search index for this repository",
3384
+ "properties": {
3385
+ "lexical_search_ok": {
3386
+ "type": "boolean"
3387
+ },
3388
+ "lexical_commit_sha": {
3389
+ "type": "string"
3390
+ }
3391
+ }
3392
+ }
3393
+ },
3394
+ "required": [
3395
+ "archive_url",
3396
+ "assignees_url",
3397
+ "blobs_url",
3398
+ "branches_url",
3399
+ "collaborators_url",
3400
+ "comments_url",
3401
+ "commits_url",
3402
+ "compare_url",
3403
+ "contents_url",
3404
+ "contributors_url",
3405
+ "deployments_url",
3406
+ "description",
3407
+ "downloads_url",
3408
+ "events_url",
3409
+ "fork",
3410
+ "forks_url",
3411
+ "full_name",
3412
+ "git_commits_url",
3413
+ "git_refs_url",
3414
+ "git_tags_url",
3415
+ "hooks_url",
3416
+ "html_url",
3417
+ "id",
3418
+ "node_id",
3419
+ "issue_comment_url",
3420
+ "issue_events_url",
3421
+ "issues_url",
3422
+ "keys_url",
3423
+ "labels_url",
3424
+ "languages_url",
3425
+ "merges_url",
3426
+ "milestones_url",
3427
+ "name",
3428
+ "notifications_url",
3429
+ "owner",
3430
+ "private",
3431
+ "pulls_url",
3432
+ "releases_url",
3433
+ "stargazers_url",
3434
+ "statuses_url",
3435
+ "subscribers_url",
3436
+ "subscription_url",
3437
+ "tags_url",
3438
+ "teams_url",
3439
+ "trees_url",
3440
+ "url",
3441
+ "clone_url",
3442
+ "default_branch",
3443
+ "forks",
3444
+ "forks_count",
3445
+ "git_url",
3446
+ "has_downloads",
3447
+ "has_issues",
3448
+ "has_projects",
3449
+ "has_wiki",
3450
+ "has_pages",
3451
+ "homepage",
3452
+ "language",
3453
+ "archived",
3454
+ "disabled",
3455
+ "mirror_url",
3456
+ "open_issues",
3457
+ "open_issues_count",
3458
+ "license",
3459
+ "pushed_at",
3460
+ "size",
3461
+ "ssh_url",
3462
+ "stargazers_count",
3463
+ "svn_url",
3464
+ "watchers",
3465
+ "watchers_count",
3466
+ "created_at",
3467
+ "updated_at"
3468
+ ]
3469
+ },
3470
+ "sha": {
3471
+ "type": "string"
3472
+ },
3473
+ "user": {
3474
+ "title": "Simple User",
3475
+ "description": "A GitHub user.",
3476
+ "type": "object",
3477
+ "properties": {
3478
+ "name": {
3479
+ "type": [
3480
+ "string",
3481
+ "null"
3482
+ ]
3483
+ },
3484
+ "email": {
3485
+ "type": [
3486
+ "string",
3487
+ "null"
3488
+ ]
3489
+ },
3490
+ "login": {
3491
+ "type": "string",
3492
+ "examples": [
3493
+ "octocat"
3494
+ ]
3495
+ },
3496
+ "id": {
3497
+ "type": "integer",
3498
+ "format": "int64",
3499
+ "examples": [
3500
+ 1
3501
+ ]
3502
+ },
3503
+ "node_id": {
3504
+ "type": "string",
3505
+ "examples": [
3506
+ "MDQ6VXNlcjE="
3507
+ ]
3508
+ },
3509
+ "avatar_url": {
3510
+ "type": "string",
3511
+ "format": "uri",
3512
+ "examples": [
3513
+ "https://github.com/images/error/octocat_happy.gif"
3514
+ ]
3515
+ },
3516
+ "gravatar_id": {
3517
+ "type": [
3518
+ "string",
3519
+ "null"
3520
+ ],
3521
+ "examples": [
3522
+ "41d064eb2195891e12d0413f63227ea7"
3523
+ ]
3524
+ },
3525
+ "url": {
3526
+ "type": "string",
3527
+ "format": "uri",
3528
+ "examples": [
3529
+ "https://HOSTNAME/users/octocat"
3530
+ ]
3531
+ },
3532
+ "html_url": {
3533
+ "type": "string",
3534
+ "format": "uri",
3535
+ "examples": [
3536
+ "https://github.com/octocat"
3537
+ ]
3538
+ },
3539
+ "followers_url": {
3540
+ "type": "string",
3541
+ "format": "uri",
3542
+ "examples": [
3543
+ "https://HOSTNAME/users/octocat/followers"
3544
+ ]
3545
+ },
3546
+ "following_url": {
3547
+ "type": "string",
3548
+ "examples": [
3549
+ "https://HOSTNAME/users/octocat/following{/other_user}"
3550
+ ]
3551
+ },
3552
+ "gists_url": {
3553
+ "type": "string",
3554
+ "examples": [
3555
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
3556
+ ]
3557
+ },
3558
+ "starred_url": {
3559
+ "type": "string",
3560
+ "examples": [
3561
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
3562
+ ]
3563
+ },
3564
+ "subscriptions_url": {
3565
+ "type": "string",
3566
+ "format": "uri",
3567
+ "examples": [
3568
+ "https://HOSTNAME/users/octocat/subscriptions"
3569
+ ]
3570
+ },
3571
+ "organizations_url": {
3572
+ "type": "string",
3573
+ "format": "uri",
3574
+ "examples": [
3575
+ "https://HOSTNAME/users/octocat/orgs"
3576
+ ]
3577
+ },
3578
+ "repos_url": {
3579
+ "type": "string",
3580
+ "format": "uri",
3581
+ "examples": [
3582
+ "https://HOSTNAME/users/octocat/repos"
3583
+ ]
3584
+ },
3585
+ "events_url": {
3586
+ "type": "string",
3587
+ "examples": [
3588
+ "https://HOSTNAME/users/octocat/events{/privacy}"
3589
+ ]
3590
+ },
3591
+ "received_events_url": {
3592
+ "type": "string",
3593
+ "format": "uri",
3594
+ "examples": [
3595
+ "https://HOSTNAME/users/octocat/received_events"
3596
+ ]
3597
+ },
3598
+ "type": {
3599
+ "type": "string",
3600
+ "examples": [
3601
+ "User"
3602
+ ]
3603
+ },
3604
+ "site_admin": {
3605
+ "type": "boolean"
3606
+ },
3607
+ "starred_at": {
3608
+ "type": "string",
3609
+ "examples": [
3610
+ "\"2020-07-09T00:17:55Z\""
3611
+ ]
3612
+ },
3613
+ "user_view_type": {
3614
+ "type": "string",
3615
+ "examples": [
3616
+ "public"
3617
+ ]
3618
+ }
3619
+ },
3620
+ "required": [
3621
+ "avatar_url",
3622
+ "events_url",
3623
+ "followers_url",
3624
+ "following_url",
3625
+ "gists_url",
3626
+ "gravatar_id",
3627
+ "html_url",
3628
+ "id",
3629
+ "node_id",
3630
+ "login",
3631
+ "organizations_url",
3632
+ "received_events_url",
3633
+ "repos_url",
3634
+ "site_admin",
3635
+ "starred_url",
3636
+ "subscriptions_url",
3637
+ "type",
3638
+ "url"
3639
+ ]
3640
+ }
3641
+ },
3642
+ "required": [
3643
+ "label",
3644
+ "ref",
3645
+ "repo",
3646
+ "sha",
3647
+ "user"
3648
+ ]
3649
+ },
3650
+ "_links": {
3651
+ "type": "object",
3652
+ "properties": {
3653
+ "comments": {
3654
+ "title": "Link",
3655
+ "description": "Hypermedia Link",
3656
+ "type": "object",
3657
+ "properties": {
3658
+ "href": {
3659
+ "type": "string"
3660
+ }
3661
+ },
3662
+ "required": [
3663
+ "href"
3664
+ ]
3665
+ },
3666
+ "commits": {
3667
+ "title": "Link",
3668
+ "description": "Hypermedia Link",
3669
+ "type": "object",
3670
+ "properties": {
3671
+ "href": {
3672
+ "type": "string"
3673
+ }
3674
+ },
3675
+ "required": [
3676
+ "href"
3677
+ ]
3678
+ },
3679
+ "statuses": {
3680
+ "title": "Link",
3681
+ "description": "Hypermedia Link",
3682
+ "type": "object",
3683
+ "properties": {
3684
+ "href": {
3685
+ "type": "string"
3686
+ }
3687
+ },
3688
+ "required": [
3689
+ "href"
3690
+ ]
3691
+ },
3692
+ "html": {
3693
+ "title": "Link",
3694
+ "description": "Hypermedia Link",
3695
+ "type": "object",
3696
+ "properties": {
3697
+ "href": {
3698
+ "type": "string"
3699
+ }
3700
+ },
3701
+ "required": [
3702
+ "href"
3703
+ ]
3704
+ },
3705
+ "issue": {
3706
+ "title": "Link",
3707
+ "description": "Hypermedia Link",
3708
+ "type": "object",
3709
+ "properties": {
3710
+ "href": {
3711
+ "type": "string"
3712
+ }
3713
+ },
3714
+ "required": [
3715
+ "href"
3716
+ ]
3717
+ },
3718
+ "review_comments": {
3719
+ "title": "Link",
3720
+ "description": "Hypermedia Link",
3721
+ "type": "object",
3722
+ "properties": {
3723
+ "href": {
3724
+ "type": "string"
3725
+ }
3726
+ },
3727
+ "required": [
3728
+ "href"
3729
+ ]
3730
+ },
3731
+ "review_comment": {
3732
+ "title": "Link",
3733
+ "description": "Hypermedia Link",
3734
+ "type": "object",
3735
+ "properties": {
3736
+ "href": {
3737
+ "type": "string"
3738
+ }
3739
+ },
3740
+ "required": [
3741
+ "href"
3742
+ ]
3743
+ },
3744
+ "self": {
3745
+ "title": "Link",
3746
+ "description": "Hypermedia Link",
3747
+ "type": "object",
3748
+ "properties": {
3749
+ "href": {
3750
+ "type": "string"
3751
+ }
3752
+ },
3753
+ "required": [
3754
+ "href"
3755
+ ]
3756
+ }
3757
+ },
3758
+ "required": [
3759
+ "comments",
3760
+ "commits",
3761
+ "statuses",
3762
+ "html",
3763
+ "issue",
3764
+ "review_comments",
3765
+ "review_comment",
3766
+ "self"
3767
+ ]
3768
+ },
3769
+ "author_association": {
3770
+ "title": "author_association",
3771
+ "type": "string",
3772
+ "description": "How the author is associated with the repository.",
3773
+ "enum": [
3774
+ "COLLABORATOR",
3775
+ "CONTRIBUTOR",
3776
+ "FIRST_TIMER",
3777
+ "FIRST_TIME_CONTRIBUTOR",
3778
+ "MANNEQUIN",
3779
+ "MEMBER",
3780
+ "NONE",
3781
+ "OWNER"
3782
+ ],
3783
+ "examples": [
3784
+ "OWNER"
3785
+ ]
3786
+ },
3787
+ "auto_merge": {
3788
+ "title": "Auto merge",
3789
+ "description": "The status of auto merging a pull request.",
3790
+ "type": [
3791
+ "object",
3792
+ "null"
3793
+ ],
3794
+ "properties": {
3795
+ "enabled_by": {
3796
+ "title": "Simple User",
3797
+ "description": "A GitHub user.",
3798
+ "type": "object",
3799
+ "properties": {
3800
+ "name": {
3801
+ "type": [
3802
+ "string",
3803
+ "null"
3804
+ ]
3805
+ },
3806
+ "email": {
3807
+ "type": [
3808
+ "string",
3809
+ "null"
3810
+ ]
3811
+ },
3812
+ "login": {
3813
+ "type": "string",
3814
+ "examples": [
3815
+ "octocat"
3816
+ ]
3817
+ },
3818
+ "id": {
3819
+ "type": "integer",
3820
+ "format": "int64",
3821
+ "examples": [
3822
+ 1
3823
+ ]
3824
+ },
3825
+ "node_id": {
3826
+ "type": "string",
3827
+ "examples": [
3828
+ "MDQ6VXNlcjE="
3829
+ ]
3830
+ },
3831
+ "avatar_url": {
3832
+ "type": "string",
3833
+ "format": "uri",
3834
+ "examples": [
3835
+ "https://github.com/images/error/octocat_happy.gif"
3836
+ ]
3837
+ },
3838
+ "gravatar_id": {
3839
+ "type": [
3840
+ "string",
3841
+ "null"
3842
+ ],
3843
+ "examples": [
3844
+ "41d064eb2195891e12d0413f63227ea7"
3845
+ ]
3846
+ },
3847
+ "url": {
3848
+ "type": "string",
3849
+ "format": "uri",
3850
+ "examples": [
3851
+ "https://HOSTNAME/users/octocat"
3852
+ ]
3853
+ },
3854
+ "html_url": {
3855
+ "type": "string",
3856
+ "format": "uri",
3857
+ "examples": [
3858
+ "https://github.com/octocat"
3859
+ ]
3860
+ },
3861
+ "followers_url": {
3862
+ "type": "string",
3863
+ "format": "uri",
3864
+ "examples": [
3865
+ "https://HOSTNAME/users/octocat/followers"
3866
+ ]
3867
+ },
3868
+ "following_url": {
3869
+ "type": "string",
3870
+ "examples": [
3871
+ "https://HOSTNAME/users/octocat/following{/other_user}"
3872
+ ]
3873
+ },
3874
+ "gists_url": {
3875
+ "type": "string",
3876
+ "examples": [
3877
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
3878
+ ]
3879
+ },
3880
+ "starred_url": {
3881
+ "type": "string",
3882
+ "examples": [
3883
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
3884
+ ]
3885
+ },
3886
+ "subscriptions_url": {
3887
+ "type": "string",
3888
+ "format": "uri",
3889
+ "examples": [
3890
+ "https://HOSTNAME/users/octocat/subscriptions"
3891
+ ]
3892
+ },
3893
+ "organizations_url": {
3894
+ "type": "string",
3895
+ "format": "uri",
3896
+ "examples": [
3897
+ "https://HOSTNAME/users/octocat/orgs"
3898
+ ]
3899
+ },
3900
+ "repos_url": {
3901
+ "type": "string",
3902
+ "format": "uri",
3903
+ "examples": [
3904
+ "https://HOSTNAME/users/octocat/repos"
3905
+ ]
3906
+ },
3907
+ "events_url": {
3908
+ "type": "string",
3909
+ "examples": [
3910
+ "https://HOSTNAME/users/octocat/events{/privacy}"
3911
+ ]
3912
+ },
3913
+ "received_events_url": {
3914
+ "type": "string",
3915
+ "format": "uri",
3916
+ "examples": [
3917
+ "https://HOSTNAME/users/octocat/received_events"
3918
+ ]
3919
+ },
3920
+ "type": {
3921
+ "type": "string",
3922
+ "examples": [
3923
+ "User"
3924
+ ]
3925
+ },
3926
+ "site_admin": {
3927
+ "type": "boolean"
3928
+ },
3929
+ "starred_at": {
3930
+ "type": "string",
3931
+ "examples": [
3932
+ "\"2020-07-09T00:17:55Z\""
3933
+ ]
3934
+ },
3935
+ "user_view_type": {
3936
+ "type": "string",
3937
+ "examples": [
3938
+ "public"
3939
+ ]
3940
+ }
3941
+ },
3942
+ "required": [
3943
+ "avatar_url",
3944
+ "events_url",
3945
+ "followers_url",
3946
+ "following_url",
3947
+ "gists_url",
3948
+ "gravatar_id",
3949
+ "html_url",
3950
+ "id",
3951
+ "node_id",
3952
+ "login",
3953
+ "organizations_url",
3954
+ "received_events_url",
3955
+ "repos_url",
3956
+ "site_admin",
3957
+ "starred_url",
3958
+ "subscriptions_url",
3959
+ "type",
3960
+ "url"
3961
+ ]
3962
+ },
3963
+ "merge_method": {
3964
+ "type": "string",
3965
+ "description": "The merge method to use.",
3966
+ "enum": [
3967
+ "merge",
3968
+ "squash",
3969
+ "rebase"
3970
+ ]
3971
+ },
3972
+ "commit_title": {
3973
+ "type": "string",
3974
+ "description": "Title for the merge commit message."
3975
+ },
3976
+ "commit_message": {
3977
+ "type": "string",
3978
+ "description": "Commit message for the merge commit."
3979
+ }
3980
+ },
3981
+ "required": [
3982
+ "enabled_by",
3983
+ "merge_method",
3984
+ "commit_title",
3985
+ "commit_message"
3986
+ ]
3987
+ },
3988
+ "draft": {
3989
+ "description": "Indicates whether or not the pull request is a draft.",
3990
+ "type": "boolean",
3991
+ "examples": [
3992
+ false
3993
+ ]
3994
+ },
3995
+ "merged": {
3996
+ "type": "boolean"
3997
+ },
3998
+ "mergeable": {
3999
+ "type": [
4000
+ "boolean",
4001
+ "null"
4002
+ ],
4003
+ "examples": [
4004
+ true
4005
+ ]
4006
+ },
4007
+ "rebaseable": {
4008
+ "type": [
4009
+ "boolean",
4010
+ "null"
4011
+ ],
4012
+ "examples": [
4013
+ true
4014
+ ]
4015
+ },
4016
+ "mergeable_state": {
4017
+ "type": "string",
4018
+ "examples": [
4019
+ "clean"
4020
+ ]
4021
+ },
4022
+ "merged_by": {
4023
+ "anyOf": [
4024
+ {
4025
+ "type": "null"
4026
+ },
4027
+ {
4028
+ "title": "Simple User",
4029
+ "description": "A GitHub user.",
4030
+ "type": "object",
4031
+ "properties": {
4032
+ "name": {
4033
+ "type": [
4034
+ "string",
4035
+ "null"
4036
+ ]
4037
+ },
4038
+ "email": {
4039
+ "type": [
4040
+ "string",
4041
+ "null"
4042
+ ]
4043
+ },
4044
+ "login": {
4045
+ "type": "string",
4046
+ "examples": [
4047
+ "octocat"
4048
+ ]
4049
+ },
4050
+ "id": {
4051
+ "type": "integer",
4052
+ "format": "int64",
4053
+ "examples": [
4054
+ 1
4055
+ ]
4056
+ },
4057
+ "node_id": {
4058
+ "type": "string",
4059
+ "examples": [
4060
+ "MDQ6VXNlcjE="
4061
+ ]
4062
+ },
4063
+ "avatar_url": {
4064
+ "type": "string",
4065
+ "format": "uri",
4066
+ "examples": [
4067
+ "https://github.com/images/error/octocat_happy.gif"
4068
+ ]
4069
+ },
4070
+ "gravatar_id": {
4071
+ "type": [
4072
+ "string",
4073
+ "null"
4074
+ ],
4075
+ "examples": [
4076
+ "41d064eb2195891e12d0413f63227ea7"
4077
+ ]
4078
+ },
4079
+ "url": {
4080
+ "type": "string",
4081
+ "format": "uri",
4082
+ "examples": [
4083
+ "https://HOSTNAME/users/octocat"
4084
+ ]
4085
+ },
4086
+ "html_url": {
4087
+ "type": "string",
4088
+ "format": "uri",
4089
+ "examples": [
4090
+ "https://github.com/octocat"
4091
+ ]
4092
+ },
4093
+ "followers_url": {
4094
+ "type": "string",
4095
+ "format": "uri",
4096
+ "examples": [
4097
+ "https://HOSTNAME/users/octocat/followers"
4098
+ ]
4099
+ },
4100
+ "following_url": {
4101
+ "type": "string",
4102
+ "examples": [
4103
+ "https://HOSTNAME/users/octocat/following{/other_user}"
4104
+ ]
4105
+ },
4106
+ "gists_url": {
4107
+ "type": "string",
4108
+ "examples": [
4109
+ "https://HOSTNAME/users/octocat/gists{/gist_id}"
4110
+ ]
4111
+ },
4112
+ "starred_url": {
4113
+ "type": "string",
4114
+ "examples": [
4115
+ "https://HOSTNAME/users/octocat/starred{/owner}{/repo}"
4116
+ ]
4117
+ },
4118
+ "subscriptions_url": {
4119
+ "type": "string",
4120
+ "format": "uri",
4121
+ "examples": [
4122
+ "https://HOSTNAME/users/octocat/subscriptions"
4123
+ ]
4124
+ },
4125
+ "organizations_url": {
4126
+ "type": "string",
4127
+ "format": "uri",
4128
+ "examples": [
4129
+ "https://HOSTNAME/users/octocat/orgs"
4130
+ ]
4131
+ },
4132
+ "repos_url": {
4133
+ "type": "string",
4134
+ "format": "uri",
4135
+ "examples": [
4136
+ "https://HOSTNAME/users/octocat/repos"
4137
+ ]
4138
+ },
4139
+ "events_url": {
4140
+ "type": "string",
4141
+ "examples": [
4142
+ "https://HOSTNAME/users/octocat/events{/privacy}"
4143
+ ]
4144
+ },
4145
+ "received_events_url": {
4146
+ "type": "string",
4147
+ "format": "uri",
4148
+ "examples": [
4149
+ "https://HOSTNAME/users/octocat/received_events"
4150
+ ]
4151
+ },
4152
+ "type": {
4153
+ "type": "string",
4154
+ "examples": [
4155
+ "User"
4156
+ ]
4157
+ },
4158
+ "site_admin": {
4159
+ "type": "boolean"
4160
+ },
4161
+ "starred_at": {
4162
+ "type": "string",
4163
+ "examples": [
4164
+ "\"2020-07-09T00:17:55Z\""
4165
+ ]
4166
+ },
4167
+ "user_view_type": {
4168
+ "type": "string",
4169
+ "examples": [
4170
+ "public"
4171
+ ]
4172
+ }
4173
+ },
4174
+ "required": [
4175
+ "avatar_url",
4176
+ "events_url",
4177
+ "followers_url",
4178
+ "following_url",
4179
+ "gists_url",
4180
+ "gravatar_id",
4181
+ "html_url",
4182
+ "id",
4183
+ "node_id",
4184
+ "login",
4185
+ "organizations_url",
4186
+ "received_events_url",
4187
+ "repos_url",
4188
+ "site_admin",
4189
+ "starred_url",
4190
+ "subscriptions_url",
4191
+ "type",
4192
+ "url"
4193
+ ]
4194
+ }
4195
+ ]
4196
+ },
4197
+ "comments": {
4198
+ "type": "integer",
4199
+ "examples": [
4200
+ 10
4201
+ ]
4202
+ },
4203
+ "review_comments": {
4204
+ "type": "integer",
4205
+ "examples": [
4206
+ 0
4207
+ ]
4208
+ },
4209
+ "maintainer_can_modify": {
4210
+ "description": "Indicates whether maintainers can modify the pull request.",
4211
+ "type": "boolean",
4212
+ "examples": [
4213
+ true
4214
+ ]
4215
+ },
4216
+ "commits": {
4217
+ "type": "integer",
4218
+ "examples": [
4219
+ 3
4220
+ ]
4221
+ },
4222
+ "additions": {
4223
+ "type": "integer",
4224
+ "examples": [
4225
+ 100
4226
+ ]
4227
+ },
4228
+ "deletions": {
4229
+ "type": "integer",
4230
+ "examples": [
4231
+ 3
4232
+ ]
4233
+ },
4234
+ "changed_files": {
4235
+ "type": "integer",
4236
+ "examples": [
4237
+ 5
4238
+ ]
4239
+ }
4240
+ },
4241
+ "required": [
4242
+ "_links",
4243
+ "assignee",
4244
+ "labels",
4245
+ "base",
4246
+ "body",
4247
+ "closed_at",
4248
+ "comments_url",
4249
+ "commits_url",
4250
+ "created_at",
4251
+ "diff_url",
4252
+ "head",
4253
+ "html_url",
4254
+ "id",
4255
+ "node_id",
4256
+ "issue_url",
4257
+ "merge_commit_sha",
4258
+ "merged_at",
4259
+ "milestone",
4260
+ "number",
4261
+ "patch_url",
4262
+ "review_comment_url",
4263
+ "review_comments_url",
4264
+ "statuses_url",
4265
+ "state",
4266
+ "locked",
4267
+ "title",
4268
+ "updated_at",
4269
+ "url",
4270
+ "user",
4271
+ "author_association",
4272
+ "auto_merge",
4273
+ "additions",
4274
+ "changed_files",
4275
+ "comments",
4276
+ "commits",
4277
+ "deletions",
4278
+ "mergeable",
4279
+ "mergeable_state",
4280
+ "merged",
4281
+ "maintainer_can_modify",
4282
+ "merged_by",
4283
+ "review_comments"
4284
+ ]
4285
+ }