@mdbase-dev/connect-protocol 0.1.0-beta.31 → 0.1.0-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application-authorization.d.ts +4 -1
- package/dist/application-authorization.js +23 -5
- package/dist/capabilities.d.ts +1 -0
- package/dist/capabilities.js +1 -0
- package/dist/collection-setup.d.ts +83 -0
- package/dist/collection-setup.js +1 -0
- package/dist/compatibility.d.ts +26 -0
- package/dist/compatibility.js +35 -0
- package/dist/connect-problems.generated.d.ts +151 -2
- package/dist/connect-problems.generated.js +161 -0
- package/dist/files.d.ts +2 -0
- package/dist/index.d.ts +33 -14
- package/dist/index.js +16 -4
- package/dist/manifest.js +118 -5
- package/dist/mutation-fingerprint.d.ts +6 -0
- package/dist/mutation-fingerprint.js +116 -0
- package/dist/operations.d.ts +11 -6
- package/dist/operations.js +147 -5
- package/package.json +2 -2
- package/schemas/catalog.json +2 -1
- package/schemas/connect-problem.v1.schema.json +634 -32
- package/schemas/connect-problems.v1.catalog.json +78 -1
- package/schemas/connect-protocol.v1.schema.json +104 -14
- package/schemas/encrypted-relay.v1.schema.json +1 -1
- package/schemas/encrypted-relay.v2.schema.json +63 -0
- package/schemas/files.v1.schema.json +7 -2
- package/schemas/mdbase-app.schema.json +51 -0
- package/schemas/mdbase-query.v0.3.schema.json +171 -0
- package/schemas/operation-catalog.v1.json +42 -0
|
@@ -242,6 +242,80 @@
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
|
+
{
|
|
246
|
+
"type": "object",
|
|
247
|
+
"additionalProperties": false,
|
|
248
|
+
"required": [
|
|
249
|
+
"problem_version",
|
|
250
|
+
"code",
|
|
251
|
+
"category",
|
|
252
|
+
"recovery",
|
|
253
|
+
"message",
|
|
254
|
+
"details"
|
|
255
|
+
],
|
|
256
|
+
"properties": {
|
|
257
|
+
"problem_version": {
|
|
258
|
+
"const": 1
|
|
259
|
+
},
|
|
260
|
+
"code": {
|
|
261
|
+
"const": "authorization_binding_incompatible"
|
|
262
|
+
},
|
|
263
|
+
"category": {
|
|
264
|
+
"const": "compatibility"
|
|
265
|
+
},
|
|
266
|
+
"recovery": {
|
|
267
|
+
"const": "upgrade_application"
|
|
268
|
+
},
|
|
269
|
+
"message": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"minLength": 1
|
|
272
|
+
},
|
|
273
|
+
"operation_outcome": {
|
|
274
|
+
"enum": [
|
|
275
|
+
"not_sent",
|
|
276
|
+
"rejected",
|
|
277
|
+
"unknown"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"trace_id": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"minLength": 1
|
|
283
|
+
},
|
|
284
|
+
"details": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"additionalProperties": false,
|
|
287
|
+
"required": [
|
|
288
|
+
"contract",
|
|
289
|
+
"required",
|
|
290
|
+
"supported",
|
|
291
|
+
"peer"
|
|
292
|
+
],
|
|
293
|
+
"properties": {
|
|
294
|
+
"contract": {
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
"required": {
|
|
298
|
+
"type": "array",
|
|
299
|
+
"items": {
|
|
300
|
+
"type": "integer"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"supported": {
|
|
304
|
+
"type": "array",
|
|
305
|
+
"items": {
|
|
306
|
+
"type": "integer"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"peer": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"operation": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
245
319
|
{
|
|
246
320
|
"type": "object",
|
|
247
321
|
"additionalProperties": false,
|
|
@@ -442,6 +516,80 @@
|
|
|
442
516
|
}
|
|
443
517
|
}
|
|
444
518
|
},
|
|
519
|
+
{
|
|
520
|
+
"type": "object",
|
|
521
|
+
"additionalProperties": false,
|
|
522
|
+
"required": [
|
|
523
|
+
"problem_version",
|
|
524
|
+
"code",
|
|
525
|
+
"category",
|
|
526
|
+
"recovery",
|
|
527
|
+
"message",
|
|
528
|
+
"details"
|
|
529
|
+
],
|
|
530
|
+
"properties": {
|
|
531
|
+
"problem_version": {
|
|
532
|
+
"const": 1
|
|
533
|
+
},
|
|
534
|
+
"code": {
|
|
535
|
+
"const": "capability_contract_incompatible"
|
|
536
|
+
},
|
|
537
|
+
"category": {
|
|
538
|
+
"const": "compatibility"
|
|
539
|
+
},
|
|
540
|
+
"recovery": {
|
|
541
|
+
"const": "upgrade_application"
|
|
542
|
+
},
|
|
543
|
+
"message": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"minLength": 1
|
|
546
|
+
},
|
|
547
|
+
"operation_outcome": {
|
|
548
|
+
"enum": [
|
|
549
|
+
"not_sent",
|
|
550
|
+
"rejected",
|
|
551
|
+
"unknown"
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"trace_id": {
|
|
555
|
+
"type": "string",
|
|
556
|
+
"minLength": 1
|
|
557
|
+
},
|
|
558
|
+
"details": {
|
|
559
|
+
"type": "object",
|
|
560
|
+
"additionalProperties": false,
|
|
561
|
+
"required": [
|
|
562
|
+
"contract",
|
|
563
|
+
"required",
|
|
564
|
+
"supported",
|
|
565
|
+
"peer"
|
|
566
|
+
],
|
|
567
|
+
"properties": {
|
|
568
|
+
"contract": {
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
"required": {
|
|
572
|
+
"type": "array",
|
|
573
|
+
"items": {
|
|
574
|
+
"type": "integer"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"supported": {
|
|
578
|
+
"type": "array",
|
|
579
|
+
"items": {
|
|
580
|
+
"type": "integer"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"peer": {
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"operation": {
|
|
587
|
+
"type": "string"
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
},
|
|
445
593
|
{
|
|
446
594
|
"type": "object",
|
|
447
595
|
"additionalProperties": false,
|
|
@@ -1346,6 +1494,80 @@
|
|
|
1346
1494
|
}
|
|
1347
1495
|
}
|
|
1348
1496
|
},
|
|
1497
|
+
{
|
|
1498
|
+
"type": "object",
|
|
1499
|
+
"additionalProperties": false,
|
|
1500
|
+
"required": [
|
|
1501
|
+
"problem_version",
|
|
1502
|
+
"code",
|
|
1503
|
+
"category",
|
|
1504
|
+
"recovery",
|
|
1505
|
+
"message",
|
|
1506
|
+
"details"
|
|
1507
|
+
],
|
|
1508
|
+
"properties": {
|
|
1509
|
+
"problem_version": {
|
|
1510
|
+
"const": 1
|
|
1511
|
+
},
|
|
1512
|
+
"code": {
|
|
1513
|
+
"const": "durable_mutation_unsupported"
|
|
1514
|
+
},
|
|
1515
|
+
"category": {
|
|
1516
|
+
"const": "compatibility"
|
|
1517
|
+
},
|
|
1518
|
+
"recovery": {
|
|
1519
|
+
"const": "upgrade_connector"
|
|
1520
|
+
},
|
|
1521
|
+
"message": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"minLength": 1
|
|
1524
|
+
},
|
|
1525
|
+
"operation_outcome": {
|
|
1526
|
+
"enum": [
|
|
1527
|
+
"not_sent",
|
|
1528
|
+
"rejected",
|
|
1529
|
+
"unknown"
|
|
1530
|
+
]
|
|
1531
|
+
},
|
|
1532
|
+
"trace_id": {
|
|
1533
|
+
"type": "string",
|
|
1534
|
+
"minLength": 1
|
|
1535
|
+
},
|
|
1536
|
+
"details": {
|
|
1537
|
+
"type": "object",
|
|
1538
|
+
"additionalProperties": false,
|
|
1539
|
+
"required": [
|
|
1540
|
+
"contract",
|
|
1541
|
+
"required",
|
|
1542
|
+
"supported",
|
|
1543
|
+
"peer"
|
|
1544
|
+
],
|
|
1545
|
+
"properties": {
|
|
1546
|
+
"contract": {
|
|
1547
|
+
"type": "string"
|
|
1548
|
+
},
|
|
1549
|
+
"required": {
|
|
1550
|
+
"type": "array",
|
|
1551
|
+
"items": {
|
|
1552
|
+
"type": "integer"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
"supported": {
|
|
1556
|
+
"type": "array",
|
|
1557
|
+
"items": {
|
|
1558
|
+
"type": "integer"
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
"peer": {
|
|
1562
|
+
"type": "string"
|
|
1563
|
+
},
|
|
1564
|
+
"operation": {
|
|
1565
|
+
"type": "string"
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1349
1571
|
{
|
|
1350
1572
|
"type": "object",
|
|
1351
1573
|
"additionalProperties": false,
|
|
@@ -2628,13 +2850,13 @@
|
|
|
2628
2850
|
"const": 1
|
|
2629
2851
|
},
|
|
2630
2852
|
"code": {
|
|
2631
|
-
"const": "
|
|
2853
|
+
"const": "mutation_recovery_expired"
|
|
2632
2854
|
},
|
|
2633
2855
|
"category": {
|
|
2634
|
-
"const": "
|
|
2856
|
+
"const": "compatibility"
|
|
2635
2857
|
},
|
|
2636
2858
|
"recovery": {
|
|
2637
|
-
"const": "
|
|
2859
|
+
"const": "none"
|
|
2638
2860
|
},
|
|
2639
2861
|
"message": {
|
|
2640
2862
|
"type": "string",
|
|
@@ -2661,20 +2883,21 @@
|
|
|
2661
2883
|
"code",
|
|
2662
2884
|
"category",
|
|
2663
2885
|
"recovery",
|
|
2664
|
-
"message"
|
|
2886
|
+
"message",
|
|
2887
|
+
"details"
|
|
2665
2888
|
],
|
|
2666
2889
|
"properties": {
|
|
2667
2890
|
"problem_version": {
|
|
2668
2891
|
"const": 1
|
|
2669
2892
|
},
|
|
2670
2893
|
"code": {
|
|
2671
|
-
"const": "
|
|
2894
|
+
"const": "mutation_request_conflict"
|
|
2672
2895
|
},
|
|
2673
2896
|
"category": {
|
|
2674
|
-
"const": "
|
|
2897
|
+
"const": "conflict"
|
|
2675
2898
|
},
|
|
2676
2899
|
"recovery": {
|
|
2677
|
-
"const": "
|
|
2900
|
+
"const": "resolve_conflict"
|
|
2678
2901
|
},
|
|
2679
2902
|
"message": {
|
|
2680
2903
|
"type": "string",
|
|
@@ -2690,6 +2913,18 @@
|
|
|
2690
2913
|
"trace_id": {
|
|
2691
2914
|
"type": "string",
|
|
2692
2915
|
"minLength": 1
|
|
2916
|
+
},
|
|
2917
|
+
"details": {
|
|
2918
|
+
"type": "object",
|
|
2919
|
+
"additionalProperties": false,
|
|
2920
|
+
"required": [
|
|
2921
|
+
"request_id"
|
|
2922
|
+
],
|
|
2923
|
+
"properties": {
|
|
2924
|
+
"request_id": {
|
|
2925
|
+
"type": "string"
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2693
2928
|
}
|
|
2694
2929
|
}
|
|
2695
2930
|
},
|
|
@@ -2708,13 +2943,13 @@
|
|
|
2708
2943
|
"const": 1
|
|
2709
2944
|
},
|
|
2710
2945
|
"code": {
|
|
2711
|
-
"const": "
|
|
2946
|
+
"const": "no_pending_mutation"
|
|
2712
2947
|
},
|
|
2713
2948
|
"category": {
|
|
2714
|
-
"const": "
|
|
2949
|
+
"const": "conflict"
|
|
2715
2950
|
},
|
|
2716
2951
|
"recovery": {
|
|
2717
|
-
"const": "
|
|
2952
|
+
"const": "refresh"
|
|
2718
2953
|
},
|
|
2719
2954
|
"message": {
|
|
2720
2955
|
"type": "string",
|
|
@@ -2748,13 +2983,13 @@
|
|
|
2748
2983
|
"const": 1
|
|
2749
2984
|
},
|
|
2750
2985
|
"code": {
|
|
2751
|
-
"const": "
|
|
2986
|
+
"const": "not_authorized"
|
|
2752
2987
|
},
|
|
2753
2988
|
"category": {
|
|
2754
|
-
"const": "
|
|
2989
|
+
"const": "authorization"
|
|
2755
2990
|
},
|
|
2756
2991
|
"recovery": {
|
|
2757
|
-
"const": "
|
|
2992
|
+
"const": "reauthorize"
|
|
2758
2993
|
},
|
|
2759
2994
|
"message": {
|
|
2760
2995
|
"type": "string",
|
|
@@ -2788,13 +3023,13 @@
|
|
|
2788
3023
|
"const": 1
|
|
2789
3024
|
},
|
|
2790
3025
|
"code": {
|
|
2791
|
-
"const": "
|
|
3026
|
+
"const": "not_remote_authority"
|
|
2792
3027
|
},
|
|
2793
3028
|
"category": {
|
|
2794
|
-
"const": "
|
|
3029
|
+
"const": "compatibility"
|
|
2795
3030
|
},
|
|
2796
3031
|
"recovery": {
|
|
2797
|
-
"const": "
|
|
3032
|
+
"const": "choose_collection"
|
|
2798
3033
|
},
|
|
2799
3034
|
"message": {
|
|
2800
3035
|
"type": "string",
|
|
@@ -2828,13 +3063,13 @@
|
|
|
2828
3063
|
"const": 1
|
|
2829
3064
|
},
|
|
2830
3065
|
"code": {
|
|
2831
|
-
"const": "
|
|
3066
|
+
"const": "notification_criterion_not_declared"
|
|
2832
3067
|
},
|
|
2833
3068
|
"category": {
|
|
2834
|
-
"const": "
|
|
3069
|
+
"const": "validation"
|
|
2835
3070
|
},
|
|
2836
3071
|
"recovery": {
|
|
2837
|
-
"const": "
|
|
3072
|
+
"const": "fix_request"
|
|
2838
3073
|
},
|
|
2839
3074
|
"message": {
|
|
2840
3075
|
"type": "string",
|
|
@@ -2868,13 +3103,13 @@
|
|
|
2868
3103
|
"const": 1
|
|
2869
3104
|
},
|
|
2870
3105
|
"code": {
|
|
2871
|
-
"const": "
|
|
3106
|
+
"const": "notification_reauthorization_required"
|
|
2872
3107
|
},
|
|
2873
3108
|
"category": {
|
|
2874
|
-
"const": "
|
|
3109
|
+
"const": "authorization"
|
|
2875
3110
|
},
|
|
2876
3111
|
"recovery": {
|
|
2877
|
-
"const": "
|
|
3112
|
+
"const": "reauthorize"
|
|
2878
3113
|
},
|
|
2879
3114
|
"message": {
|
|
2880
3115
|
"type": "string",
|
|
@@ -2908,13 +3143,13 @@
|
|
|
2908
3143
|
"const": 1
|
|
2909
3144
|
},
|
|
2910
3145
|
"code": {
|
|
2911
|
-
"const": "
|
|
3146
|
+
"const": "notification_registration_failed"
|
|
2912
3147
|
},
|
|
2913
3148
|
"category": {
|
|
2914
|
-
"const": "
|
|
3149
|
+
"const": "availability"
|
|
2915
3150
|
},
|
|
2916
3151
|
"recovery": {
|
|
2917
|
-
"const": "
|
|
3152
|
+
"const": "retry"
|
|
2918
3153
|
},
|
|
2919
3154
|
"message": {
|
|
2920
3155
|
"type": "string",
|
|
@@ -2948,7 +3183,7 @@
|
|
|
2948
3183
|
"const": 1
|
|
2949
3184
|
},
|
|
2950
3185
|
"code": {
|
|
2951
|
-
"const": "
|
|
3186
|
+
"const": "notification_unregistration_failed"
|
|
2952
3187
|
},
|
|
2953
3188
|
"category": {
|
|
2954
3189
|
"const": "availability"
|
|
@@ -2988,13 +3223,13 @@
|
|
|
2988
3223
|
"const": 1
|
|
2989
3224
|
},
|
|
2990
3225
|
"code": {
|
|
2991
|
-
"const": "
|
|
3226
|
+
"const": "notifications_not_declared"
|
|
2992
3227
|
},
|
|
2993
3228
|
"category": {
|
|
2994
|
-
"const": "
|
|
3229
|
+
"const": "compatibility"
|
|
2995
3230
|
},
|
|
2996
3231
|
"recovery": {
|
|
2997
|
-
"const": "
|
|
3232
|
+
"const": "fix_request"
|
|
2998
3233
|
},
|
|
2999
3234
|
"message": {
|
|
3000
3235
|
"type": "string",
|
|
@@ -3028,10 +3263,90 @@
|
|
|
3028
3263
|
"const": 1
|
|
3029
3264
|
},
|
|
3030
3265
|
"code": {
|
|
3031
|
-
"const": "
|
|
3266
|
+
"const": "notifications_unavailable"
|
|
3032
3267
|
},
|
|
3033
3268
|
"category": {
|
|
3034
|
-
"const": "
|
|
3269
|
+
"const": "availability"
|
|
3270
|
+
},
|
|
3271
|
+
"recovery": {
|
|
3272
|
+
"const": "retry"
|
|
3273
|
+
},
|
|
3274
|
+
"message": {
|
|
3275
|
+
"type": "string",
|
|
3276
|
+
"minLength": 1
|
|
3277
|
+
},
|
|
3278
|
+
"operation_outcome": {
|
|
3279
|
+
"enum": [
|
|
3280
|
+
"not_sent",
|
|
3281
|
+
"rejected",
|
|
3282
|
+
"unknown"
|
|
3283
|
+
]
|
|
3284
|
+
},
|
|
3285
|
+
"trace_id": {
|
|
3286
|
+
"type": "string",
|
|
3287
|
+
"minLength": 1
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"type": "object",
|
|
3293
|
+
"additionalProperties": false,
|
|
3294
|
+
"required": [
|
|
3295
|
+
"problem_version",
|
|
3296
|
+
"code",
|
|
3297
|
+
"category",
|
|
3298
|
+
"recovery",
|
|
3299
|
+
"message"
|
|
3300
|
+
],
|
|
3301
|
+
"properties": {
|
|
3302
|
+
"problem_version": {
|
|
3303
|
+
"const": 1
|
|
3304
|
+
},
|
|
3305
|
+
"code": {
|
|
3306
|
+
"const": "operation_cancelled"
|
|
3307
|
+
},
|
|
3308
|
+
"category": {
|
|
3309
|
+
"const": "cancellation"
|
|
3310
|
+
},
|
|
3311
|
+
"recovery": {
|
|
3312
|
+
"const": "none"
|
|
3313
|
+
},
|
|
3314
|
+
"message": {
|
|
3315
|
+
"type": "string",
|
|
3316
|
+
"minLength": 1
|
|
3317
|
+
},
|
|
3318
|
+
"operation_outcome": {
|
|
3319
|
+
"enum": [
|
|
3320
|
+
"not_sent",
|
|
3321
|
+
"rejected",
|
|
3322
|
+
"unknown"
|
|
3323
|
+
]
|
|
3324
|
+
},
|
|
3325
|
+
"trace_id": {
|
|
3326
|
+
"type": "string",
|
|
3327
|
+
"minLength": 1
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"type": "object",
|
|
3333
|
+
"additionalProperties": false,
|
|
3334
|
+
"required": [
|
|
3335
|
+
"problem_version",
|
|
3336
|
+
"code",
|
|
3337
|
+
"category",
|
|
3338
|
+
"recovery",
|
|
3339
|
+
"message"
|
|
3340
|
+
],
|
|
3341
|
+
"properties": {
|
|
3342
|
+
"problem_version": {
|
|
3343
|
+
"const": 1
|
|
3344
|
+
},
|
|
3345
|
+
"code": {
|
|
3346
|
+
"const": "operation_failed"
|
|
3347
|
+
},
|
|
3348
|
+
"category": {
|
|
3349
|
+
"const": "internal"
|
|
3035
3350
|
},
|
|
3036
3351
|
"recovery": {
|
|
3037
3352
|
"const": "contact_support"
|
|
@@ -3118,7 +3433,8 @@
|
|
|
3118
3433
|
"code",
|
|
3119
3434
|
"category",
|
|
3120
3435
|
"recovery",
|
|
3121
|
-
"message"
|
|
3436
|
+
"message",
|
|
3437
|
+
"details"
|
|
3122
3438
|
],
|
|
3123
3439
|
"properties": {
|
|
3124
3440
|
"problem_version": {
|
|
@@ -3147,6 +3463,18 @@
|
|
|
3147
3463
|
"trace_id": {
|
|
3148
3464
|
"type": "string",
|
|
3149
3465
|
"minLength": 1
|
|
3466
|
+
},
|
|
3467
|
+
"details": {
|
|
3468
|
+
"type": "object",
|
|
3469
|
+
"additionalProperties": false,
|
|
3470
|
+
"required": [
|
|
3471
|
+
"request_id"
|
|
3472
|
+
],
|
|
3473
|
+
"properties": {
|
|
3474
|
+
"request_id": {
|
|
3475
|
+
"type": "string"
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3150
3478
|
}
|
|
3151
3479
|
}
|
|
3152
3480
|
},
|
|
@@ -3440,6 +3768,206 @@
|
|
|
3440
3768
|
}
|
|
3441
3769
|
}
|
|
3442
3770
|
},
|
|
3771
|
+
{
|
|
3772
|
+
"type": "object",
|
|
3773
|
+
"additionalProperties": false,
|
|
3774
|
+
"required": [
|
|
3775
|
+
"problem_version",
|
|
3776
|
+
"code",
|
|
3777
|
+
"category",
|
|
3778
|
+
"recovery",
|
|
3779
|
+
"message"
|
|
3780
|
+
],
|
|
3781
|
+
"properties": {
|
|
3782
|
+
"problem_version": {
|
|
3783
|
+
"const": 1
|
|
3784
|
+
},
|
|
3785
|
+
"code": {
|
|
3786
|
+
"const": "registry_backup_invalid"
|
|
3787
|
+
},
|
|
3788
|
+
"category": {
|
|
3789
|
+
"const": "integrity"
|
|
3790
|
+
},
|
|
3791
|
+
"recovery": {
|
|
3792
|
+
"const": "contact_support"
|
|
3793
|
+
},
|
|
3794
|
+
"message": {
|
|
3795
|
+
"type": "string",
|
|
3796
|
+
"minLength": 1
|
|
3797
|
+
},
|
|
3798
|
+
"operation_outcome": {
|
|
3799
|
+
"enum": [
|
|
3800
|
+
"not_sent",
|
|
3801
|
+
"rejected",
|
|
3802
|
+
"unknown"
|
|
3803
|
+
]
|
|
3804
|
+
},
|
|
3805
|
+
"trace_id": {
|
|
3806
|
+
"type": "string",
|
|
3807
|
+
"minLength": 1
|
|
3808
|
+
}
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"type": "object",
|
|
3813
|
+
"additionalProperties": false,
|
|
3814
|
+
"required": [
|
|
3815
|
+
"problem_version",
|
|
3816
|
+
"code",
|
|
3817
|
+
"category",
|
|
3818
|
+
"recovery",
|
|
3819
|
+
"message"
|
|
3820
|
+
],
|
|
3821
|
+
"properties": {
|
|
3822
|
+
"problem_version": {
|
|
3823
|
+
"const": 1
|
|
3824
|
+
},
|
|
3825
|
+
"code": {
|
|
3826
|
+
"const": "registry_busy"
|
|
3827
|
+
},
|
|
3828
|
+
"category": {
|
|
3829
|
+
"const": "availability"
|
|
3830
|
+
},
|
|
3831
|
+
"recovery": {
|
|
3832
|
+
"const": "retry"
|
|
3833
|
+
},
|
|
3834
|
+
"message": {
|
|
3835
|
+
"type": "string",
|
|
3836
|
+
"minLength": 1
|
|
3837
|
+
},
|
|
3838
|
+
"operation_outcome": {
|
|
3839
|
+
"enum": [
|
|
3840
|
+
"not_sent",
|
|
3841
|
+
"rejected",
|
|
3842
|
+
"unknown"
|
|
3843
|
+
]
|
|
3844
|
+
},
|
|
3845
|
+
"trace_id": {
|
|
3846
|
+
"type": "string",
|
|
3847
|
+
"minLength": 1
|
|
3848
|
+
}
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"type": "object",
|
|
3853
|
+
"additionalProperties": false,
|
|
3854
|
+
"required": [
|
|
3855
|
+
"problem_version",
|
|
3856
|
+
"code",
|
|
3857
|
+
"category",
|
|
3858
|
+
"recovery",
|
|
3859
|
+
"message"
|
|
3860
|
+
],
|
|
3861
|
+
"properties": {
|
|
3862
|
+
"problem_version": {
|
|
3863
|
+
"const": 1
|
|
3864
|
+
},
|
|
3865
|
+
"code": {
|
|
3866
|
+
"const": "registry_corrupt"
|
|
3867
|
+
},
|
|
3868
|
+
"category": {
|
|
3869
|
+
"const": "integrity"
|
|
3870
|
+
},
|
|
3871
|
+
"recovery": {
|
|
3872
|
+
"const": "repair_collection"
|
|
3873
|
+
},
|
|
3874
|
+
"message": {
|
|
3875
|
+
"type": "string",
|
|
3876
|
+
"minLength": 1
|
|
3877
|
+
},
|
|
3878
|
+
"operation_outcome": {
|
|
3879
|
+
"enum": [
|
|
3880
|
+
"not_sent",
|
|
3881
|
+
"rejected",
|
|
3882
|
+
"unknown"
|
|
3883
|
+
]
|
|
3884
|
+
},
|
|
3885
|
+
"trace_id": {
|
|
3886
|
+
"type": "string",
|
|
3887
|
+
"minLength": 1
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"type": "object",
|
|
3893
|
+
"additionalProperties": false,
|
|
3894
|
+
"required": [
|
|
3895
|
+
"problem_version",
|
|
3896
|
+
"code",
|
|
3897
|
+
"category",
|
|
3898
|
+
"recovery",
|
|
3899
|
+
"message"
|
|
3900
|
+
],
|
|
3901
|
+
"properties": {
|
|
3902
|
+
"problem_version": {
|
|
3903
|
+
"const": 1
|
|
3904
|
+
},
|
|
3905
|
+
"code": {
|
|
3906
|
+
"const": "registry_migration_failed"
|
|
3907
|
+
},
|
|
3908
|
+
"category": {
|
|
3909
|
+
"const": "internal"
|
|
3910
|
+
},
|
|
3911
|
+
"recovery": {
|
|
3912
|
+
"const": "contact_support"
|
|
3913
|
+
},
|
|
3914
|
+
"message": {
|
|
3915
|
+
"type": "string",
|
|
3916
|
+
"minLength": 1
|
|
3917
|
+
},
|
|
3918
|
+
"operation_outcome": {
|
|
3919
|
+
"enum": [
|
|
3920
|
+
"not_sent",
|
|
3921
|
+
"rejected",
|
|
3922
|
+
"unknown"
|
|
3923
|
+
]
|
|
3924
|
+
},
|
|
3925
|
+
"trace_id": {
|
|
3926
|
+
"type": "string",
|
|
3927
|
+
"minLength": 1
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
"type": "object",
|
|
3933
|
+
"additionalProperties": false,
|
|
3934
|
+
"required": [
|
|
3935
|
+
"problem_version",
|
|
3936
|
+
"code",
|
|
3937
|
+
"category",
|
|
3938
|
+
"recovery",
|
|
3939
|
+
"message"
|
|
3940
|
+
],
|
|
3941
|
+
"properties": {
|
|
3942
|
+
"problem_version": {
|
|
3943
|
+
"const": 1
|
|
3944
|
+
},
|
|
3945
|
+
"code": {
|
|
3946
|
+
"const": "registry_schema_incompatible"
|
|
3947
|
+
},
|
|
3948
|
+
"category": {
|
|
3949
|
+
"const": "compatibility"
|
|
3950
|
+
},
|
|
3951
|
+
"recovery": {
|
|
3952
|
+
"const": "upgrade_connector"
|
|
3953
|
+
},
|
|
3954
|
+
"message": {
|
|
3955
|
+
"type": "string",
|
|
3956
|
+
"minLength": 1
|
|
3957
|
+
},
|
|
3958
|
+
"operation_outcome": {
|
|
3959
|
+
"enum": [
|
|
3960
|
+
"not_sent",
|
|
3961
|
+
"rejected",
|
|
3962
|
+
"unknown"
|
|
3963
|
+
]
|
|
3964
|
+
},
|
|
3965
|
+
"trace_id": {
|
|
3966
|
+
"type": "string",
|
|
3967
|
+
"minLength": 1
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
},
|
|
3443
3971
|
{
|
|
3444
3972
|
"type": "object",
|
|
3445
3973
|
"additionalProperties": false,
|
|
@@ -3840,6 +4368,80 @@
|
|
|
3840
4368
|
}
|
|
3841
4369
|
}
|
|
3842
4370
|
},
|
|
4371
|
+
{
|
|
4372
|
+
"type": "object",
|
|
4373
|
+
"additionalProperties": false,
|
|
4374
|
+
"required": [
|
|
4375
|
+
"problem_version",
|
|
4376
|
+
"code",
|
|
4377
|
+
"category",
|
|
4378
|
+
"recovery",
|
|
4379
|
+
"message",
|
|
4380
|
+
"details"
|
|
4381
|
+
],
|
|
4382
|
+
"properties": {
|
|
4383
|
+
"problem_version": {
|
|
4384
|
+
"const": 1
|
|
4385
|
+
},
|
|
4386
|
+
"code": {
|
|
4387
|
+
"const": "transport_protocol_incompatible"
|
|
4388
|
+
},
|
|
4389
|
+
"category": {
|
|
4390
|
+
"const": "compatibility"
|
|
4391
|
+
},
|
|
4392
|
+
"recovery": {
|
|
4393
|
+
"const": "upgrade_connector"
|
|
4394
|
+
},
|
|
4395
|
+
"message": {
|
|
4396
|
+
"type": "string",
|
|
4397
|
+
"minLength": 1
|
|
4398
|
+
},
|
|
4399
|
+
"operation_outcome": {
|
|
4400
|
+
"enum": [
|
|
4401
|
+
"not_sent",
|
|
4402
|
+
"rejected",
|
|
4403
|
+
"unknown"
|
|
4404
|
+
]
|
|
4405
|
+
},
|
|
4406
|
+
"trace_id": {
|
|
4407
|
+
"type": "string",
|
|
4408
|
+
"minLength": 1
|
|
4409
|
+
},
|
|
4410
|
+
"details": {
|
|
4411
|
+
"type": "object",
|
|
4412
|
+
"additionalProperties": false,
|
|
4413
|
+
"required": [
|
|
4414
|
+
"contract",
|
|
4415
|
+
"required",
|
|
4416
|
+
"supported",
|
|
4417
|
+
"peer"
|
|
4418
|
+
],
|
|
4419
|
+
"properties": {
|
|
4420
|
+
"contract": {
|
|
4421
|
+
"type": "string"
|
|
4422
|
+
},
|
|
4423
|
+
"required": {
|
|
4424
|
+
"type": "array",
|
|
4425
|
+
"items": {
|
|
4426
|
+
"type": "integer"
|
|
4427
|
+
}
|
|
4428
|
+
},
|
|
4429
|
+
"supported": {
|
|
4430
|
+
"type": "array",
|
|
4431
|
+
"items": {
|
|
4432
|
+
"type": "integer"
|
|
4433
|
+
}
|
|
4434
|
+
},
|
|
4435
|
+
"peer": {
|
|
4436
|
+
"type": "string"
|
|
4437
|
+
},
|
|
4438
|
+
"operation": {
|
|
4439
|
+
"type": "string"
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4444
|
+
},
|
|
3843
4445
|
{
|
|
3844
4446
|
"type": "object",
|
|
3845
4447
|
"additionalProperties": false,
|