dev.gitosphere.defs

gitosphere-lex.bsky.social

Schema Diff

+33 -2

From

CID
bafyreifi7kqaift...
Indexed At
2026-09-22 02:02 UTC
View this version

To

CID
bafyreibomzfc75b...
Indexed At
2026-09-29 23:52 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 13 non-breaking changes.

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 (13)
  • 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") }
  • ConstraintRelaxed ConstraintRelaxed { vertex_id: "dev.gitosphere.defs#pullRequestReviewStatus.requiredApprovals", sort: "minimum", old_value: "1", new_value: "0" }

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" }

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" }

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

Compare Other Versions

Lexicon Garden

@