dev.gitosphere.defs
Schema Diff
+3 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "dev.gitosphere.defs#pullRequestReviewStatus.reviewDecision", sort: "enum", old_value: "approved,changes_requested,review_required,blocked", new_value: "approved,changes_requested,review_required,blocked,not_required" }
Non-Breaking Changes (1)
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "dev.gitosphere.defs#pullRequestReviewStatus.requiredApprovals", sort: "minimum", old_value: "1", new_value: "0" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "dev.gitosphere.defs#pullRequestReviewStatus.reviewDecision", sort: "enum", old_value: "approved,changes_requested,review_required,blocked", new_value: "approved,changes_requested,review_required,blocked,not_required" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "dev.gitosphere.defs#pullRequestReviewStatus.requiredApprovals", sort: "minimum", old_value: "1", new_value: "0" }
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
529
"pullRequestIssueCloseResult": {
530
530
"description": "Persistent progress for closing an Issue as part of a merge. Success is confirmed only by an acceptance ledger entry or an authorized no-op.",
531
531
"properties": {
532
532
"errorCode": {
533
533
"type": "string"
534
534
},
535
535
"number": {
536
536
"minimum": 1,
537
537
"type": "integer"
538
538
},
539
539
"operationId": {
540
540
"type": "string"
541
541
},
542
542
"requestId": {
543
543
"type": "string"
544
544
},
545
545
"status": {
546
546
"knownValues": [
547
547
"pending",
548
548
"closed",
549
549
"alreadyClosed",
550
550
"failed"
551
551
],
552
552
"type": "string"
553
553
}
554
554
},
555
555
"required": [
556
556
"number",
557
557
"status"
558
558
],
559
559
"type": "object"
560
560
},
561
561
"pullRequestReviewStatus": {
562
562
"properties": {
563
563
"blockingReasons": {
564
564
"items": {
565
565
"maxLength": 64,
566
566
"minLength": 1,
567
567
"type": "string"
568
568
},
569
569
"maxLength": 16,
570
570
"type": "array"
571
571
},
572
572
"currentApprovals": {
573
573
"maximum": 10000,
574
574
"minimum": 0,
575
575
"type": "integer"
576
576
},
577
577
"currentRound": {
578
578
"maximum": 9007199254740991,
579
579
"minimum": 0,
580
580
"type": "integer"
581
581
},
582
582
"mergeable": {
583
583
"type": "boolean"
584
584
},
585
585
"number": {
586
586
"maximum": 9007199254740991,
587
587
"minimum": 1,
588
588
"type": "integer"
589
589
},
590
590
"outdatedApprovals": {
591
591
"maximum": 10000,
592
592
"minimum": 0,
593
593
"type": "integer"
594
594
},
595
595
"pullRequestId": {
596
596
"maxLength": 36,
597
597
"minLength": 36,
598
598
"type": "string"
599
599
},
600
600
"repositoryId": {
601
601
"ref": "dev.gitosphere.defs#repositoryId",
602
602
"type": "ref"
603
603
},
604
604
"requiredApprovals": {
605
605
"maximum": 100,
606
-
"minimum": 1,
606
+
"minimum": 0,
607
607
"type": "integer"
608
608
},
609
609
"reviewDecision": {
610
610
"enum": [
611
611
"approved",
612
612
"changes_requested",
613
613
"review_required",
614
-
"blocked"
614
+
"blocked",
615
+
"not_required"
615
616
],
616
617
"type": "string"
617
618
},
618
619
"unresolvedBlockingFindings": {
619
620
"maximum": 10000,
620
621
"minimum": 0,
621
622
"type": "integer"
622
623
},
623
624
"unverified": {
624
625
"items": {
625
626
"maxLength": 128,
626
627
"minLength": 1,
627
628
"type": "string"
628
629
},
629
630
"maxLength": 1000,
630
631
"type": "array"
631
632
},
632
633
"verification": {
633
634
"items": {
634
635
"ref": "dev.gitosphere.defs#verificationEvidence",
635
636
"type": "ref"
636
637
},
637
638
"maxLength": 1000,
638
639
"type": "array"
639
640
}
640
641
},
641
642
"required": [
642
643
"repositoryId",
643
644
"pullRequestId",
644
645
"number",
645
646
"currentRound",
646
647
"reviewDecision",
647
648
"requiredApprovals",
648
649
"currentApprovals",
649
650
"unresolvedBlockingFindings",
650
651
"outdatedApprovals",
651
652
"verification",
652
653
"unverified",
653
654
"mergeable",
654
655
"blockingReasons"
655
656
],
656
657
"type": "object"
657
658
},
658
659
"pullRequestReviewView": {
659
660
"properties": {
660
661
"baseCommit": {
661
662
"maxLength": 64,
662
663
"minLength": 40,
663
664
"type": "string"
664
665
},
665
666
"body": {
666
667
"maxLength": 100000,
667
668
"type": "string"
668
669
},
669
670
"cid": {
670
671
"format": "cid",
671
672
"type": "string"
672
673
},
673
674
"createdAt": {
674
675
"format": "datetime",
675
676
"type": "string"
676
677
},
677
678
"decision": {
678
679
"enum": [
679
680
"comment",
680
681
"approve",
681
682
"request_changes"
682
683
],
683
684
"type": "string"
684
685
},
685
686
"headCommit": {
686
687
"maxLength": 64,
687
688
"minLength": 40,
688
689
"type": "string"
689
690
},
690
691
"number": {
691
692
"maximum": 9007199254740991,
692
693
"minimum": 1,
693
694
"type": "integer"
694
695
},
695
696
"outdated": {
696
697
"type": "boolean"
697
698
},
698
699
"pullRequestId": {
699
700
"maxLength": 36,
700
701
"minLength": 36,
701
702
"type": "string"
702
703
},
703
704
"qualifying": {
704
705
"type": "boolean"
705
706
},
706
707
"repositoryId": {
707
708
"ref": "dev.gitosphere.defs#repositoryId",
708
709
"type": "ref"
709
710
},
710
711
"reviewer": {
711
712
"format": "did",
712
713
"type": "string"
713
714
},
714
715
"round": {
715
716
"maximum": 9007199254740991,
716
717
"minimum": 0,
717
718
"type": "integer"
718
719
},
719
720
"unverified": {
720
721
"items": {
721
722
"maxLength": 128,
722
723
"minLength": 1,
723
724
"type": "string"
724
725
},
725
726
"maxLength": 100,
726
727
"type": "array"
727
728
},
728
729
"uri": {
729
730
"format": "at-uri",
730
731
"type": "string"
731
732
},
732
733
"verification": {
733
734
"items": {
734
735
"ref": "dev.gitosphere.defs#verificationEvidence",
735
736
"type": "ref"
736
737
},
737
738
"maxLength": 100,
738
739
"type": "array"
739
740
}
740
741
},
741
742
"required": [
742
743
"uri",
743
744
"cid",
744
745
"repositoryId",
745
746
"pullRequestId",
746
747
"number",
747
748
"round",
748
749
"baseCommit",
749
750
"headCommit",
750
751
"reviewer",
751
752
"decision",
752
753
"verification",
753
754
"unverified",
754
755
"outdated",
755
756
"qualifying",
756
757
"createdAt"
757
758
],
758
759
"type": "object"
759
760
},
760
761
"pullRequestRound": {
761
762
"properties": {
762
763
"baseCommit": {
763
764
"maxLength": 64,
764
765
"minLength": 40,
765
766
"type": "string"
766
767
},
767
768
"createdAt": {
768
769
"format": "datetime",
769
770
"type": "string"
770
771
},
771
772
"headCommit": {
772
773
"maxLength": 64,
773
774
"minLength": 40,
774
775
"type": "string"
775
776
},
776
777
"round": {
777
778
"maximum": 9007199254740991,
778
779
"minimum": 0,
779
780
"type": "integer"
780
781
}
781
782
},
782
783
"required": [
783
784
"round",
784
785
"baseCommit",
785
786
"headCommit",
786
787
"createdAt"
787
788
],
788
789
"type": "object"
789
790
},
790
791
"pullRequestState": {
791
792
"knownValues": [
792
793
"open",
793
794
"closed",
794
795
"merged"
795
796
],
796
797
"type": "string"
797
798
},
798
799
"pullRequestView": {
799
800
"properties": {
800
801
"author": {
801
802
"format": "did",
802
803
"type": "string"
803
804
},
804
805
"baseAvailable": {
805
806
"type": "boolean"
806
807
},
807
808
"baseRef": {
808
809
"maxLength": 1024,
809
810
"minLength": 12,
810
811
"type": "string"
811
812
},
812
813
"body": {
813
814
"maxGraphemes": 10000,
814
815
"maxLength": 100000,
815
816
"type": "string"
816
817
},
817
818
"createdAt": {
818
819
"format": "datetime",
819
820
"type": "string"
820
821
},
821
822
"creationBaseCommit": {
822
823
"maxLength": 64,
823
824
"minLength": 40,
824
825
"type": "string"
825
826
},
826
827
"currentBaseCommit": {
827
828
"maxLength": 64,
828
829
"minLength": 40,
829
830
"type": "string"
830
831
},
831
832
"currentHeadCommit": {
832
833
"maxLength": 64,
833
834
"minLength": 40,
834
835
"type": "string"
835
836
},
836
837
"currentRound": {
837
838
"maximum": 9007199254740991,
838
839
"minimum": 0,
839
840
"type": "integer"
840
841
},
841
842
"headAvailable": {
842
843
"type": "boolean"
843
844
},
844
845
"headRef": {
845
846
"maxLength": 1024,
846
847
"minLength": 12,
847
848
"type": "string"
848
849
},
849
850
"number": {
850
851
"maximum": 9007199254740991,
851
852
"minimum": 1,
852
853
"type": "integer"
853
854
},
854
855
"pullRequestId": {
855
856
"maxLength": 36,
856
857
"minLength": 36,
857
858
"type": "string"
858
859
},
859
860
"repositoryId": {
860
861
"ref": "dev.gitosphere.defs#repositoryId",
861
862
"type": "ref"
862
863
},
863
864
"rounds": {
864
865
"items": {
865
866
"ref": "dev.gitosphere.defs#pullRequestRound",
866
867
"type": "ref"
867
868
},
868
869
"maxLength": 1000,
869
870
"type": "array"
870
871
},
871
872
"state": {
872
873
"ref": "dev.gitosphere.defs#pullRequestState",
873
874
"type": "ref"
874
875
},
875
876
"title": {
876
877
"maxGraphemes": 256,
877
878
"maxLength": 2560,
878
879
"minLength": 1,
879
880
"type": "string"
880
881
},
881
882
"updatedAt": {
882
883
"format": "datetime",
883
884
"type": "string"
884
885
}
885
886
},
886
887
"required": [
887
888
"pullRequestId",
888
889
"repositoryId",
889
890
"number",
890
891
"title",
891
892
"author",
892
893
"state",
893
894
"baseRef",
894
895
"headRef",
895
896
"creationBaseCommit",
896
897
"baseAvailable",
897
898
"headAvailable",
898
899
"currentRound",
899
900
"rounds",
900
901
"createdAt",
901
902
"updatedAt"
902
903
],
903
904
"type": "object"
904
905
},
905
906
"quotaPolicy": {
906
907
"properties": {
907
908
"byteLimit": {
908
909
"maximum": 9007199254740991,
909
910
"minimum": 0,
910
911
"type": "integer"
911
912
},
912
913
"pushLimit": {
913
914
"maximum": 9007199254740991,
914
915
"minimum": 0,
915
916
"type": "integer"
916
917
},
917
918
"repositoryLimit": {
918
919
"maximum": 9007199254740991,
919
920
"minimum": 0,
920
921
"type": "integer"
921
922
},
922
923
"scope": {
923
924
"type": "string"
924
925
},
925
926
"subject": {
926
927
"type": "string"
927
928
}
928
929
},
929
930
"required": [
930
931
"scope",
931
932
"subject",
932
933
"repositoryLimit",
933
934
"byteLimit",
934
935
"pushLimit"
935
936
],
936
937
"type": "object"
937
938
},
938
939
"quotaUsage": {
939
940
"properties": {
940
941
"diskBytes": {
941
942
"maximum": 9007199254740991,
942
943
"minimum": 0,
943
944
"type": "integer"
944
945
},
945
946
"enabled": {
946
947
"type": "boolean"
947
948
},
948
949
"gitBytes": {
949
950
"maximum": 9007199254740991,
950
951
"minimum": 0,
951
952
"type": "integer"
952
953
},
953
954
"measuredAt": {
954
955
"type": "string"
955
956
},
956
957
"policy": {
957
958
"ref": "dev.gitosphere.defs#quotaPolicy",
958
959
"type": "ref"
959
960
},
960
961
"ready": {
961
962
"type": "boolean"
962
963
},
963
964
"repositoryCount": {
964
965
"maximum": 9007199254740991,
965
966
"minimum": 0,
966
967
"type": "integer"
967
968
},
968
969
"reservedBytes": {
969
970
"maximum": 9007199254740991,
970
971
"minimum": 0,
971
972
"type": "integer"
972
973
},
973
974
"scope": {
974
975
"type": "string"
975
976
},
976
977
"subject": {
977
978
"type": "string"
978
979
}
979
980
},
980
981
"required": [
981
982
"scope",
982
983
"subject",
983
984
"repositoryCount",
984
985
"gitBytes",
985
986
"diskBytes",
986
987
"reservedBytes",
987
988
"ready",
988
989
"enabled",
989
990
"policy"
990
991
],
991
992
"type": "object"
992
993
},
993
994
"realmId": {
994
995
"description": "Immutable Security Realm identifier.",
995
996
"maxLength": 64,
996
997
"minLength": 1,
997
998
"type": "string"
998
999
},
999
1000
"recordInput": {
1000
1001
"properties": {
1001
1002
"collection": {
1002
1003
"format": "nsid",
1003
1004
"type": "string"
1004
1005
},
1005
1006
"value": {
1006
1007
"type": "unknown"
1007
1008
}
1008
1009
},
1009
1010
"required": [
1010
1011
"collection",
1011
1012
"value"
1012
1013
],
1013
1014
"type": "object"
1014
1015
},
1015
1016
"recordUri": {
1016
1017
"description": "Authoritative PDS record URI.",
1017
1018
"format": "at-uri",
1018
1019
"type": "string"
1019
1020
},
1020
1021
"repositoryId": {
1021
1022
"description": "Immutable managed repository identifier.",
1022
1023
"maxLength": 64,
1023
1024
"minLength": 1,
1024
1025
"type": "string"
1025
1026
},
1026
1027
"repositoryIssueReference": {
1027
1028
"properties": {
1028
1029
"issueId": {
1029
1030
"maxLength": 36,
1030
1031
"minLength": 36,
1031
1032
"type": "string"
1032
1033
},
1033
1034
"number": {
1034
1035
"minimum": 1,
1035
1036
"type": "integer"
1036
1037
},
1037
1038
"state": {
1038
1039
"enum": [
1039
1040
"open",
1040
1041
"closed"
1041
1042
],
1042
1043
"type": "string"
1043
1044
},
1044
1045
"title": {
1045
1046
"maxLength": 512,
1046
1047
"minLength": 1,
1047
1048
"type": "string"
1048
1049
},
1049
1050
"uri": {
1050
1051
"format": "at-uri",
1051
1052
"type": "string"
1052
1053
}
1053
1054
},
1054
1055
"required": [
1055
1056
"issueId",
1056
1057
"number",
1057
1058
"uri",
1058
1059
"title",
1059
1060
"state"
1060
1061
],
1061
1062
"type": "object"
1062
1063
},
1063
1064
"repositoryIssueRelationMutation": {
1064
1065
"properties": {
1065
1066
"reason": {
1066
1067
"maxLength": 64,
1067
1068
"minLength": 1,
1068
1069
"type": "string"
1069
1070
},
1070
1071
"revision": {
1071
1072
"maxLength": 64,
1072
1073
"minLength": 64,
1073
1074
"type": "string"
1074
1075
},
1075
1076
"status": {
1076
1077
"enum": [
1077
1078
"applied",
1078
1079
"rejected"
1079
1080
],
1080
1081
"type": "string"
1081
1082
},
1082
1083
"uri": {
1083
1084
"format": "at-uri",
1084
1085
"type": "string"
1085
1086
}
1086
1087
},
1087
1088
"required": [
1088
1089
"uri",
1089
1090
"status",
1090
1091
"reason",
1091
1092
"revision"
1092
1093
],
1093
1094
"type": "object"
1094
1095
},
1095
1096
"repositoryIssueView": {
1096
1097
"properties": {
1097
1098
"blockedBy": {
1098
1099
"items": {
1099
1100
"ref": "dev.gitosphere.defs#repositoryIssueReference",
1100
1101
"type": "ref"
1101
1102
},
1102
1103
"maxLength": 100,
1103
1104
"type": "array"
1104
1105
},
1105
1106
"blocking": {
1106
1107
"items": {
1107
1108
"ref": "dev.gitosphere.defs#repositoryIssueReference",
1108
1109
"type": "ref"
1109
1110
},
1110
1111
"maxLength": 100,
1111
1112
"type": "array"
1112
1113
},
1113
1114
"body": {
1114
1115
"maxLength": 1000000,
1115
1116
"type": "string"
1116
1117
},
1117
1118
"children": {
1118
1119
"items": {
1119
1120
"ref": "dev.gitosphere.defs#repositoryIssueReference",
1120
1121
"type": "ref"
1121
1122
},
1122
1123
"maxLength": 100,
1123
1124
"type": "array"
1124
1125
},
1125
1126
"cid": {
1126
1127
"format": "cid",
1127
1128
"type": "string"
1128
1129
},
1129
1130
"createdAt": {
1130
1131
"format": "datetime",
1131
1132
"type": "string"
1132
1133
},
1133
1134
"issueId": {
1134
1135
"maxLength": 36,
1135
1136
"minLength": 36,
1136
1137
"type": "string"
1137
1138
},
1138
1139
"mutationUri": {
1139
1140
"format": "at-uri",
1140
1141
"type": "string"
1141
1142
},
1142
1143
"number": {
1143
1144
"minimum": 1,
1144
1145
"type": "integer"
1145
1146
},
1146
1147
"openBlockerCount": {
1147
1148
"maximum": 100,
1148
1149
"minimum": 0,
1149
1150
"type": "integer"
1150
1151
},
1151
1152
"parent": {
1152
1153
"ref": "dev.gitosphere.defs#repositoryIssueReference",
1153
1154
"type": "ref"
1154
1155
},
1155
1156
"related": {
1156
1157
"items": {
1157
1158
"ref": "dev.gitosphere.defs#repositoryIssueReference",
1158
1159
"type": "ref"
1159
1160
},
1160
1161
"maxLength": 100,
1161
1162
"type": "array"
1162
1163
},
1163
1164
"relationRevision": {
1164
1165
"maxLength": 64,
1165
1166
"minLength": 64,
1166
1167
"type": "string"
1167
1168
},
1168
1169
"repositoryId": {
1169
1170
"ref": "dev.gitosphere.defs#repositoryId",
1170
1171
"type": "ref"
1171
1172
},
1172
1173
"revision": {
1173
1174
"type": "string"
1174
1175
},
1175
1176
"state": {
1176
1177
"enum": [
1177
1178
"open",
1178
1179
"closed"
1179
1180
],
1180
1181
"type": "string"
1181
1182
},
1182
1183
"stateUri": {
1183
1184
"maxLength": 2048,
1184
1185
"minLength": 1,
1185
1186
"type": "string"
1186
1187
},
1187
1188
"title": {
1188
1189
"maxLength": 512,
1189
1190
"minLength": 1,
1190
1191
"type": "string"
1191
1192
},
1192
1193
"uri": {
1193
1194
"maxLength": 2048,
1194
1195
"minLength": 1,
1195
1196
"type": "string"
1196
1197
}
1197
1198
},
1198
1199
"required": [
1199
1200
"repositoryId",
1200
1201
"issueId",
1201
1202
"number",
1202
1203
"uri",
1203
1204
"cid",
1204
1205
"title",
1205
1206
"createdAt",
1206
1207
"state",
1207
1208
"children",
1208
1209
"related",
1209
1210
"blocking",
1210
1211
"blockedBy",
1211
1212
"openBlockerCount",
1212
1213
"relationRevision"
1213
1214
],
1214
1215
"type": "object"
1215
1216
},
1216
1217
"role": {
1217
1218
"description": "Bounded Gitosphere membership role.",
1218
1219
"knownValues": [
1219
1220
"owner",
1220
1221
"admin",
1221
1222
"writer",
1222
1223
"reader"
1223
1224
],
1224
1225
"maxLength": 32,
1225
1226
"minLength": 1,
1226
1227
"type": "string"
1227
1228
},
1228
1229
"serviceAccess": {
1229
1230
"properties": {
1230
1231
"administrator": {
1231
1232
"type": "boolean"
1232
1233
},
1233
1234
"admittedAt": {
1234
1235
"format": "datetime",
1235
1236
"type": "string"
1236
1237
},
1237
1238
"did": {
1238
1239
"type": "string"
1239
1240
},
1240
1241
"status": {
1241
1242
"knownValues": [
1242
1243
"unregistered",
1243
1244
"active",
1244
1245
"suspended"
1245
1246
],
1246
1247
"type": "string"
1247
1248
},
1248
1249
"updatedAt": {
1249
1250
"format": "datetime",
1250
1251
"type": "string"
1251
1252
}
1252
1253
},
1253
1254
"required": [
1254
1255
"did",
1255
1256
"status",
1256
1257
"administrator"
1257
1258
],
1258
1259
"type": "object"
1259
1260
},
1260
1261
"serviceInvite": {
1261
1262
"properties": {
1262
1263
"createdAt": {
1263
1264
"format": "datetime",
1264
1265
"type": "string"
1265
1266
},
1266
1267
"createdBy": {
1267
1268
"type": "string"
1268
1269
},
1269
1270
"expiresAt": {
1270
1271
"format": "datetime",
1271
1272
"type": "string"
1272
1273
},
1273
1274
"inviteId": {
1274
1275
"type": "string"
1275
1276
},
1276
1277
"maxUses": {
1277
1278
"type": "integer"
1278
1279
},
1279
1280
"revoked": {
1280
1281
"type": "boolean"
1281
1282
},
1282
1283
"usedCount": {
1283
1284
"type": "integer"
1284
1285
}
1285
1286
},
1286
1287
"required": [
1287
1288
"inviteId",
1288
1289
"maxUses",
1289
1290
"usedCount",
1290
1291
"expiresAt",
1291
1292
"revoked",
1292
1293
"createdBy",
1293
1294
"createdAt"
1294
1295
],
1295
1296
"type": "object"
1296
1297
},
1297
1298
"spaceId": {
1298
1299
"description": "Permissioned Data Space reference.",
1299
1300
"format": "space-ref",
1300
1301
"type": "string"
1301
1302
},
1302
1303
"spaceMapping": {
1303
1304
"properties": {
1304
1305
"active": {
1305
1306
"type": "boolean"
1306
1307
},
1307
1308
"organizationId": {
1308
1309
"ref": "dev.gitosphere.defs#organizationId",
1309
1310
"type": "ref"
1310
1311
},
1311
1312
"projectId": {
1312
1313
"ref": "dev.gitosphere.defs#projectId",
1313
1314
"type": "ref"
1314
1315
},
1315
1316
"realmId": {
1316
1317
"ref": "dev.gitosphere.defs#realmId",
1317
1318
"type": "ref"
1318
1319
},
1319
1320
"spaceId": {
1320
1321
"ref": "dev.gitosphere.defs#spaceId",
1321
1322
"type": "ref"
1322
1323
}
1323
1324
},
1324
1325
"required": [
1325
1326
"realmId",
1326
1327
"organizationId",
1327
1328
"projectId",
1328
1329
"spaceId",
1329
1330
"active"
1330
1331
],
1331
1332
"type": "object"
1332
1333
},
1333
1334
"trafficMetric": {
1334
1335
"properties": {
1335
1336
"count": {
1336
1337
"minimum": 0,
1337
1338
"type": "integer"
1338
1339
},
1339
1340
"kind": {
1340
1341
"type": "string"
1341
1342
},
1342
1343
"reason": {
1343
1344
"type": "string"
1344
1345
}
1345
1346
},
1346
1347
"required": [
1347
1348
"kind",
1348
1349
"reason",
1349
1350
"count"
1350
1351
],
1351
1352
"type": "object"
1352
1353
},
1353
1354
"trafficPolicy": {
1354
1355
"properties": {
1355
1356
"apiDIDConcurrency": {
1356
1357
"maximum": 9007199254740991,
1357
1358
"minimum": 1,
1358
1359
"type": "integer"
1359
1360
},
1360
1361
"apiDIDRate": {
1361
1362
"maximum": 9007199254740991,
1362
1363
"minimum": 1,
1363
1364
"type": "integer"
1364
1365
},
1365
1366
"apiIPConcurrency": {
1366
1367
"maximum": 9007199254740991,
1367
1368
"minimum": 1,
1368
1369
"type": "integer"
1369
1370
},
1370
1371
"apiIPRate": {
1371
1372
"maximum": 9007199254740991,
1372
1373
"minimum": 1,
1373
1374
"type": "integer"
1374
1375
},
1375
1376
"apiInstanceConcurrency": {
1376
1377
"maximum": 9007199254740991,
1377
1378
"minimum": 1,
1378
1379
"type": "integer"
1379
1380
},
1380
1381
"apiInstanceRate": {
1381
1382
"maximum": 9007199254740991,
1382
1383
"minimum": 1,
1383
1384
"type": "integer"
1384
1385
},
1385
1386
"apiTimeoutSeconds": {
1386
1387
"maximum": 9007199254740991,
1387
1388
"minimum": 1,
1388
1389
"type": "integer"
1389
1390
},
1390
1391
"authDIDRate": {
1391
1392
"maximum": 9007199254740991,
1392
1393
"minimum": 1,
1393
1394
"type": "integer"
1394
1395
},
1395
1396
"authIPRate": {
1396
1397
"maximum": 9007199254740991,
1397
1398
"minimum": 1,
1398
1399
"type": "integer"
1399
1400
},
1400
1401
"authInstanceRate": {
1401
1402
"maximum": 9007199254740991,
1402
1403
"minimum": 1,
1403
1404
"type": "integer"
1404
1405
},
1405
1406
"gitDIDConcurrency": {
1406
1407
"maximum": 9007199254740991,
1407
1408
"minimum": 1,
1408
1409
"type": "integer"
1409
1410
},
1410
1411
"gitDIDRate": {
1411
1412
"maximum": 9007199254740991,
1412
1413
"minimum": 1,
1413
1414
"type": "integer"
1414
1415
},
1415
1416
"gitIPConcurrency": {
1416
1417
"maximum": 9007199254740991,
1417
1418
"minimum": 1,
1418
1419
"type": "integer"
1419
1420
},
1420
1421
"gitIPRate": {
1421
1422
"maximum": 9007199254740991,
1422
1423
"minimum": 1,
1423
1424
"type": "integer"
1424
1425
},
1425
1426
"gitInstanceConcurrency": {
1426
1427
"maximum": 9007199254740991,
1427
1428
"minimum": 1,
1428
1429
"type": "integer"
1429
1430
},
1430
1431
"gitInstanceRate": {
1431
1432
"maximum": 9007199254740991,
1432
1433
"minimum": 1,
1433
1434
"type": "integer"
1434
1435
},
1435
1436
"gitTimeoutSeconds": {
1436
1437
"maximum": 9007199254740991,
1437
1438
"minimum": 1,
1438
1439
"type": "integer"
1439
1440
},
1440
1441
"headerTimeoutSeconds": {
1441
1442
"maximum": 9007199254740991,
1442
1443
"minimum": 1,
1443
1444
"type": "integer"
1444
1445
},
1445
1446
"idleTimeoutSeconds": {
1446
1447
"maximum": 9007199254740991,
1447
1448
"minimum": 1,
1448
1449
"type": "integer"
1449
1450
},
1450
1451
"inviteDIDRate": {
1451
1452
"maximum": 9007199254740991,
1452
1453
"minimum": 1,
1453
1454
"type": "integer"
1454
1455
},
1455
1456
"inviteIPRate": {
1456
1457
"maximum": 9007199254740991,
1457
1458
"minimum": 1,
1458
1459
"type": "integer"
1459
1460
},
1460
1461
"inviteInstanceRate": {
1461
1462
"maximum": 9007199254740991,
1462
1463
"minimum": 1,
1463
1464
"type": "integer"
1464
1465
},
1465
1466
"maximumBuckets": {
1466
1467
"maximum": 9007199254740991,
1467
1468
"minimum": 1,
1468
1469
"type": "integer"
1469
1470
},
1470
1471
"maximumConnections": {
1471
1472
"maximum": 9007199254740991,
1472
1473
"minimum": 1,
1473
1474
"type": "integer"
1474
1475
},
1475
1476
"pushPackBytes": {
1476
1477
"maximum": 9007199254740991,
1477
1478
"minimum": 1,
1478
1479
"type": "integer"
1479
1480
},
1480
1481
"temporaryInstanceBytes": {
1481
1482
"maximum": 9007199254740991,
1482
1483
"minimum": 1,
1483
1484
"type": "integer"
1484
1485
},
1485
1486
"temporaryOperationBytes": {
1486
1487
"maximum": 9007199254740991,
1487
1488
"minimum": 1,
1488
1489
"type": "integer"
1489
1490
}
1490
1491
},
1491
1492
"required": [
1492
1493
"apiDIDRate",
1493
1494
"apiIPRate",
1494
1495
"apiInstanceRate",
1495
1496
"authDIDRate",
1496
1497
"authIPRate",
1497
1498
"authInstanceRate",
1498
1499
"inviteDIDRate",
1499
1500
"inviteIPRate",
1500
1501
"inviteInstanceRate",
1501
1502
"gitDIDRate",
1502
1503
"gitIPRate",
1503
1504
"gitInstanceRate",
1504
1505
"apiDIDConcurrency",
1505
1506
"apiIPConcurrency",
1506
1507
"apiInstanceConcurrency",
1507
1508
"gitDIDConcurrency",
1508
1509
"gitIPConcurrency",
1509
1510
"gitInstanceConcurrency",
1510
1511
"maximumConnections",
1511
1512
"headerTimeoutSeconds",
1512
1513
"idleTimeoutSeconds",
1513
1514
"apiTimeoutSeconds",
1514
1515
"gitTimeoutSeconds",
1515
1516
"temporaryOperationBytes",
1516
1517
"temporaryInstanceBytes",
1517
1518
"pushPackBytes",
1518
1519
"maximumBuckets"
1519
1520
],
1520
1521
"type": "object"
1521
1522
},
1522
1523
"trafficStatus": {
1523
1524
"properties": {
1524
1525
"apiActive": {
1525
1526
"type": "integer"
1526
1527
},
1527
1528
"enabled": {
1528
1529
"type": "boolean"
1529
1530
},
1530
1531
"gitActive": {
1531
1532
"type": "integer"
1532
1533
},
1533
1534
"paused": {
1534
1535
"items": {
1535
1536
"type": "string"
1536
1537
},
1537
1538
"type": "array"
1538
1539
},
1539
1540
"policy": {
1540
1541
"ref": "#trafficPolicy",
1541
1542
"type": "ref"
1542
1543
},
1543
1544
"rejections": {
1544
1545
"items": {
1545
1546
"ref": "#trafficMetric",
1546
1547
"type": "ref"
1547
1548
},
1548
1549
"type": "array"
1549
1550
},
1550
1551
"temporaryReservedBytes": {
1551
1552
"type": "integer"
1552
1553
}
1553
1554
},
1554
1555
"required": [
1555
1556
"enabled",
1556
1557
"policy",
1557
1558
"paused",
1558
1559
"apiActive",
1559
1560
"gitActive",
1560
1561
"temporaryReservedBytes",
1561
1562
"rejections"
1562
1563
],
1563
1564
"type": "object"
1564
1565
},
1565
1566
"validationDetail": {
1566
1567
"properties": {
1567
1568
"code": {
1568
1569
"description": "Stable machine-readable validation code.",
1569
1570
"maxLength": 64,
1570
1571
"minLength": 1,
1571
1572
"type": "string"
1572
1573
},
1573
1574
"location": {
1574
1575
"enum": [
1575
1576
"query",
1576
1577
"body",
1577
1578
"header"
1578
1579
],
1579
1580
"type": "string"
1580
1581
},
1581
1582
"message": {
1582
1583
"description": "Optional human-readable diagnostic.",
1583
1584
"maxLength": 1024,
1584
1585
"minLength": 1,
1585
1586
"type": "string"
1586
1587
},
1587
1588
"path": {
1588
1589
"description": "JSON Pointer for a body value, or a query/header field name.",
1589
1590
"maxLength": 512,
1590
1591
"minLength": 1,
1591
1592
"type": "string"
1592
1593
}
1593
1594
},
1594
1595
"required": [
1595
1596
"location",
1596
1597
"path",
1597
1598
"code"
1598
1599
],
1599
1600
"type": "object"
1600
1601
},
1601
1602
"verificationEvidence": {
1602
1603
"properties": {
1603
1604
"command": {
1604
1605
"maxLength": 4096,
1605
1606
"minLength": 1,
1606
1607
"type": "string"
1607
1608
},
1608
1609
"environment": {
1609
1610
"maxLength": 1024,
1610
1611
"minLength": 1,
1611
1612
"type": "string"
1612
1613
},
1613
1614
"result": {
1614
1615
"enum": [
1615
1616
"passed",
1616
1617
"failed"
1617
1618
],
1618
1619
"type": "string"
1619
1620
}
1620
1621
},
1621
1622
"required": [
1622
1623
"command",
1623
1624
"result",
1624
1625
"environment"
1625
1626
],
1626
1627
"type": "object"
1627
1628
}
1628
1629
},
1629
1630
"description": "Shared public Gitosphere XRPC wire definitions.",
1630
1631
"id": "dev.gitosphere.defs",
1631
1632
"lexicon": 1
1632
1633
}