dev.gitosphere.defs

gitosphere-lex.bsky.social

Schema Diff

+32 -0

From

CID
bafyreidf432oeux...
Indexed At
2026-09-19 00:27 UTC
View this version

To

CID
bafyreia2gxsbmi7...
Indexed At
2026-09-19 08:39 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

2 breaking changes, 9 non-breaking changes.

Breaking Changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult", src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.status", kind: "prop", name: Some("status") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult", src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.number", kind: "prop", name: Some("number") }
Non-Breaking Changes (9)
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult" }
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.errorCode" }
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.number" }
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.operationId" }
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.requestId" }
  • AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.status" }
  • AddedEdge AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.errorCode", kind: "prop", name: Some("errorCode") }
  • AddedEdge AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.operationId", kind: "prop", name: Some("operationId") }
  • AddedEdge AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.requestId", kind: "prop", name: Some("requestId") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult" }
  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.errorCode" }
  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.number" }
  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.operationId" }
  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.requestId" }
  • AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult.status" }

Additional Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult", src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.status", kind: "prop", name: Some("status") }
  • Breaking: RequiredEdgeAdded { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult", src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.number", kind: "prop", name: Some("number") }
  • Non-breaking: AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.errorCode", kind: "prop", name: Some("errorCode") }
  • Non-breaking: AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.operationId", kind: "prop", name: Some("operationId") }
  • Non-breaking: AddedEdge { src: "dev.gitosphere.defs#pullRequestIssueCloseResult", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult.requestId", kind: "prop", name: Some("requestId") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "accessDecision": {
5 5
      "properties": {
6 6
        "allowed": {
7 7
          "type": "boolean"
8 8
        },
9 9
        "decisionId": {
10 10
          "description": "Secret-free identifier shared with the authorization audit event.",
11 11
          "maxLength": 64,
12 12
          "minLength": 1,
13 13
          "type": "string"
14 14
        },
15 15
        "policyVersion": {
16 16
          "description": "Durable authorization version used for the decision.",
17 17
          "maxLength": 128,
18 18
          "minLength": 1,
19 19
          "type": "string"
20 20
        },
21 21
        "reason": {
22 22
          "description": "Bounded secret-free decision reason.",
23 23
          "maxLength": 64,
24 24
          "minLength": 1,
25 25
          "type": "string"
26 26
        }
27 27
      },
28 28
      "required": [
29 29
        "allowed",
30 30
        "decisionId",
31 31
        "reason",
32 32
        "policyVersion"
33 33
      ],
34 34
      "type": "object"
35 35
    },
36 36
    "accessTarget": {
37 37
      "properties": {
38 38
        "collection": {
39 39
          "format": "nsid",
40 40
          "type": "string"
41 41
        },
42 42
        "kind": {
43 43
          "enum": [
44 44
            "organization",
45 45
            "project",
46 46
            "repository",
47 47
            "space",
48 48
            "record"
49 49
          ],
50 50
          "type": "string"
51 51
        },
52 52
        "organizationId": {
53 53
          "ref": "dev.gitosphere.defs#organizationId",
54 54
          "type": "ref"
55 55
        },
56 56
        "projectId": {
57 57
          "ref": "dev.gitosphere.defs#projectId",
58 58
          "type": "ref"
59 59
        },
60 60
        "recordUri": {
61 61
          "ref": "dev.gitosphere.defs#recordUri",
62 62
          "type": "ref"
63 63
        },
64 64
        "ref": {
65 65
          "description": "Optional Git ref.",
66 66
          "maxLength": 1024,
67 67
          "minLength": 1,
68 68
          "type": "string"
69 69
        },
70 70
        "repositoryId": {
71 71
          "ref": "dev.gitosphere.defs#repositoryId",
72 72
          "type": "ref"
73 73
        },
74 74
        "spaceId": {
75 75
          "ref": "dev.gitosphere.defs#spaceId",
76 76
          "type": "ref"
77 77
        }
78 78
      },
79 79
      "required": [
80 80
        "kind"
81 81
      ],
82 82
      "type": "object"
83 83
    },
84 84
    "appViewResource": {
85 85
      "properties": {
86 86
        "collection": {
87 87
          "format": "nsid",
88 88
          "type": "string"
89 89
        },
90 90
        "observedRevision": {
91 91
          "description": "Observed PDS revision.",
92 92
          "maxLength": 256,
93 93
          "minLength": 1,
94 94
          "type": "string"
95 95
        },
96 96
        "organizationId": {
97 97
          "ref": "dev.gitosphere.defs#organizationId",
98 98
          "type": "ref"
99 99
        },
100 100
        "projectId": {
101 101
          "ref": "dev.gitosphere.defs#projectId",
102 102
          "type": "ref"
103 103
        },
104 104
        "realmId": {
105 105
          "ref": "dev.gitosphere.defs#realmId",
106 106
          "type": "ref"
107 107
        },
108 108
        "spaceId": {
109 109
          "ref": "dev.gitosphere.defs#spaceId",
110 110
          "type": "ref"
111 111
        },
112 112
        "uri": {
113 113
          "ref": "dev.gitosphere.defs#recordUri",
114 114
          "type": "ref"
115 115
        },
116 116
        "value": {
117 117
          "type": "unknown"
118 118
        }
119 119
      },
120 120
      "required": [
121 121
        "realmId",
122 122
        "organizationId",
123 123
        "projectId",
124 124
        "spaceId",
125 125
        "uri",
126 126
        "collection",
127 127
        "value"
128 128
      ],
129 129
      "type": "object"
130 130
    },
131 131
    "cursor": {
132 132
      "description": "Opaque pagination cursor. Clients must not inspect or modify it.",
133 133
      "maxLength": 4096,
134 134
      "minLength": 1,
135 135
      "type": "string"
136 136
    },
137 137
    "error": {
138 138
      "properties": {
139 139
        "details": {
140 140
          "items": {
141 141
            "ref": "dev.gitosphere.defs#validationDetail",
142 142
            "type": "ref"
143 143
          },
144 144
          "type": "array"
145 145
        },
146 146
        "error": {
147 147
          "description": "Stable machine-readable error code.",
148 148
          "maxLength": 64,
149 149
          "minLength": 1,
150 150
          "type": "string"
151 151
        },
152 152
        "message": {
153 153
          "description": "Optional safe human-readable diagnostic.",
154 154
          "maxLength": 1024,
155 155
          "minLength": 1,
156 156
          "type": "string"
157 157
        },
158 158
        "requestId": {
159 159
          "description": "Server-generated request identifier.",
160 160
          "maxLength": 128,
161 161
          "minLength": 1,
162 162
          "type": "string"
163 163
        }
164 164
      },
165 165
      "required": [
166 166
        "error",
167 167
        "requestId"
168 168
      ],
169 169
      "type": "object"
170 170
    },
171 171
    "idempotencyKey": {
172 172
      "description": "Caller-selected key identifying one create attempt.",
173 173
      "maxLength": 128,
174 174
      "minLength": 1,
175 175
      "type": "string"
176 176
    },
177 177
    "idempotencyResult": {
178 178
      "properties": {
179 179
        "replayed": {
180 180
          "type": "boolean"
181 181
        }
182 182
      },
183 183
      "required": [
184 184
        "replayed"
185 185
      ],
186 186
      "type": "object"
187 187
    },
188 188
    "member": {
189 189
      "properties": {
190 190
        "active": {
191 191
          "type": "boolean"
192 192
        },
193 193
        "membershipAuthority": {
194 194
          "enum": [
195 195
            "gitosphere"
196 196
          ],
197 197
          "type": "string"
198 198
        },
199 199
        "organizationId": {
200 200
          "ref": "dev.gitosphere.defs#organizationId",
201 201
          "type": "ref"
202 202
        },
203 203
        "principalId": {
204 204
          "ref": "dev.gitosphere.defs#principalId",
205 205
          "type": "ref"
206 206
        },
207 207
        "realmId": {
208 208
          "ref": "dev.gitosphere.defs#realmId",
209 209
          "type": "ref"
210 210
        },
211 211
        "repositoryId": {
212 212
          "ref": "dev.gitosphere.defs#repositoryId",
213 213
          "type": "ref"
214 214
        },
215 215
        "role": {
216 216
          "ref": "dev.gitosphere.defs#role",
217 217
          "type": "ref"
218 218
        },
219 219
        "scopeKind": {
220 220
          "enum": [
221 221
            "organization",
222 222
            "repository"
223 223
          ],
224 224
          "type": "string"
225 225
        },
226 226
        "spaceMembershipManaged": {
227 227
          "type": "boolean"
228 228
        }
229 229
      },
230 230
      "required": [
231 231
        "realmId",
232 232
        "organizationId",
233 233
        "principalId",
234 234
        "role",
235 235
        "active",
236 236
        "scopeKind",
237 237
        "membershipAuthority",
238 238
        "spaceMembershipManaged"
239 239
      ],
240 240
      "type": "object"
241 241
    },
242 242
    "organization": {
243 243
      "properties": {
244 244
        "active": {
245 245
          "type": "boolean"
246 246
        },
247 247
        "name": {
248 248
          "description": "Organization display name.",
249 249
          "maxLength": 256,
250 250
          "minLength": 1,
251 251
          "type": "string"
252 252
        },
253 253
        "organizationId": {
254 254
          "ref": "dev.gitosphere.defs#organizationId",
255 255
          "type": "ref"
256 256
        },
257 257
        "realmId": {
258 258
          "ref": "dev.gitosphere.defs#realmId",
259 259
          "type": "ref"
260 260
        }
261 261
      },
262 262
      "required": [
263 263
        "realmId",
264 264
        "organizationId",
265 265
        "name",
266 266
        "active"
267 267
      ],
268 268
      "type": "object"
269 269
    },
270 270
    "organizationId": {
271 271
      "description": "Immutable Organization identifier.",
272 272
      "maxLength": 64,
273 273
      "minLength": 1,
274 274
      "type": "string"
275 275
    },
276 276
    "page": {
277 277
      "description": "Cursor for the next page; absent at the end.",
278 278
      "properties": {
279 279
        "nextCursor": {
280 280
          "ref": "dev.gitosphere.defs#cursor",
281 281
          "type": "ref"
282 282
        }
283 283
      },
284 284
      "required": [],
285 285
      "type": "object"
286 286
    },
287 287
    "principalId": {
288 288
      "description": "Authenticated principal DID.",
289 289
      "format": "did",
290 290
      "type": "string"
291 291
    },
292 292
    "project": {
293 293
      "properties": {
294 294
        "active": {
295 295
          "type": "boolean"
296 296
        },
297 297
        "name": {
298 298
          "description": "Project display name.",
299 299
          "maxLength": 256,
300 300
          "minLength": 1,
301 301
          "type": "string"
302 302
        },
303 303
        "organizationId": {
304 304
          "ref": "dev.gitosphere.defs#organizationId",
305 305
          "type": "ref"
306 306
        },
307 307
        "projectId": {
308 308
          "ref": "dev.gitosphere.defs#projectId",
309 309
          "type": "ref"
310 310
        },
311 311
        "realmId": {
312 312
          "ref": "dev.gitosphere.defs#realmId",
313 313
          "type": "ref"
314 314
        },
315 315
        "visibility": {
316 316
          "ref": "dev.gitosphere.defs#projectVisibility",
317 317
          "type": "ref"
318 318
        }
319 319
      },
320 320
      "required": [
321 321
        "realmId",
322 322
        "organizationId",
323 323
        "projectId",
324 324
        "name",
325 325
        "visibility",
326 326
        "active"
327 327
      ],
328 328
      "type": "object"
329 329
    },
330 330
    "projectId": {
331 331
      "description": "Immutable Project identifier.",
332 332
      "maxLength": 64,
333 333
      "minLength": 1,
334 334
      "type": "string"
335 335
    },
336 336
    "projectVisibility": {
337 337
      "description": "Gitosphere-owned Project read visibility.",
338 338
      "enum": [
339 339
        "private",
340 340
        "internal",
341 341
        "public"
342 342
      ],
343 343
      "type": "string"
344 344
    },
345 345
    "publicRepositoryView": {
346 346
      "properties": {
347 347
        "authority": {
348 348
          "format": "did",
349 349
          "type": "string"
350 350
        },
351 351
        "createdAt": {
352 352
          "format": "datetime",
353 353
          "type": "string"
354 354
        },
355 355
        "gitUrl": {
356 356
          "format": "uri",
357 357
          "type": "string"
358 358
        },
359 359
        "name": {
360 360
          "maxLength": 256,
361 361
          "minLength": 1,
362 362
          "type": "string"
363 363
        },
364 364
        "owner": {
365 365
          "ref": "dev.gitosphere.repository#owner",
366 366
          "type": "ref"
367 367
        },
368 368
        "ownerName": {
369 369
          "maxLength": 256,
370 370
          "minLength": 1,
371 371
          "type": "string"
372 372
        },
373 373
        "publisher": {
374 374
          "format": "did",
375 375
          "type": "string"
376 376
        },
377 377
        "realmId": {
378 378
          "ref": "dev.gitosphere.defs#realmId",
379 379
          "type": "ref"
380 380
        },
381 381
        "recordCid": {
382 382
          "format": "cid",
383 383
          "type": "string"
384 384
        },
385 385
        "recordUri": {
386 386
          "format": "at-uri",
387 387
          "type": "string"
388 388
        },
389 389
        "repositoryId": {
390 390
          "ref": "dev.gitosphere.defs#repositoryId",
391 391
          "type": "ref"
392 392
        },
393 393
        "visibility": {
394 394
          "enum": [
395 395
            "public"
396 396
          ],
397 397
          "type": "string"
398 398
        }
399 399
      },
400 400
      "required": [
401 401
        "authority",
402 402
        "realmId",
403 403
        "repositoryId",
404 404
        "name",
405 405
        "owner",
406 406
        "ownerName",
407 407
        "gitUrl",
408 408
        "publisher",
409 409
        "visibility",
410 410
        "createdAt",
411 411
        "recordUri",
412 412
        "recordCid"
413 413
      ],
414 414
      "type": "object"
415 415
    },
416 416
    "pullRequestCommentView": {
417 417
      "properties": {
418 418
        "author": {
419 419
          "format": "did",
420 420
          "type": "string"
421 421
        },
422 422
        "baseCommit": {
423 423
          "maxLength": 64,
424 424
          "minLength": 40,
425 425
          "type": "string"
426 426
        },
427 427
        "blocking": {
428 428
          "type": "boolean"
429 429
        },
430 430
        "body": {
431 431
          "maxLength": 100000,
432 432
          "minLength": 1,
433 433
          "type": "string"
434 434
        },
435 435
        "category": {
436 436
          "maxLength": 64,
437 437
          "minLength": 1,
438 438
          "type": "string"
439 439
        },
440 440
        "cid": {
441 441
          "format": "cid",
442 442
          "type": "string"
443 443
        },
444 444
        "createdAt": {
445 445
          "format": "datetime",
446 446
          "type": "string"
447 447
        },
448 448
        "headCommit": {
449 449
          "maxLength": 64,
450 450
          "minLength": 40,
451 451
          "type": "string"
452 452
        },
453 453
        "line": {
454 454
          "maximum": 2147483647,
455 455
          "minimum": 1,
456 456
          "type": "integer"
457 457
        },
458 458
        "number": {
459 459
          "maximum": 9007199254740991,
460 460
          "minimum": 1,
461 461
          "type": "integer"
462 462
        },
463 463
        "outdated": {
464 464
          "type": "boolean"
465 465
        },
466 466
        "path": {
467 467
          "maxLength": 4096,
468 468
          "minLength": 1,
469 469
          "type": "string"
470 470
        },
471 471
        "pullRequestId": {
472 472
          "maxLength": 36,
473 473
          "minLength": 36,
474 474
          "type": "string"
475 475
        },
476 476
        "repositoryId": {
477 477
          "ref": "dev.gitosphere.defs#repositoryId",
478 478
          "type": "ref"
479 479
        },
480 480
        "round": {
481 481
          "maximum": 9007199254740991,
482 482
          "minimum": 0,
483 483
          "type": "integer"
484 484
        },
485 485
        "severity": {
486 486
          "enum": [
487 487
            "info",
488 488
            "low",
489 489
            "medium",
490 490
            "high",
491 491
            "critical"
492 492
          ],
493 493
          "type": "string"
494 494
        },
495 495
        "side": {
496 496
          "enum": [
497 497
            "base",
498 498
            "head"
499 499
          ],
500 500
          "type": "string"
501 501
        },
502 502
        "startLine": {
503 503
          "maximum": 2147483647,
504 504
          "minimum": 1,
505 505
          "type": "integer"
506 506
        },
507 507
        "uri": {
508 508
          "format": "at-uri",
509 509
          "type": "string"
510 510
        }
511 511
      },
512 512
      "required": [
513 513
        "uri",
514 514
        "cid",
515 515
        "repositoryId",
516 516
        "pullRequestId",
517 517
        "number",
518 518
        "round",
519 519
        "baseCommit",
520 520
        "headCommit",
521 521
        "author",
522 522
        "body",
523 523
        "blocking",
524 524
        "outdated",
525 525
        "createdAt"
526 526
      ],
527 527
      "type": "object"
528 528
    },
529 +
    "pullRequestIssueCloseResult": {
530 +
      "description": "マージに伴うIssue closeの永続的な進捗。成功は受理台帳または認可済みno-opからのみ確定する。",
531 +
      "properties": {
532 +
        "errorCode": {
533 +
          "type": "string"
534 +
        },
535 +
        "number": {
536 +
          "minimum": 1,
537 +
          "type": "integer"
538 +
        },
539 +
        "operationId": {
540 +
          "type": "string"
541 +
        },
542 +
        "requestId": {
543 +
          "type": "string"
544 +
        },
545 +
        "status": {
546 +
          "knownValues": [
547 +
            "pending",
548 +
            "closed",
549 +
            "alreadyClosed",
550 +
            "failed"
551 +
          ],
552 +
          "type": "string"
553 +
        }
554 +
      },
555 +
      "required": [
556 +
        "number",
557 +
        "status"
558 +
      ],
559 +
      "type": "object"
560 +
    },
529 561
    "pullRequestReviewStatus": {
530 562
      "properties": {
531 563
        "blockingReasons": {
532 564
          "items": {
533 565
            "maxLength": 64,
534 566
            "minLength": 1,
535 567
            "type": "string"
536 568
          },
537 569
          "maxLength": 16,
538 570
          "type": "array"
539 571
        },
540 572
        "currentApprovals": {
541 573
          "maximum": 10000,
542 574
          "minimum": 0,
543 575
          "type": "integer"
544 576
        },
545 577
        "currentRound": {
546 578
          "maximum": 9007199254740991,
547 579
          "minimum": 0,
548 580
          "type": "integer"
549 581
        },
550 582
        "mergeable": {
551 583
          "type": "boolean"
552 584
        },
553 585
        "number": {
554 586
          "maximum": 9007199254740991,
555 587
          "minimum": 1,
556 588
          "type": "integer"
557 589
        },
558 590
        "outdatedApprovals": {
559 591
          "maximum": 10000,
560 592
          "minimum": 0,
561 593
          "type": "integer"
562 594
        },
563 595
        "pullRequestId": {
564 596
          "maxLength": 36,
565 597
          "minLength": 36,
566 598
          "type": "string"
567 599
        },
568 600
        "repositoryId": {
569 601
          "ref": "dev.gitosphere.defs#repositoryId",
570 602
          "type": "ref"
571 603
        },
572 604
        "requiredApprovals": {
573 605
          "maximum": 100,
574 606
          "minimum": 1,
575 607
          "type": "integer"
576 608
        },
577 609
        "reviewDecision": {
578 610
          "enum": [
579 611
            "approved",
580 612
            "changes_requested",
581 613
            "review_required",
582 614
            "blocked"
583 615
          ],
584 616
          "type": "string"
585 617
        },
586 618
        "unresolvedBlockingFindings": {
587 619
          "maximum": 10000,
588 620
          "minimum": 0,
589 621
          "type": "integer"
590 622
        },
591 623
        "unverified": {
592 624
          "items": {
593 625
            "maxLength": 128,
594 626
            "minLength": 1,
595 627
            "type": "string"
596 628
          },
597 629
          "maxLength": 1000,
598 630
          "type": "array"
599 631
        },
600 632
        "verification": {
601 633
          "items": {
602 634
            "ref": "dev.gitosphere.defs#verificationEvidence",
603 635
            "type": "ref"
604 636
          },
605 637
          "maxLength": 1000,
606 638
          "type": "array"
607 639
        }
608 640
      },
609 641
      "required": [
610 642
        "repositoryId",
611 643
        "pullRequestId",
612 644
        "number",
613 645
        "currentRound",
614 646
        "reviewDecision",
615 647
        "requiredApprovals",
616 648
        "currentApprovals",
617 649
        "unresolvedBlockingFindings",
618 650
        "outdatedApprovals",
619 651
        "verification",
620 652
        "unverified",
621 653
        "mergeable",
622 654
        "blockingReasons"
623 655
      ],
624 656
      "type": "object"
625 657
    },
626 658
    "pullRequestReviewView": {
627 659
      "properties": {
628 660
        "baseCommit": {
629 661
          "maxLength": 64,
630 662
          "minLength": 40,
631 663
          "type": "string"
632 664
        },
633 665
        "body": {
634 666
          "maxLength": 100000,
635 667
          "type": "string"
636 668
        },
637 669
        "cid": {
638 670
          "format": "cid",
639 671
          "type": "string"
640 672
        },
641 673
        "createdAt": {
642 674
          "format": "datetime",
643 675
          "type": "string"
644 676
        },
645 677
        "decision": {
646 678
          "enum": [
647 679
            "comment",
648 680
            "approve",
649 681
            "request_changes"
650 682
          ],
651 683
          "type": "string"
652 684
        },
653 685
        "headCommit": {
654 686
          "maxLength": 64,
655 687
          "minLength": 40,
656 688
          "type": "string"
657 689
        },
658 690
        "number": {
659 691
          "maximum": 9007199254740991,
660 692
          "minimum": 1,
661 693
          "type": "integer"
662 694
        },
663 695
        "outdated": {
664 696
          "type": "boolean"
665 697
        },
666 698
        "pullRequestId": {
667 699
          "maxLength": 36,
668 700
          "minLength": 36,
669 701
          "type": "string"
670 702
        },
671 703
        "qualifying": {
672 704
          "type": "boolean"
673 705
        },
674 706
        "repositoryId": {
675 707
          "ref": "dev.gitosphere.defs#repositoryId",
676 708
          "type": "ref"
677 709
        },
678 710
        "reviewer": {
679 711
          "format": "did",
680 712
          "type": "string"
681 713
        },
682 714
        "round": {
683 715
          "maximum": 9007199254740991,
684 716
          "minimum": 0,
685 717
          "type": "integer"
686 718
        },
687 719
        "unverified": {
688 720
          "items": {
689 721
            "maxLength": 128,
690 722
            "minLength": 1,
691 723
            "type": "string"
692 724
          },
693 725
          "maxLength": 100,
694 726
          "type": "array"
695 727
        },
696 728
        "uri": {
697 729
          "format": "at-uri",
698 730
          "type": "string"
699 731
        },
700 732
        "verification": {
701 733
          "items": {
702 734
            "ref": "dev.gitosphere.defs#verificationEvidence",
703 735
            "type": "ref"
704 736
          },
705 737
          "maxLength": 100,
706 738
          "type": "array"
707 739
        }
708 740
      },
709 741
      "required": [
710 742
        "uri",
711 743
        "cid",
712 744
        "repositoryId",
713 745
        "pullRequestId",
714 746
        "number",
715 747
        "round",
716 748
        "baseCommit",
717 749
        "headCommit",
718 750
        "reviewer",
719 751
        "decision",
720 752
        "verification",
721 753
        "unverified",
722 754
        "outdated",
723 755
        "qualifying",
724 756
        "createdAt"
725 757
      ],
726 758
      "type": "object"
727 759
    },
728 760
    "pullRequestRound": {
729 761
      "properties": {
730 762
        "baseCommit": {
731 763
          "maxLength": 64,
732 764
          "minLength": 40,
733 765
          "type": "string"
734 766
        },
735 767
        "createdAt": {
736 768
          "format": "datetime",
737 769
          "type": "string"
738 770
        },
739 771
        "headCommit": {
740 772
          "maxLength": 64,
741 773
          "minLength": 40,
742 774
          "type": "string"
743 775
        },
744 776
        "round": {
745 777
          "maximum": 9007199254740991,
746 778
          "minimum": 0,
747 779
          "type": "integer"
748 780
        }
749 781
      },
750 782
      "required": [
751 783
        "round",
752 784
        "baseCommit",
753 785
        "headCommit",
754 786
        "createdAt"
755 787
      ],
756 788
      "type": "object"
757 789
    },
758 790
    "pullRequestState": {
759 791
      "knownValues": [
760 792
        "open",
761 793
        "closed",
762 794
        "merged"
763 795
      ],
764 796
      "type": "string"
765 797
    },
766 798
    "pullRequestView": {
767 799
      "properties": {
768 800
        "author": {
769 801
          "format": "did",
770 802
          "type": "string"
771 803
        },
772 804
        "baseAvailable": {
773 805
          "type": "boolean"
774 806
        },
775 807
        "baseRef": {
776 808
          "maxLength": 1024,
777 809
          "minLength": 12,
778 810
          "type": "string"
779 811
        },
780 812
        "body": {
781 813
          "maxGraphemes": 10000,
782 814
          "maxLength": 100000,
783 815
          "type": "string"
784 816
        },
785 817
        "createdAt": {
786 818
          "format": "datetime",
787 819
          "type": "string"
788 820
        },
789 821
        "creationBaseCommit": {
790 822
          "maxLength": 64,
791 823
          "minLength": 40,
792 824
          "type": "string"
793 825
        },
794 826
        "currentBaseCommit": {
795 827
          "maxLength": 64,
796 828
          "minLength": 40,
797 829
          "type": "string"
798 830
        },
799 831
        "currentHeadCommit": {
800 832
          "maxLength": 64,
801 833
          "minLength": 40,
802 834
          "type": "string"
803 835
        },
804 836
        "currentRound": {
805 837
          "maximum": 9007199254740991,
806 838
          "minimum": 0,
807 839
          "type": "integer"
808 840
        },
809 841
        "headAvailable": {
810 842
          "type": "boolean"
811 843
        },
812 844
        "headRef": {
813 845
          "maxLength": 1024,
814 846
          "minLength": 12,
815 847
          "type": "string"
816 848
        },
817 849
        "number": {
818 850
          "maximum": 9007199254740991,
819 851
          "minimum": 1,
820 852
          "type": "integer"
821 853
        },
822 854
        "pullRequestId": {
823 855
          "maxLength": 36,
824 856
          "minLength": 36,
825 857
          "type": "string"
826 858
        },
827 859
        "repositoryId": {
828 860
          "ref": "dev.gitosphere.defs#repositoryId",
829 861
          "type": "ref"
830 862
        },
831 863
        "rounds": {
832 864
          "items": {
833 865
            "ref": "dev.gitosphere.defs#pullRequestRound",
834 866
            "type": "ref"
835 867
          },
836 868
          "maxLength": 1000,
837 869
          "type": "array"
838 870
        },
839 871
        "state": {
840 872
          "ref": "dev.gitosphere.defs#pullRequestState",
841 873
          "type": "ref"
842 874
        },
843 875
        "title": {
844 876
          "maxGraphemes": 256,
845 877
          "maxLength": 2560,
846 878
          "minLength": 1,
847 879
          "type": "string"
848 880
        },
849 881
        "updatedAt": {
850 882
          "format": "datetime",
851 883
          "type": "string"
852 884
        }
853 885
      },
854 886
      "required": [
855 887
        "pullRequestId",
856 888
        "repositoryId",
857 889
        "number",
858 890
        "title",
859 891
        "author",
860 892
        "state",
861 893
        "baseRef",
862 894
        "headRef",
863 895
        "creationBaseCommit",
864 896
        "baseAvailable",
865 897
        "headAvailable",
866 898
        "currentRound",
867 899
        "rounds",
868 900
        "createdAt",
869 901
        "updatedAt"
870 902
      ],
871 903
      "type": "object"
872 904
    },
873 905
    "realmId": {
874 906
      "description": "Immutable Security Realm identifier.",
875 907
      "maxLength": 64,
876 908
      "minLength": 1,
877 909
      "type": "string"
878 910
    },
879 911
    "recordInput": {
880 912
      "properties": {
881 913
        "collection": {
882 914
          "format": "nsid",
883 915
          "type": "string"
884 916
        },
885 917
        "value": {
886 918
          "type": "unknown"
887 919
        }
888 920
      },
889 921
      "required": [
890 922
        "collection",
891 923
        "value"
892 924
      ],
893 925
      "type": "object"
894 926
    },
895 927
    "recordUri": {
896 928
      "description": "Authoritative PDS record URI.",
897 929
      "format": "at-uri",
898 930
      "type": "string"
899 931
    },
900 932
    "repositoryId": {
901 933
      "description": "Immutable managed repository identifier.",
902 934
      "maxLength": 64,
903 935
      "minLength": 1,
904 936
      "type": "string"
905 937
    },
906 938
    "repositoryIssueReference": {
907 939
      "properties": {
908 940
        "issueId": {
909 941
          "maxLength": 36,
910 942
          "minLength": 36,
911 943
          "type": "string"
912 944
        },
913 945
        "number": {
914 946
          "minimum": 1,
915 947
          "type": "integer"
916 948
        },
917 949
        "state": {
918 950
          "enum": [
919 951
            "open",
920 952
            "closed"
921 953
          ],
922 954
          "type": "string"
923 955
        },
924 956
        "title": {
925 957
          "maxLength": 512,
926 958
          "minLength": 1,
927 959
          "type": "string"
928 960
        },
929 961
        "uri": {
930 962
          "format": "at-uri",
931 963
          "type": "string"
932 964
        }
933 965
      },
934 966
      "required": [
935 967
        "issueId",
936 968
        "number",
937 969
        "uri",
938 970
        "title",
939 971
        "state"
940 972
      ],
941 973
      "type": "object"
942 974
    },
943 975
    "repositoryIssueRelationMutation": {
944 976
      "properties": {
945 977
        "reason": {
946 978
          "maxLength": 64,
947 979
          "minLength": 1,
948 980
          "type": "string"
949 981
        },
950 982
        "revision": {
951 983
          "maxLength": 64,
952 984
          "minLength": 64,
953 985
          "type": "string"
954 986
        },
955 987
        "status": {
956 988
          "enum": [
957 989
            "applied",
958 990
            "rejected"
959 991
          ],
960 992
          "type": "string"
961 993
        },
962 994
        "uri": {
963 995
          "format": "at-uri",
964 996
          "type": "string"
965 997
        }
966 998
      },
967 999
      "required": [
968 1000
        "uri",
969 1001
        "status",
970 1002
        "reason",
971 1003
        "revision"
972 1004
      ],
973 1005
      "type": "object"
974 1006
    },
975 1007
    "repositoryIssueView": {
976 1008
      "properties": {
977 1009
        "blockedBy": {
978 1010
          "items": {
979 1011
            "ref": "dev.gitosphere.defs#repositoryIssueReference",
980 1012
            "type": "ref"
981 1013
          },
982 1014
          "maxLength": 100,
983 1015
          "type": "array"
984 1016
        },
985 1017
        "blocking": {
986 1018
          "items": {
987 1019
            "ref": "dev.gitosphere.defs#repositoryIssueReference",
988 1020
            "type": "ref"
989 1021
          },
990 1022
          "maxLength": 100,
991 1023
          "type": "array"
992 1024
        },
993 1025
        "body": {
994 1026
          "maxLength": 1000000,
995 1027
          "type": "string"
996 1028
        },
997 1029
        "children": {
998 1030
          "items": {
999 1031
            "ref": "dev.gitosphere.defs#repositoryIssueReference",
1000 1032
            "type": "ref"
1001 1033
          },
1002 1034
          "maxLength": 100,
1003 1035
          "type": "array"
1004 1036
        },
1005 1037
        "cid": {
1006 1038
          "format": "cid",
1007 1039
          "type": "string"
1008 1040
        },
1009 1041
        "createdAt": {
1010 1042
          "format": "datetime",
1011 1043
          "type": "string"
1012 1044
        },
1013 1045
        "issueId": {
1014 1046
          "maxLength": 36,
1015 1047
          "minLength": 36,
1016 1048
          "type": "string"
1017 1049
        },
1018 1050
        "mutationUri": {
1019 1051
          "format": "at-uri",
1020 1052
          "type": "string"
1021 1053
        },
1022 1054
        "number": {
1023 1055
          "minimum": 1,
1024 1056
          "type": "integer"
1025 1057
        },
1026 1058
        "openBlockerCount": {
1027 1059
          "maximum": 100,
1028 1060
          "minimum": 0,
1029 1061
          "type": "integer"
1030 1062
        },
1031 1063
        "parent": {
1032 1064
          "ref": "dev.gitosphere.defs#repositoryIssueReference",
1033 1065
          "type": "ref"
1034 1066
        },
1035 1067
        "related": {
1036 1068
          "items": {
1037 1069
            "ref": "dev.gitosphere.defs#repositoryIssueReference",
1038 1070
            "type": "ref"
1039 1071
          },
1040 1072
          "maxLength": 100,
1041 1073
          "type": "array"
1042 1074
        },
1043 1075
        "relationRevision": {
1044 1076
          "maxLength": 64,
1045 1077
          "minLength": 64,
1046 1078
          "type": "string"
1047 1079
        },
1048 1080
        "repositoryId": {
1049 1081
          "ref": "dev.gitosphere.defs#repositoryId",
1050 1082
          "type": "ref"
1051 1083
        },
1052 1084
        "revision": {
1053 1085
          "type": "string"
1054 1086
        },
1055 1087
        "state": {
1056 1088
          "enum": [
1057 1089
            "open",
1058 1090
            "closed"
1059 1091
          ],
1060 1092
          "type": "string"
1061 1093
        },
1062 1094
        "stateUri": {
1063 1095
          "maxLength": 2048,
1064 1096
          "minLength": 1,
1065 1097
          "type": "string"
1066 1098
        },
1067 1099
        "title": {
1068 1100
          "maxLength": 512,
1069 1101
          "minLength": 1,
1070 1102
          "type": "string"
1071 1103
        },
1072 1104
        "uri": {
1073 1105
          "maxLength": 2048,
1074 1106
          "minLength": 1,
1075 1107
          "type": "string"
1076 1108
        }
1077 1109
      },
1078 1110
      "required": [
1079 1111
        "repositoryId",
1080 1112
        "issueId",
1081 1113
        "number",
1082 1114
        "uri",
1083 1115
        "cid",
1084 1116
        "title",
1085 1117
        "createdAt",
1086 1118
        "state",
1087 1119
        "children",
1088 1120
        "related",
1089 1121
        "blocking",
1090 1122
        "blockedBy",
1091 1123
        "openBlockerCount",
1092 1124
        "relationRevision"
1093 1125
      ],
1094 1126
      "type": "object"
1095 1127
    },
1096 1128
    "role": {
1097 1129
      "description": "Bounded Gitosphere membership role.",
1098 1130
      "knownValues": [
1099 1131
        "owner",
1100 1132
        "admin",
1101 1133
        "writer",
1102 1134
        "reader"
1103 1135
      ],
1104 1136
      "maxLength": 32,
1105 1137
      "minLength": 1,
1106 1138
      "type": "string"
1107 1139
    },
1108 1140
    "spaceId": {
1109 1141
      "description": "Permissioned Data Space reference.",
1110 1142
      "format": "space-ref",
1111 1143
      "type": "string"
1112 1144
    },
1113 1145
    "spaceMapping": {
1114 1146
      "properties": {
1115 1147
        "active": {
1116 1148
          "type": "boolean"
1117 1149
        },
1118 1150
        "organizationId": {
1119 1151
          "ref": "dev.gitosphere.defs#organizationId",
1120 1152
          "type": "ref"
1121 1153
        },
1122 1154
        "projectId": {
1123 1155
          "ref": "dev.gitosphere.defs#projectId",
1124 1156
          "type": "ref"
1125 1157
        },
1126 1158
        "realmId": {
1127 1159
          "ref": "dev.gitosphere.defs#realmId",
1128 1160
          "type": "ref"
1129 1161
        },
1130 1162
        "spaceId": {
1131 1163
          "ref": "dev.gitosphere.defs#spaceId",
1132 1164
          "type": "ref"
1133 1165
        }
1134 1166
      },
1135 1167
      "required": [
1136 1168
        "realmId",
1137 1169
        "organizationId",
1138 1170
        "projectId",
1139 1171
        "spaceId",
1140 1172
        "active"
1141 1173
      ],
1142 1174
      "type": "object"
1143 1175
    },
1144 1176
    "validationDetail": {
1145 1177
      "properties": {
1146 1178
        "code": {
1147 1179
          "description": "Stable machine-readable validation code.",
1148 1180
          "maxLength": 64,
1149 1181
          "minLength": 1,
1150 1182
          "type": "string"
1151 1183
        },
1152 1184
        "location": {
1153 1185
          "enum": [
1154 1186
            "query",
1155 1187
            "body",
1156 1188
            "header"
1157 1189
          ],
1158 1190
          "type": "string"
1159 1191
        },
1160 1192
        "message": {
1161 1193
          "description": "Optional human-readable diagnostic.",
1162 1194
          "maxLength": 1024,
1163 1195
          "minLength": 1,
1164 1196
          "type": "string"
1165 1197
        },
1166 1198
        "path": {
1167 1199
          "description": "JSON Pointer for a body value, or a query/header field name.",
1168 1200
          "maxLength": 512,
1169 1201
          "minLength": 1,
1170 1202
          "type": "string"
1171 1203
        }
1172 1204
      },
1173 1205
      "required": [
1174 1206
        "location",
1175 1207
        "path",
1176 1208
        "code"
1177 1209
      ],
1178 1210
      "type": "object"
1179 1211
    },
1180 1212
    "verificationEvidence": {
1181 1213
      "properties": {
1182 1214
        "command": {
1183 1215
          "maxLength": 4096,
1184 1216
          "minLength": 1,
1185 1217
          "type": "string"
1186 1218
        },
1187 1219
        "environment": {
1188 1220
          "maxLength": 1024,
1189 1221
          "minLength": 1,
1190 1222
          "type": "string"
1191 1223
        },
1192 1224
        "result": {
1193 1225
          "enum": [
1194 1226
            "passed",
1195 1227
            "failed"
1196 1228
          ],
1197 1229
          "type": "string"
1198 1230
        }
1199 1231
      },
1200 1232
      "required": [
1201 1233
        "command",
1202 1234
        "result",
1203 1235
        "environment"
1204 1236
      ],
1205 1237
      "type": "object"
1206 1238
    }
1207 1239
  },
1208 1240
  "description": "Shared public Gitosphere XRPC wire definitions.",
1209 1241
  "id": "dev.gitosphere.defs",
1210 1242
  "lexicon": 1
1211 1243
}

Compare Other Versions

Lexicon Garden

@