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