@sphereon/ssi-sdk.oidf-client 0.30.2-feature.FIDES.integration.223

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.
@@ -0,0 +1,3117 @@
1
+ {
2
+ "IOIDFClient": {
3
+ "components": {
4
+ "schemas": {
5
+ "ResolveTrustChainArgs": {
6
+ "type": "object",
7
+ "properties": {
8
+ "entityIdentifier": {
9
+ "type": "string"
10
+ },
11
+ "trustAnchors": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "string"
15
+ }
16
+ }
17
+ },
18
+ "required": [
19
+ "entityIdentifier",
20
+ "trustAnchors"
21
+ ]
22
+ },
23
+ "ResolveTrustChainCallbackResult": {
24
+ "anyOf": [
25
+ {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string"
29
+ }
30
+ },
31
+ {
32
+ "type": "null"
33
+ },
34
+ {
35
+ "not": {}
36
+ }
37
+ ]
38
+ },
39
+ "CreateJwsCompactArgs": {
40
+ "$ref": "#/components/schemas/CreateJwsArgs"
41
+ },
42
+ "CreateJwsArgs": {
43
+ "type": "object",
44
+ "properties": {
45
+ "mode": {
46
+ "$ref": "#/components/schemas/JwsIdentifierMode"
47
+ },
48
+ "issuer": {
49
+ "anyOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "noIssPayloadUpdate": {
54
+ "type": "boolean"
55
+ },
56
+ "noIdentifierInHeader": {
57
+ "type": "boolean"
58
+ },
59
+ "lazyDisabled": {
60
+ "type": "boolean"
61
+ },
62
+ "jwk": {
63
+ "$ref": "#/components/schemas/JWK"
64
+ },
65
+ "jwkThumbprint": {
66
+ "type": "string"
67
+ },
68
+ "kmsKeyRef": {
69
+ "type": "string"
70
+ },
71
+ "method": {
72
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
73
+ },
74
+ "opts": {
75
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
76
+ },
77
+ "key": {
78
+ "$ref": "#/components/schemas/IKey"
79
+ },
80
+ "kid": {
81
+ "type": "string"
82
+ },
83
+ "issuer": {
84
+ "type": "string"
85
+ },
86
+ "clientId": {
87
+ "type": "string"
88
+ },
89
+ "clientIdScheme": {
90
+ "anyOf": [
91
+ {
92
+ "$ref": "#/components/schemas/ClientIdScheme"
93
+ },
94
+ {
95
+ "type": "string",
96
+ "const": "did"
97
+ },
98
+ {
99
+ "type": "string"
100
+ }
101
+ ]
102
+ },
103
+ "identifier": {
104
+ "$ref": "#/components/schemas/ManagedIdentifierType"
105
+ },
106
+ "x5c": {
107
+ "type": "array",
108
+ "items": {
109
+ "type": "string"
110
+ }
111
+ },
112
+ "certificate": {}
113
+ },
114
+ "required": [
115
+ "certificate",
116
+ "identifier",
117
+ "jwk",
118
+ "jwkThumbprint",
119
+ "key",
120
+ "kmsKeyRef",
121
+ "method",
122
+ "opts",
123
+ "x5c"
124
+ ]
125
+ },
126
+ {
127
+ "type": "object",
128
+ "properties": {
129
+ "noIssPayloadUpdate": {
130
+ "type": "boolean"
131
+ },
132
+ "noIdentifierInHeader": {
133
+ "type": "boolean"
134
+ },
135
+ "lazyDisabled": {
136
+ "type": "boolean"
137
+ },
138
+ "jwk": {
139
+ "$ref": "#/components/schemas/JWK"
140
+ },
141
+ "jwkThumbprint": {
142
+ "type": "string"
143
+ },
144
+ "kmsKeyRef": {
145
+ "type": "string"
146
+ },
147
+ "method": {
148
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
149
+ },
150
+ "opts": {
151
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
152
+ },
153
+ "key": {
154
+ "$ref": "#/components/schemas/IKey"
155
+ },
156
+ "kid": {
157
+ "type": "string"
158
+ },
159
+ "issuer": {
160
+ "type": "string"
161
+ },
162
+ "clientId": {
163
+ "type": "string"
164
+ },
165
+ "clientIdScheme": {
166
+ "anyOf": [
167
+ {
168
+ "$ref": "#/components/schemas/ClientIdScheme"
169
+ },
170
+ {
171
+ "type": "string",
172
+ "const": "did"
173
+ },
174
+ {
175
+ "type": "string"
176
+ }
177
+ ]
178
+ },
179
+ "identifier": {
180
+ "$ref": "#/components/schemas/ManagedIdentifierType"
181
+ },
182
+ "did": {
183
+ "type": "string"
184
+ },
185
+ "keys": {
186
+ "type": "array",
187
+ "items": {
188
+ "$ref": "#/components/schemas/IKey"
189
+ }
190
+ },
191
+ "verificationMethodSection": {
192
+ "$ref": "#/components/schemas/DIDDocumentSection"
193
+ },
194
+ "controllerKeyId": {
195
+ "type": "string"
196
+ }
197
+ },
198
+ "required": [
199
+ "did",
200
+ "identifier",
201
+ "issuer",
202
+ "jwk",
203
+ "jwkThumbprint",
204
+ "key",
205
+ "keys",
206
+ "kid",
207
+ "kmsKeyRef",
208
+ "method",
209
+ "opts"
210
+ ]
211
+ },
212
+ {
213
+ "type": "object",
214
+ "properties": {
215
+ "noIssPayloadUpdate": {
216
+ "type": "boolean"
217
+ },
218
+ "noIdentifierInHeader": {
219
+ "type": "boolean"
220
+ },
221
+ "lazyDisabled": {
222
+ "type": "boolean"
223
+ },
224
+ "jwk": {
225
+ "$ref": "#/components/schemas/JWK"
226
+ },
227
+ "jwkThumbprint": {
228
+ "type": "string"
229
+ },
230
+ "kmsKeyRef": {
231
+ "type": "string"
232
+ },
233
+ "method": {
234
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
235
+ },
236
+ "opts": {
237
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
238
+ },
239
+ "key": {
240
+ "$ref": "#/components/schemas/IKey"
241
+ },
242
+ "kid": {
243
+ "type": "string"
244
+ },
245
+ "issuer": {
246
+ "type": "string"
247
+ },
248
+ "clientId": {
249
+ "type": "string"
250
+ },
251
+ "clientIdScheme": {
252
+ "anyOf": [
253
+ {
254
+ "$ref": "#/components/schemas/ClientIdScheme"
255
+ },
256
+ {
257
+ "type": "string",
258
+ "const": "did"
259
+ },
260
+ {
261
+ "type": "string"
262
+ }
263
+ ]
264
+ },
265
+ "identifier": {
266
+ "$ref": "#/components/schemas/ManagedIdentifierType"
267
+ }
268
+ },
269
+ "required": [
270
+ "identifier",
271
+ "jwk",
272
+ "jwkThumbprint",
273
+ "key",
274
+ "kmsKeyRef",
275
+ "method",
276
+ "opts"
277
+ ]
278
+ },
279
+ {
280
+ "type": "object",
281
+ "properties": {
282
+ "noIssPayloadUpdate": {
283
+ "type": "boolean"
284
+ },
285
+ "noIdentifierInHeader": {
286
+ "type": "boolean"
287
+ },
288
+ "lazyDisabled": {
289
+ "type": "boolean"
290
+ },
291
+ "jwk": {
292
+ "$ref": "#/components/schemas/JWK"
293
+ },
294
+ "jwkThumbprint": {
295
+ "type": "string"
296
+ },
297
+ "kmsKeyRef": {
298
+ "type": "string"
299
+ },
300
+ "method": {
301
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
302
+ },
303
+ "opts": {
304
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
305
+ },
306
+ "key": {
307
+ "$ref": "#/components/schemas/IKey"
308
+ },
309
+ "kid": {
310
+ "type": "string"
311
+ },
312
+ "issuer": {
313
+ "type": "string"
314
+ },
315
+ "clientId": {
316
+ "type": "string"
317
+ },
318
+ "clientIdScheme": {
319
+ "anyOf": [
320
+ {
321
+ "$ref": "#/components/schemas/ClientIdScheme"
322
+ },
323
+ {
324
+ "type": "string",
325
+ "const": "did"
326
+ },
327
+ {
328
+ "type": "string"
329
+ }
330
+ ]
331
+ },
332
+ "identifier": {
333
+ "$ref": "#/components/schemas/ManagedIdentifierType"
334
+ }
335
+ },
336
+ "required": [
337
+ "identifier",
338
+ "jwk",
339
+ "jwkThumbprint",
340
+ "key",
341
+ "kid",
342
+ "kmsKeyRef",
343
+ "method",
344
+ "opts"
345
+ ]
346
+ },
347
+ {
348
+ "type": "object",
349
+ "properties": {
350
+ "noIssPayloadUpdate": {
351
+ "type": "boolean"
352
+ },
353
+ "noIdentifierInHeader": {
354
+ "type": "boolean"
355
+ },
356
+ "lazyDisabled": {
357
+ "type": "boolean"
358
+ },
359
+ "jwk": {
360
+ "$ref": "#/components/schemas/JWK"
361
+ },
362
+ "jwkThumbprint": {
363
+ "type": "string"
364
+ },
365
+ "kmsKeyRef": {
366
+ "type": "string"
367
+ },
368
+ "method": {
369
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
370
+ },
371
+ "opts": {
372
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
373
+ },
374
+ "key": {
375
+ "$ref": "#/components/schemas/IKey"
376
+ },
377
+ "kid": {
378
+ "type": "string"
379
+ },
380
+ "issuer": {
381
+ "type": "string"
382
+ },
383
+ "clientId": {
384
+ "type": "string"
385
+ },
386
+ "clientIdScheme": {
387
+ "anyOf": [
388
+ {
389
+ "$ref": "#/components/schemas/ClientIdScheme"
390
+ },
391
+ {
392
+ "type": "string",
393
+ "const": "did"
394
+ },
395
+ {
396
+ "type": "string"
397
+ }
398
+ ]
399
+ },
400
+ "identifier": {
401
+ "$ref": "#/components/schemas/ManagedIdentifierType"
402
+ }
403
+ },
404
+ "required": [
405
+ "identifier",
406
+ "jwk",
407
+ "jwkThumbprint",
408
+ "key",
409
+ "kmsKeyRef",
410
+ "method",
411
+ "opts"
412
+ ]
413
+ },
414
+ {
415
+ "type": "object",
416
+ "properties": {
417
+ "noIssPayloadUpdate": {
418
+ "type": "boolean"
419
+ },
420
+ "noIdentifierInHeader": {
421
+ "type": "boolean"
422
+ },
423
+ "lazyDisabled": {
424
+ "type": "boolean"
425
+ },
426
+ "jwk": {
427
+ "$ref": "#/components/schemas/JWK"
428
+ },
429
+ "jwkThumbprint": {
430
+ "type": "string"
431
+ },
432
+ "kmsKeyRef": {
433
+ "type": "string"
434
+ },
435
+ "method": {
436
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
437
+ },
438
+ "opts": {
439
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
440
+ },
441
+ "key": {
442
+ "$ref": "#/components/schemas/IKey"
443
+ },
444
+ "kid": {
445
+ "type": "string"
446
+ },
447
+ "issuer": {
448
+ "type": "string"
449
+ },
450
+ "clientId": {
451
+ "type": "string"
452
+ },
453
+ "clientIdScheme": {
454
+ "anyOf": [
455
+ {
456
+ "$ref": "#/components/schemas/ClientIdScheme"
457
+ },
458
+ {
459
+ "type": "string",
460
+ "const": "did"
461
+ },
462
+ {
463
+ "type": "string"
464
+ }
465
+ ]
466
+ },
467
+ "identifier": {
468
+ "$ref": "#/components/schemas/ManagedIdentifierType"
469
+ }
470
+ },
471
+ "required": [
472
+ "identifier",
473
+ "jwk",
474
+ "jwkThumbprint",
475
+ "key",
476
+ "kmsKeyRef",
477
+ "method",
478
+ "opts"
479
+ ]
480
+ },
481
+ {
482
+ "type": "object",
483
+ "properties": {
484
+ "noIssPayloadUpdate": {
485
+ "type": "boolean"
486
+ },
487
+ "noIdentifierInHeader": {
488
+ "type": "boolean"
489
+ },
490
+ "lazyDisabled": {
491
+ "type": "boolean"
492
+ },
493
+ "jwk": {
494
+ "$ref": "#/components/schemas/JWK"
495
+ },
496
+ "jwkThumbprint": {
497
+ "type": "string"
498
+ },
499
+ "kmsKeyRef": {
500
+ "type": "string"
501
+ },
502
+ "method": {
503
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
504
+ },
505
+ "opts": {
506
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
507
+ },
508
+ "key": {
509
+ "$ref": "#/components/schemas/IKey"
510
+ },
511
+ "kid": {
512
+ "type": "string"
513
+ },
514
+ "issuer": {
515
+ "type": "string"
516
+ },
517
+ "clientId": {
518
+ "type": "string"
519
+ },
520
+ "clientIdScheme": {
521
+ "anyOf": [
522
+ {
523
+ "$ref": "#/components/schemas/ClientIdScheme"
524
+ },
525
+ {
526
+ "type": "string",
527
+ "const": "did"
528
+ },
529
+ {
530
+ "type": "string"
531
+ }
532
+ ]
533
+ },
534
+ "identifier": {
535
+ "$ref": "#/components/schemas/ManagedIdentifierType"
536
+ }
537
+ },
538
+ "required": [
539
+ "identifier",
540
+ "jwk",
541
+ "jwkThumbprint",
542
+ "key",
543
+ "kmsKeyRef",
544
+ "method",
545
+ "opts"
546
+ ]
547
+ },
548
+ {
549
+ "type": "object",
550
+ "properties": {
551
+ "noIssPayloadUpdate": {
552
+ "type": "boolean"
553
+ },
554
+ "noIdentifierInHeader": {
555
+ "type": "boolean"
556
+ },
557
+ "lazyDisabled": {
558
+ "type": "boolean"
559
+ },
560
+ "method": {
561
+ "type": "string",
562
+ "const": "jwk"
563
+ },
564
+ "identifier": {
565
+ "$ref": "#/components/schemas/JWK"
566
+ },
567
+ "kmsKeyRef": {
568
+ "type": "string"
569
+ },
570
+ "issuer": {
571
+ "type": "string"
572
+ },
573
+ "kid": {
574
+ "type": "string"
575
+ },
576
+ "clientId": {
577
+ "type": "string"
578
+ },
579
+ "clientIdScheme": {
580
+ "anyOf": [
581
+ {
582
+ "$ref": "#/components/schemas/ClientIdScheme"
583
+ },
584
+ {
585
+ "type": "string",
586
+ "const": "did"
587
+ },
588
+ {
589
+ "type": "string"
590
+ }
591
+ ]
592
+ }
593
+ },
594
+ "required": [
595
+ "identifier"
596
+ ]
597
+ },
598
+ {
599
+ "type": "object",
600
+ "properties": {
601
+ "noIssPayloadUpdate": {
602
+ "type": "boolean"
603
+ },
604
+ "noIdentifierInHeader": {
605
+ "type": "boolean"
606
+ },
607
+ "lazyDisabled": {
608
+ "type": "boolean"
609
+ },
610
+ "method": {
611
+ "type": "string",
612
+ "const": "x5c"
613
+ },
614
+ "identifier": {
615
+ "type": "array",
616
+ "items": {
617
+ "type": "string"
618
+ }
619
+ },
620
+ "kmsKeyRef": {
621
+ "type": "string"
622
+ },
623
+ "issuer": {
624
+ "type": "string"
625
+ },
626
+ "kid": {
627
+ "type": "string"
628
+ },
629
+ "clientId": {
630
+ "type": "string"
631
+ },
632
+ "clientIdScheme": {
633
+ "anyOf": [
634
+ {
635
+ "$ref": "#/components/schemas/ClientIdScheme"
636
+ },
637
+ {
638
+ "type": "string",
639
+ "const": "did"
640
+ },
641
+ {
642
+ "type": "string"
643
+ }
644
+ ]
645
+ }
646
+ },
647
+ "required": [
648
+ "identifier"
649
+ ]
650
+ },
651
+ {
652
+ "type": "object",
653
+ "properties": {
654
+ "noIssPayloadUpdate": {
655
+ "type": "boolean"
656
+ },
657
+ "noIdentifierInHeader": {
658
+ "type": "boolean"
659
+ },
660
+ "lazyDisabled": {
661
+ "type": "boolean"
662
+ },
663
+ "method": {
664
+ "type": "string",
665
+ "const": "did"
666
+ },
667
+ "identifier": {
668
+ "anyOf": [
669
+ {
670
+ "$ref": "#/components/schemas/IIdentifier"
671
+ },
672
+ {
673
+ "type": "string"
674
+ }
675
+ ]
676
+ },
677
+ "kmsKeyRef": {
678
+ "type": "string"
679
+ },
680
+ "issuer": {
681
+ "type": "string"
682
+ },
683
+ "kid": {
684
+ "type": "string"
685
+ },
686
+ "clientId": {
687
+ "type": "string"
688
+ },
689
+ "clientIdScheme": {
690
+ "anyOf": [
691
+ {
692
+ "$ref": "#/components/schemas/ClientIdScheme"
693
+ },
694
+ {
695
+ "type": "string",
696
+ "const": "did"
697
+ },
698
+ {
699
+ "type": "string"
700
+ }
701
+ ]
702
+ },
703
+ "keyType": {
704
+ "$ref": "#/components/schemas/TKeyType"
705
+ },
706
+ "offlineWhenNoDIDRegistered": {
707
+ "type": "boolean"
708
+ },
709
+ "noVerificationMethodFallback": {
710
+ "type": "boolean"
711
+ },
712
+ "controllerKey": {
713
+ "type": "boolean"
714
+ },
715
+ "vmRelationship": {
716
+ "$ref": "#/components/schemas/DIDDocumentSection"
717
+ }
718
+ },
719
+ "required": [
720
+ "identifier"
721
+ ]
722
+ },
723
+ {
724
+ "type": "object",
725
+ "properties": {
726
+ "noIssPayloadUpdate": {
727
+ "type": "boolean"
728
+ },
729
+ "noIdentifierInHeader": {
730
+ "type": "boolean"
731
+ },
732
+ "lazyDisabled": {
733
+ "type": "boolean"
734
+ },
735
+ "method": {
736
+ "type": "string",
737
+ "const": "kid"
738
+ },
739
+ "identifier": {
740
+ "type": "string"
741
+ },
742
+ "kmsKeyRef": {
743
+ "type": "string"
744
+ },
745
+ "issuer": {
746
+ "type": "string"
747
+ },
748
+ "kid": {
749
+ "type": "string"
750
+ },
751
+ "clientId": {
752
+ "type": "string"
753
+ },
754
+ "clientIdScheme": {
755
+ "anyOf": [
756
+ {
757
+ "$ref": "#/components/schemas/ClientIdScheme"
758
+ },
759
+ {
760
+ "type": "string",
761
+ "const": "did"
762
+ },
763
+ {
764
+ "type": "string"
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ "required": [
770
+ "identifier"
771
+ ]
772
+ },
773
+ {
774
+ "type": "object",
775
+ "properties": {
776
+ "noIssPayloadUpdate": {
777
+ "type": "boolean"
778
+ },
779
+ "noIdentifierInHeader": {
780
+ "type": "boolean"
781
+ },
782
+ "lazyDisabled": {
783
+ "type": "boolean"
784
+ },
785
+ "method": {
786
+ "type": "string",
787
+ "const": "key"
788
+ },
789
+ "identifier": {
790
+ "$ref": "#/components/schemas/IKey"
791
+ },
792
+ "kmsKeyRef": {
793
+ "type": "string"
794
+ },
795
+ "issuer": {
796
+ "type": "string"
797
+ },
798
+ "kid": {
799
+ "type": "string"
800
+ },
801
+ "clientId": {
802
+ "type": "string"
803
+ },
804
+ "clientIdScheme": {
805
+ "anyOf": [
806
+ {
807
+ "$ref": "#/components/schemas/ClientIdScheme"
808
+ },
809
+ {
810
+ "type": "string",
811
+ "const": "did"
812
+ },
813
+ {
814
+ "type": "string"
815
+ }
816
+ ]
817
+ }
818
+ },
819
+ "required": [
820
+ "identifier"
821
+ ]
822
+ },
823
+ {
824
+ "type": "object",
825
+ "properties": {
826
+ "noIssPayloadUpdate": {
827
+ "type": "boolean"
828
+ },
829
+ "noIdentifierInHeader": {
830
+ "type": "boolean"
831
+ },
832
+ "lazyDisabled": {
833
+ "type": "boolean"
834
+ },
835
+ "method": {
836
+ "type": "string",
837
+ "const": "cose_key"
838
+ },
839
+ "identifier": {
840
+ "$ref": "#/components/schemas/ICoseKeyJson"
841
+ },
842
+ "kmsKeyRef": {
843
+ "type": "string"
844
+ },
845
+ "issuer": {
846
+ "type": "string"
847
+ },
848
+ "kid": {
849
+ "type": "string"
850
+ },
851
+ "clientId": {
852
+ "type": "string"
853
+ },
854
+ "clientIdScheme": {
855
+ "anyOf": [
856
+ {
857
+ "$ref": "#/components/schemas/ClientIdScheme"
858
+ },
859
+ {
860
+ "type": "string",
861
+ "const": "did"
862
+ },
863
+ {
864
+ "type": "string"
865
+ }
866
+ ]
867
+ }
868
+ },
869
+ "required": [
870
+ "identifier"
871
+ ]
872
+ },
873
+ {
874
+ "type": "object",
875
+ "properties": {
876
+ "noIssPayloadUpdate": {
877
+ "type": "boolean"
878
+ },
879
+ "noIdentifierInHeader": {
880
+ "type": "boolean"
881
+ },
882
+ "lazyDisabled": {
883
+ "type": "boolean"
884
+ },
885
+ "method": {
886
+ "type": "string",
887
+ "const": "oid4vci-issuer"
888
+ },
889
+ "identifier": {
890
+ "type": "string"
891
+ },
892
+ "kmsKeyRef": {
893
+ "type": "string"
894
+ },
895
+ "issuer": {
896
+ "type": "string"
897
+ },
898
+ "kid": {
899
+ "type": "string"
900
+ },
901
+ "clientId": {
902
+ "type": "string"
903
+ },
904
+ "clientIdScheme": {
905
+ "anyOf": [
906
+ {
907
+ "$ref": "#/components/schemas/ClientIdScheme"
908
+ },
909
+ {
910
+ "type": "string",
911
+ "const": "did"
912
+ },
913
+ {
914
+ "type": "string"
915
+ }
916
+ ]
917
+ }
918
+ },
919
+ "required": [
920
+ "identifier"
921
+ ]
922
+ }
923
+ ]
924
+ },
925
+ "clientId": {
926
+ "type": "string"
927
+ },
928
+ "clientIdScheme": {
929
+ "anyOf": [
930
+ {
931
+ "$ref": "#/components/schemas/ClientIdScheme"
932
+ },
933
+ {
934
+ "type": "string",
935
+ "const": "did"
936
+ },
937
+ {
938
+ "type": "string"
939
+ }
940
+ ]
941
+ },
942
+ "protectedHeader": {
943
+ "$ref": "#/components/schemas/JwsHeader"
944
+ },
945
+ "payload": {
946
+ "anyOf": [
947
+ {
948
+ "$ref": "#/components/schemas/JwsPayload"
949
+ },
950
+ {
951
+ "type": "object",
952
+ "properties": {
953
+ "BYTES_PER_ELEMENT": {
954
+ "type": "number"
955
+ },
956
+ "buffer": {
957
+ "anyOf": [
958
+ {
959
+ "type": "object",
960
+ "properties": {
961
+ "byteLength": {
962
+ "type": "number"
963
+ }
964
+ },
965
+ "required": [
966
+ "byteLength"
967
+ ]
968
+ },
969
+ {}
970
+ ]
971
+ },
972
+ "byteLength": {
973
+ "type": "number"
974
+ },
975
+ "byteOffset": {
976
+ "type": "number"
977
+ },
978
+ "length": {
979
+ "type": "number"
980
+ }
981
+ },
982
+ "required": [
983
+ "BYTES_PER_ELEMENT",
984
+ "buffer",
985
+ "byteLength",
986
+ "byteOffset",
987
+ "length"
988
+ ],
989
+ "additionalProperties": {
990
+ "type": "number"
991
+ }
992
+ },
993
+ {
994
+ "type": "string"
995
+ }
996
+ ]
997
+ }
998
+ },
999
+ "required": [
1000
+ "issuer",
1001
+ "protectedHeader",
1002
+ "payload"
1003
+ ]
1004
+ },
1005
+ "JwsIdentifierMode": {
1006
+ "type": "string",
1007
+ "enum": [
1008
+ "x5c",
1009
+ "kid",
1010
+ "jwk",
1011
+ "did",
1012
+ "auto"
1013
+ ]
1014
+ },
1015
+ "JWK": {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "kty": {
1019
+ "anyOf": [
1020
+ {
1021
+ "$ref": "#/components/schemas/JwkKeyType"
1022
+ },
1023
+ {
1024
+ "$ref": "#/components/schemas/JwkKeyTypeString"
1025
+ }
1026
+ ]
1027
+ },
1028
+ "crv": {
1029
+ "anyOf": [
1030
+ {
1031
+ "$ref": "#/components/schemas/JoseCurve"
1032
+ },
1033
+ {
1034
+ "$ref": "#/components/schemas/JoseCurveString"
1035
+ }
1036
+ ]
1037
+ },
1038
+ "alg": {
1039
+ "anyOf": [
1040
+ {
1041
+ "$ref": "#/components/schemas/JoseSignatureAlgorithm"
1042
+ },
1043
+ {
1044
+ "$ref": "#/components/schemas/JoseSignatureAlgorithmString"
1045
+ }
1046
+ ]
1047
+ },
1048
+ "x": {
1049
+ "type": "string"
1050
+ },
1051
+ "y": {
1052
+ "type": "string"
1053
+ },
1054
+ "e": {
1055
+ "type": "string"
1056
+ },
1057
+ "n": {
1058
+ "type": "string"
1059
+ },
1060
+ "d": {
1061
+ "type": "string"
1062
+ },
1063
+ "dp": {
1064
+ "type": "string"
1065
+ },
1066
+ "dq": {
1067
+ "type": "string"
1068
+ },
1069
+ "ext": {
1070
+ "type": "boolean"
1071
+ },
1072
+ "k": {
1073
+ "type": "string"
1074
+ },
1075
+ "key_ops": {
1076
+ "type": "array",
1077
+ "items": {
1078
+ "anyOf": [
1079
+ {
1080
+ "$ref": "#/components/schemas/JoseKeyOperation"
1081
+ },
1082
+ {
1083
+ "$ref": "#/components/schemas/JoseKeyOperationString"
1084
+ }
1085
+ ]
1086
+ }
1087
+ },
1088
+ "kid": {
1089
+ "type": "string"
1090
+ },
1091
+ "oth": {
1092
+ "type": "array",
1093
+ "items": {
1094
+ "type": "object",
1095
+ "properties": {
1096
+ "d": {
1097
+ "type": "string"
1098
+ },
1099
+ "r": {
1100
+ "type": "string"
1101
+ },
1102
+ "t": {
1103
+ "type": "string"
1104
+ }
1105
+ }
1106
+ }
1107
+ },
1108
+ "p": {
1109
+ "type": "string"
1110
+ },
1111
+ "q": {
1112
+ "type": "string"
1113
+ },
1114
+ "qi": {
1115
+ "type": "string"
1116
+ },
1117
+ "use": {
1118
+ "type": "string"
1119
+ },
1120
+ "x5c": {
1121
+ "type": "array",
1122
+ "items": {
1123
+ "type": "string"
1124
+ },
1125
+ "description": "JWK \"x5c\" (X.509 Certificate Chain) Parameter."
1126
+ },
1127
+ "x5t": {
1128
+ "type": "string",
1129
+ "description": "JWK \"x5t\" (X.509 Certificate SHA-1 Thumbprint) Parameter."
1130
+ },
1131
+ "x5t#S256": {
1132
+ "type": "string",
1133
+ "description": "\"x5t#S256\" (X.509 Certificate SHA-256 Thumbprint) Parameter."
1134
+ },
1135
+ "x5u": {
1136
+ "type": "string",
1137
+ "description": "JWK \"x5u\" (X.509 URL) Parameter."
1138
+ },
1139
+ "iv": {
1140
+ "type": "string"
1141
+ }
1142
+ },
1143
+ "additionalProperties": {},
1144
+ "required": [
1145
+ "kty"
1146
+ ]
1147
+ },
1148
+ "JwkKeyType": {
1149
+ "type": "string",
1150
+ "enum": [
1151
+ "EC",
1152
+ "RSA",
1153
+ "oct",
1154
+ "OKP"
1155
+ ]
1156
+ },
1157
+ "JwkKeyTypeString": {
1158
+ "type": "string",
1159
+ "enum": [
1160
+ "EC",
1161
+ "RSA",
1162
+ "oct",
1163
+ "OKP"
1164
+ ]
1165
+ },
1166
+ "JoseCurve": {
1167
+ "type": "string",
1168
+ "enum": [
1169
+ "P-256",
1170
+ "P-384",
1171
+ "P-521",
1172
+ "X25519",
1173
+ "X448",
1174
+ "EdDSA",
1175
+ "Ed25519",
1176
+ "Ed448",
1177
+ "secp256k1"
1178
+ ]
1179
+ },
1180
+ "JoseCurveString": {
1181
+ "type": "string",
1182
+ "enum": [
1183
+ "P-256",
1184
+ "P-384",
1185
+ "P-521",
1186
+ "X25519",
1187
+ "X448",
1188
+ "EdDSA",
1189
+ "Ed25519",
1190
+ "Ed448",
1191
+ "secp256k1"
1192
+ ]
1193
+ },
1194
+ "JoseSignatureAlgorithm": {
1195
+ "type": "string",
1196
+ "enum": [
1197
+ "RS256",
1198
+ "RS384",
1199
+ "RS512",
1200
+ "ES256",
1201
+ "ES256K",
1202
+ "ES384",
1203
+ "ES512",
1204
+ "EdDSA",
1205
+ "HS256",
1206
+ "HS384",
1207
+ "HS512",
1208
+ "PS256",
1209
+ "PS384",
1210
+ "PS512",
1211
+ "none"
1212
+ ]
1213
+ },
1214
+ "JoseSignatureAlgorithmString": {
1215
+ "type": "string",
1216
+ "enum": [
1217
+ "RS256",
1218
+ "RS384",
1219
+ "RS512",
1220
+ "ES256",
1221
+ "ES256K",
1222
+ "ES384",
1223
+ "ES512",
1224
+ "EdDSA",
1225
+ "HS256",
1226
+ "HS384",
1227
+ "HS512",
1228
+ "PS256",
1229
+ "PS384",
1230
+ "PS512",
1231
+ "none"
1232
+ ]
1233
+ },
1234
+ "JoseKeyOperation": {
1235
+ "type": "string",
1236
+ "enum": [
1237
+ "sign",
1238
+ "verify",
1239
+ "encrypt",
1240
+ "decrypt",
1241
+ "wrapKey",
1242
+ "unwrapKey",
1243
+ "deriveKey",
1244
+ "deriveBits"
1245
+ ]
1246
+ },
1247
+ "JoseKeyOperationString": {
1248
+ "type": "string",
1249
+ "enum": [
1250
+ "sign",
1251
+ "verify",
1252
+ "encrypt",
1253
+ "decrypt",
1254
+ "wrapKey",
1255
+ "unwrapKey",
1256
+ "deriveKey",
1257
+ "deriveBits"
1258
+ ]
1259
+ },
1260
+ "ManagedIdentifierMethod": {
1261
+ "type": "string",
1262
+ "enum": [
1263
+ "did",
1264
+ "jwk",
1265
+ "x5c",
1266
+ "kid",
1267
+ "key",
1268
+ "cose_key",
1269
+ "oid4vci-issuer"
1270
+ ]
1271
+ },
1272
+ "ManagedIdentifierOpts": {
1273
+ "anyOf": [
1274
+ {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "method": {
1278
+ "type": "string",
1279
+ "const": "jwk"
1280
+ },
1281
+ "identifier": {
1282
+ "$ref": "#/components/schemas/JWK"
1283
+ },
1284
+ "kmsKeyRef": {
1285
+ "type": "string"
1286
+ },
1287
+ "issuer": {
1288
+ "type": "string"
1289
+ },
1290
+ "kid": {
1291
+ "type": "string"
1292
+ },
1293
+ "clientId": {
1294
+ "type": "string"
1295
+ },
1296
+ "clientIdScheme": {
1297
+ "anyOf": [
1298
+ {
1299
+ "$ref": "#/components/schemas/ClientIdScheme"
1300
+ },
1301
+ {
1302
+ "type": "string",
1303
+ "const": "did"
1304
+ },
1305
+ {
1306
+ "type": "string"
1307
+ }
1308
+ ]
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "identifier"
1313
+ ]
1314
+ },
1315
+ {
1316
+ "type": "object",
1317
+ "properties": {
1318
+ "method": {
1319
+ "type": "string",
1320
+ "const": "x5c"
1321
+ },
1322
+ "identifier": {
1323
+ "type": "array",
1324
+ "items": {
1325
+ "type": "string"
1326
+ }
1327
+ },
1328
+ "kmsKeyRef": {
1329
+ "type": "string"
1330
+ },
1331
+ "issuer": {
1332
+ "type": "string"
1333
+ },
1334
+ "kid": {
1335
+ "type": "string"
1336
+ },
1337
+ "clientId": {
1338
+ "type": "string"
1339
+ },
1340
+ "clientIdScheme": {
1341
+ "anyOf": [
1342
+ {
1343
+ "$ref": "#/components/schemas/ClientIdScheme"
1344
+ },
1345
+ {
1346
+ "type": "string",
1347
+ "const": "did"
1348
+ },
1349
+ {
1350
+ "type": "string"
1351
+ }
1352
+ ]
1353
+ }
1354
+ },
1355
+ "required": [
1356
+ "identifier"
1357
+ ]
1358
+ },
1359
+ {
1360
+ "type": "object",
1361
+ "properties": {
1362
+ "method": {
1363
+ "type": "string",
1364
+ "const": "did"
1365
+ },
1366
+ "identifier": {
1367
+ "anyOf": [
1368
+ {
1369
+ "$ref": "#/components/schemas/IIdentifier"
1370
+ },
1371
+ {
1372
+ "type": "string"
1373
+ }
1374
+ ]
1375
+ },
1376
+ "kmsKeyRef": {
1377
+ "type": "string"
1378
+ },
1379
+ "issuer": {
1380
+ "type": "string"
1381
+ },
1382
+ "kid": {
1383
+ "type": "string"
1384
+ },
1385
+ "clientId": {
1386
+ "type": "string"
1387
+ },
1388
+ "clientIdScheme": {
1389
+ "anyOf": [
1390
+ {
1391
+ "$ref": "#/components/schemas/ClientIdScheme"
1392
+ },
1393
+ {
1394
+ "type": "string",
1395
+ "const": "did"
1396
+ },
1397
+ {
1398
+ "type": "string"
1399
+ }
1400
+ ]
1401
+ },
1402
+ "keyType": {
1403
+ "$ref": "#/components/schemas/TKeyType"
1404
+ },
1405
+ "offlineWhenNoDIDRegistered": {
1406
+ "type": "boolean"
1407
+ },
1408
+ "noVerificationMethodFallback": {
1409
+ "type": "boolean"
1410
+ },
1411
+ "controllerKey": {
1412
+ "type": "boolean"
1413
+ },
1414
+ "vmRelationship": {
1415
+ "$ref": "#/components/schemas/DIDDocumentSection"
1416
+ }
1417
+ },
1418
+ "required": [
1419
+ "identifier"
1420
+ ]
1421
+ },
1422
+ {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "method": {
1426
+ "type": "string",
1427
+ "const": "kid"
1428
+ },
1429
+ "identifier": {
1430
+ "type": "string"
1431
+ },
1432
+ "kmsKeyRef": {
1433
+ "type": "string"
1434
+ },
1435
+ "issuer": {
1436
+ "type": "string"
1437
+ },
1438
+ "kid": {
1439
+ "type": "string"
1440
+ },
1441
+ "clientId": {
1442
+ "type": "string"
1443
+ },
1444
+ "clientIdScheme": {
1445
+ "anyOf": [
1446
+ {
1447
+ "$ref": "#/components/schemas/ClientIdScheme"
1448
+ },
1449
+ {
1450
+ "type": "string",
1451
+ "const": "did"
1452
+ },
1453
+ {
1454
+ "type": "string"
1455
+ }
1456
+ ]
1457
+ }
1458
+ },
1459
+ "required": [
1460
+ "identifier"
1461
+ ]
1462
+ },
1463
+ {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "method": {
1467
+ "type": "string",
1468
+ "const": "key"
1469
+ },
1470
+ "identifier": {
1471
+ "$ref": "#/components/schemas/IKey"
1472
+ },
1473
+ "kmsKeyRef": {
1474
+ "type": "string"
1475
+ },
1476
+ "issuer": {
1477
+ "type": "string"
1478
+ },
1479
+ "kid": {
1480
+ "type": "string"
1481
+ },
1482
+ "clientId": {
1483
+ "type": "string"
1484
+ },
1485
+ "clientIdScheme": {
1486
+ "anyOf": [
1487
+ {
1488
+ "$ref": "#/components/schemas/ClientIdScheme"
1489
+ },
1490
+ {
1491
+ "type": "string",
1492
+ "const": "did"
1493
+ },
1494
+ {
1495
+ "type": "string"
1496
+ }
1497
+ ]
1498
+ }
1499
+ },
1500
+ "required": [
1501
+ "identifier"
1502
+ ]
1503
+ },
1504
+ {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "method": {
1508
+ "type": "string",
1509
+ "const": "cose_key"
1510
+ },
1511
+ "identifier": {
1512
+ "$ref": "#/components/schemas/ICoseKeyJson"
1513
+ },
1514
+ "kmsKeyRef": {
1515
+ "type": "string"
1516
+ },
1517
+ "issuer": {
1518
+ "type": "string"
1519
+ },
1520
+ "kid": {
1521
+ "type": "string"
1522
+ },
1523
+ "clientId": {
1524
+ "type": "string"
1525
+ },
1526
+ "clientIdScheme": {
1527
+ "anyOf": [
1528
+ {
1529
+ "$ref": "#/components/schemas/ClientIdScheme"
1530
+ },
1531
+ {
1532
+ "type": "string",
1533
+ "const": "did"
1534
+ },
1535
+ {
1536
+ "type": "string"
1537
+ }
1538
+ ]
1539
+ }
1540
+ },
1541
+ "required": [
1542
+ "identifier"
1543
+ ]
1544
+ },
1545
+ {
1546
+ "type": "object",
1547
+ "properties": {
1548
+ "method": {
1549
+ "type": "string",
1550
+ "const": "oid4vci-issuer"
1551
+ },
1552
+ "identifier": {
1553
+ "type": "string"
1554
+ },
1555
+ "kmsKeyRef": {
1556
+ "type": "string"
1557
+ },
1558
+ "issuer": {
1559
+ "type": "string"
1560
+ },
1561
+ "kid": {
1562
+ "type": "string"
1563
+ },
1564
+ "clientId": {
1565
+ "type": "string"
1566
+ },
1567
+ "clientIdScheme": {
1568
+ "anyOf": [
1569
+ {
1570
+ "$ref": "#/components/schemas/ClientIdScheme"
1571
+ },
1572
+ {
1573
+ "type": "string",
1574
+ "const": "did"
1575
+ },
1576
+ {
1577
+ "type": "string"
1578
+ }
1579
+ ]
1580
+ }
1581
+ },
1582
+ "required": [
1583
+ "identifier"
1584
+ ]
1585
+ }
1586
+ ]
1587
+ },
1588
+ "ClientIdScheme": {
1589
+ "type": "string",
1590
+ "enum": [
1591
+ "x509_san_dns",
1592
+ "x509_san_uri"
1593
+ ]
1594
+ },
1595
+ "IIdentifier": {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "did": {
1599
+ "type": "string",
1600
+ "description": "Decentralized identifier"
1601
+ },
1602
+ "alias": {
1603
+ "type": "string",
1604
+ "description": "Optional. Identifier alias. Can be used to reference an object in an external system"
1605
+ },
1606
+ "provider": {
1607
+ "type": "string",
1608
+ "description": "Identifier provider name"
1609
+ },
1610
+ "controllerKeyId": {
1611
+ "type": "string",
1612
+ "description": "Controller key id"
1613
+ },
1614
+ "keys": {
1615
+ "type": "array",
1616
+ "items": {
1617
+ "$ref": "#/components/schemas/IKey"
1618
+ },
1619
+ "description": "Array of managed keys"
1620
+ },
1621
+ "services": {
1622
+ "type": "array",
1623
+ "items": {
1624
+ "$ref": "#/components/schemas/IService"
1625
+ },
1626
+ "description": "Array of services"
1627
+ }
1628
+ },
1629
+ "required": [
1630
+ "did",
1631
+ "provider",
1632
+ "keys",
1633
+ "services"
1634
+ ],
1635
+ "description": "Identifier interface"
1636
+ },
1637
+ "IKey": {
1638
+ "type": "object",
1639
+ "properties": {
1640
+ "kid": {
1641
+ "type": "string",
1642
+ "description": "Key ID"
1643
+ },
1644
+ "kms": {
1645
+ "type": "string",
1646
+ "description": "Key Management System"
1647
+ },
1648
+ "type": {
1649
+ "$ref": "#/components/schemas/TKeyType",
1650
+ "description": "Key type"
1651
+ },
1652
+ "publicKeyHex": {
1653
+ "type": "string",
1654
+ "description": "Public key"
1655
+ },
1656
+ "privateKeyHex": {
1657
+ "type": "string",
1658
+ "description": "Optional. Private key"
1659
+ },
1660
+ "meta": {
1661
+ "anyOf": [
1662
+ {
1663
+ "$ref": "#/components/schemas/KeyMetadata"
1664
+ },
1665
+ {
1666
+ "type": "null"
1667
+ }
1668
+ ],
1669
+ "description": "Optional. Key metadata. This should be used to determine which algorithms are supported."
1670
+ }
1671
+ },
1672
+ "required": [
1673
+ "kid",
1674
+ "kms",
1675
+ "type",
1676
+ "publicKeyHex"
1677
+ ],
1678
+ "description": "Cryptographic key"
1679
+ },
1680
+ "TKeyType": {
1681
+ "type": "string",
1682
+ "enum": [
1683
+ "Ed25519",
1684
+ "Secp256k1",
1685
+ "Secp256r1",
1686
+ "X25519",
1687
+ "Bls12381G1",
1688
+ "Bls12381G2",
1689
+ "RSA"
1690
+ ],
1691
+ "description": "Cryptographic key type."
1692
+ },
1693
+ "KeyMetadata": {
1694
+ "type": "object",
1695
+ "properties": {
1696
+ "algorithms": {
1697
+ "type": "array",
1698
+ "items": {
1699
+ "type": "string"
1700
+ }
1701
+ }
1702
+ },
1703
+ "description": "This encapsulates data about a key.\n\nImplementations of {@link @veramo/key-manager#AbstractKeyManagementSystem | AbstractKeyManagementSystem } should populate this object, for each key, with the algorithms that can be performed using it.\n\nThis can also be used to add various tags to the keys under management."
1704
+ },
1705
+ "IService": {
1706
+ "type": "object",
1707
+ "properties": {
1708
+ "id": {
1709
+ "type": "string",
1710
+ "description": "ID"
1711
+ },
1712
+ "type": {
1713
+ "type": "string",
1714
+ "description": "Service type"
1715
+ },
1716
+ "serviceEndpoint": {
1717
+ "anyOf": [
1718
+ {
1719
+ "$ref": "#/components/schemas/IServiceEndpoint"
1720
+ },
1721
+ {
1722
+ "type": "array",
1723
+ "items": {
1724
+ "$ref": "#/components/schemas/IServiceEndpoint"
1725
+ }
1726
+ }
1727
+ ],
1728
+ "description": "Endpoint URL"
1729
+ },
1730
+ "description": {
1731
+ "type": "string",
1732
+ "description": "Optional. Description"
1733
+ }
1734
+ },
1735
+ "required": [
1736
+ "id",
1737
+ "type",
1738
+ "serviceEndpoint"
1739
+ ],
1740
+ "description": "Identifier service"
1741
+ },
1742
+ "IServiceEndpoint": {
1743
+ "anyOf": [
1744
+ {
1745
+ "type": "string"
1746
+ },
1747
+ {
1748
+ "type": "object"
1749
+ }
1750
+ ],
1751
+ "description": "Represents a service endpoint URL or a map of URLs"
1752
+ },
1753
+ "DIDDocumentSection": {
1754
+ "type": "string",
1755
+ "enum": [
1756
+ "verificationMethod",
1757
+ "publicKey",
1758
+ "service",
1759
+ "authentication",
1760
+ "assertionMethod",
1761
+ "keyAgreement",
1762
+ "capabilityInvocation",
1763
+ "capabilityDelegation"
1764
+ ],
1765
+ "description": "Refers to a section of a DID document. Either the list of verification methods or services or one of the verification relationships.\n\nSee {@link https://www.w3.org/TR/did-core/#verification-relationships | verification relationships }"
1766
+ },
1767
+ "ICoseKeyJson": {
1768
+ "type": "object",
1769
+ "properties": {
1770
+ "kty": {
1771
+ "$ref": "#/components/schemas/ICoseKeyType"
1772
+ },
1773
+ "kid": {
1774
+ "type": "string"
1775
+ },
1776
+ "alg": {
1777
+ "$ref": "#/components/schemas/ICoseSignatureAlgorithm"
1778
+ },
1779
+ "key_ops": {
1780
+ "type": "array",
1781
+ "items": {
1782
+ "$ref": "#/components/schemas/ICoseKeyOperation"
1783
+ }
1784
+ },
1785
+ "baseIV": {
1786
+ "type": "string"
1787
+ },
1788
+ "crv": {
1789
+ "$ref": "#/components/schemas/ICoseCurve"
1790
+ },
1791
+ "x": {
1792
+ "type": "string"
1793
+ },
1794
+ "y": {
1795
+ "type": "string"
1796
+ },
1797
+ "d": {
1798
+ "type": "string"
1799
+ },
1800
+ "x5chain": {
1801
+ "type": "array",
1802
+ "items": {
1803
+ "type": "string"
1804
+ }
1805
+ }
1806
+ },
1807
+ "required": [
1808
+ "kty"
1809
+ ],
1810
+ "additionalProperties": {},
1811
+ "description": "See our mdl-mdoc and crypto library for more information https://github.com/Sphereon-Opensource/mdoc-cbor-crypto-multiplatform\n\nConversion functions are available in above library. Conversion functions are also available for TS in our"
1812
+ },
1813
+ "ICoseKeyType": {
1814
+ "type": "number",
1815
+ "enum": [
1816
+ 1,
1817
+ 2,
1818
+ 3,
1819
+ 4,
1820
+ 0
1821
+ ]
1822
+ },
1823
+ "ICoseSignatureAlgorithm": {
1824
+ "type": "number",
1825
+ "enum": [
1826
+ -7,
1827
+ -47,
1828
+ -35,
1829
+ -36,
1830
+ -8,
1831
+ 4,
1832
+ 5,
1833
+ 6,
1834
+ 7,
1835
+ -37,
1836
+ -38,
1837
+ -39
1838
+ ]
1839
+ },
1840
+ "ICoseKeyOperation": {
1841
+ "type": "number",
1842
+ "enum": [
1843
+ 1,
1844
+ 2,
1845
+ 3,
1846
+ 4,
1847
+ 5,
1848
+ 6,
1849
+ 7,
1850
+ 8,
1851
+ 9,
1852
+ 10
1853
+ ]
1854
+ },
1855
+ "ICoseCurve": {
1856
+ "type": "number",
1857
+ "enum": [
1858
+ 1,
1859
+ 2,
1860
+ 3,
1861
+ 4,
1862
+ 5,
1863
+ 6,
1864
+ 7,
1865
+ -1
1866
+ ]
1867
+ },
1868
+ "ManagedIdentifierType": {
1869
+ "anyOf": [
1870
+ {
1871
+ "$ref": "#/components/schemas/IIdentifier"
1872
+ },
1873
+ {
1874
+ "type": "string"
1875
+ },
1876
+ {
1877
+ "type": "array",
1878
+ "items": {
1879
+ "type": "string"
1880
+ }
1881
+ },
1882
+ {
1883
+ "$ref": "#/components/schemas/JWK"
1884
+ },
1885
+ {
1886
+ "$ref": "#/components/schemas/IKey"
1887
+ },
1888
+ {
1889
+ "$ref": "#/components/schemas/ICoseKeyJson"
1890
+ }
1891
+ ],
1892
+ "description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
1893
+ },
1894
+ "JwsHeader": {
1895
+ "type": "object",
1896
+ "properties": {
1897
+ "typ": {
1898
+ "type": "string"
1899
+ },
1900
+ "alg": {
1901
+ "type": "string"
1902
+ },
1903
+ "kid": {
1904
+ "type": "string"
1905
+ },
1906
+ "jwk": {
1907
+ "$ref": "#/components/schemas/JWK"
1908
+ },
1909
+ "x5c": {
1910
+ "type": "array",
1911
+ "items": {
1912
+ "type": "string"
1913
+ }
1914
+ }
1915
+ },
1916
+ "additionalProperties": {}
1917
+ },
1918
+ "JwsPayload": {
1919
+ "type": "object",
1920
+ "additionalProperties": {},
1921
+ "properties": {
1922
+ "iss": {
1923
+ "type": "string"
1924
+ },
1925
+ "sub": {
1926
+ "type": "string"
1927
+ },
1928
+ "aud": {
1929
+ "anyOf": [
1930
+ {
1931
+ "type": "array",
1932
+ "items": {
1933
+ "type": "string"
1934
+ }
1935
+ },
1936
+ {
1937
+ "type": "string"
1938
+ }
1939
+ ]
1940
+ },
1941
+ "exp": {
1942
+ "type": "number"
1943
+ },
1944
+ "nbf": {
1945
+ "type": "number"
1946
+ },
1947
+ "iat": {
1948
+ "type": "number"
1949
+ },
1950
+ "jti": {
1951
+ "type": "string"
1952
+ }
1953
+ }
1954
+ },
1955
+ "JwtCompactResult": {
1956
+ "type": "object",
1957
+ "properties": {
1958
+ "jwt": {
1959
+ "anyOf": [
1960
+ {
1961
+ "$ref": "#/components/schemas/JwsCompact"
1962
+ },
1963
+ {
1964
+ "$ref": "#/components/schemas/JweCompact"
1965
+ }
1966
+ ]
1967
+ }
1968
+ },
1969
+ "required": [
1970
+ "jwt"
1971
+ ]
1972
+ },
1973
+ "JwsCompact": {
1974
+ "type": "string"
1975
+ },
1976
+ "JweCompact": {
1977
+ "type": "string"
1978
+ },
1979
+ "VerifyJwsArgs": {
1980
+ "type": "object",
1981
+ "properties": {
1982
+ "jws": {
1983
+ "$ref": "#/components/schemas/Jws"
1984
+ },
1985
+ "jwk": {
1986
+ "$ref": "#/components/schemas/JWK"
1987
+ },
1988
+ "opts": {
1989
+ "type": "object",
1990
+ "properties": {
1991
+ "x5c": {
1992
+ "type": "object",
1993
+ "properties": {
1994
+ "trustRootWhenNoAnchors": {
1995
+ "type": "boolean"
1996
+ },
1997
+ "allowSingleNoCAChainElement": {
1998
+ "type": "boolean"
1999
+ },
2000
+ "blindlyTrustedAnchors": {
2001
+ "allOf": [
2002
+ {
2003
+ "type": "array",
2004
+ "items": {
2005
+ "type": "string"
2006
+ }
2007
+ },
2008
+ {
2009
+ "type": "object",
2010
+ "properties": {}
2011
+ }
2012
+ ]
2013
+ },
2014
+ "client": {
2015
+ "type": "object",
2016
+ "properties": {
2017
+ "clientId": {
2018
+ "type": "string"
2019
+ },
2020
+ "clientIdScheme": {
2021
+ "$ref": "#/components/schemas/ClientIdScheme"
2022
+ }
2023
+ },
2024
+ "required": [
2025
+ "clientId",
2026
+ "clientIdScheme"
2027
+ ]
2028
+ },
2029
+ "method": {
2030
+ "type": "object",
2031
+ "properties": {}
2032
+ },
2033
+ "verify": {
2034
+ "type": "boolean"
2035
+ },
2036
+ "verificationTime": {
2037
+ "type": "string"
2038
+ },
2039
+ "trustAnchors": {
2040
+ "allOf": [
2041
+ {
2042
+ "type": "array",
2043
+ "items": {
2044
+ "type": "string"
2045
+ }
2046
+ },
2047
+ {
2048
+ "type": "object",
2049
+ "properties": {}
2050
+ }
2051
+ ]
2052
+ }
2053
+ }
2054
+ },
2055
+ "did": {
2056
+ "type": "object",
2057
+ "properties": {
2058
+ "method": {
2059
+ "type": "object",
2060
+ "properties": {}
2061
+ },
2062
+ "noVerificationMethodFallback": {
2063
+ "type": "boolean"
2064
+ },
2065
+ "vmRelationship": {
2066
+ "anyOf": [
2067
+ {
2068
+ "type": "object",
2069
+ "properties": {}
2070
+ },
2071
+ {
2072
+ "type": "object",
2073
+ "properties": {}
2074
+ },
2075
+ {
2076
+ "type": "object",
2077
+ "properties": {}
2078
+ },
2079
+ {
2080
+ "type": "object",
2081
+ "properties": {}
2082
+ },
2083
+ {
2084
+ "type": "object",
2085
+ "properties": {}
2086
+ },
2087
+ {
2088
+ "type": "object",
2089
+ "properties": {}
2090
+ },
2091
+ {
2092
+ "type": "object",
2093
+ "properties": {}
2094
+ },
2095
+ {
2096
+ "type": "object",
2097
+ "properties": {}
2098
+ }
2099
+ ]
2100
+ },
2101
+ "localResolution": {
2102
+ "type": "boolean"
2103
+ },
2104
+ "uniresolverResolution": {
2105
+ "type": "boolean"
2106
+ },
2107
+ "resolverResolution": {
2108
+ "type": "boolean"
2109
+ }
2110
+ }
2111
+ }
2112
+ }
2113
+ }
2114
+ },
2115
+ "required": [
2116
+ "jws"
2117
+ ]
2118
+ },
2119
+ "Jws": {
2120
+ "anyOf": [
2121
+ {
2122
+ "$ref": "#/components/schemas/JwsCompact"
2123
+ },
2124
+ {
2125
+ "$ref": "#/components/schemas/JwsJsonFlattened"
2126
+ },
2127
+ {
2128
+ "$ref": "#/components/schemas/JwsJsonGeneral"
2129
+ }
2130
+ ]
2131
+ },
2132
+ "JwsJsonFlattened": {
2133
+ "type": "object",
2134
+ "properties": {
2135
+ "payload": {
2136
+ "type": "string"
2137
+ },
2138
+ "protected": {
2139
+ "type": "string"
2140
+ },
2141
+ "header": {
2142
+ "$ref": "#/components/schemas/JwsHeader"
2143
+ },
2144
+ "signature": {
2145
+ "type": "string"
2146
+ }
2147
+ },
2148
+ "required": [
2149
+ "payload",
2150
+ "protected",
2151
+ "signature"
2152
+ ]
2153
+ },
2154
+ "JwsJsonGeneral": {
2155
+ "type": "object",
2156
+ "properties": {
2157
+ "payload": {
2158
+ "type": "string"
2159
+ },
2160
+ "signatures": {
2161
+ "type": "array",
2162
+ "items": {
2163
+ "$ref": "#/components/schemas/JwsJsonSignature"
2164
+ }
2165
+ }
2166
+ },
2167
+ "required": [
2168
+ "payload",
2169
+ "signatures"
2170
+ ]
2171
+ },
2172
+ "JwsJsonSignature": {
2173
+ "type": "object",
2174
+ "properties": {
2175
+ "protected": {
2176
+ "type": "string"
2177
+ },
2178
+ "header": {
2179
+ "$ref": "#/components/schemas/JwsHeader"
2180
+ },
2181
+ "signature": {
2182
+ "type": "string"
2183
+ }
2184
+ },
2185
+ "required": [
2186
+ "protected",
2187
+ "signature"
2188
+ ]
2189
+ },
2190
+ "IJwsValidationResult": {
2191
+ "type": "object",
2192
+ "properties": {
2193
+ "jws": {
2194
+ "$ref": "#/components/schemas/JwsJsonGeneralWithIdentifiers"
2195
+ },
2196
+ "name": {
2197
+ "type": "string",
2198
+ "description": "The name of the validation or its subsystem. Mainly used for information purposes. Not assumed to be unique"
2199
+ },
2200
+ "error": {
2201
+ "type": "boolean",
2202
+ "description": "Whether the validation was successful or not"
2203
+ },
2204
+ "critical": {
2205
+ "type": "boolean",
2206
+ "description": "Whether an error can be ignored or not (up to processing logic)"
2207
+ },
2208
+ "message": {
2209
+ "type": "string",
2210
+ "description": "Any status/info message about the validation"
2211
+ },
2212
+ "verificationTime": {
2213
+ "type": "string",
2214
+ "format": "date-time",
2215
+ "description": "The date and time of the validation"
2216
+ }
2217
+ },
2218
+ "required": [
2219
+ "critical",
2220
+ "error",
2221
+ "jws",
2222
+ "message",
2223
+ "name",
2224
+ "verificationTime"
2225
+ ]
2226
+ },
2227
+ "JwsJsonGeneralWithIdentifiers": {
2228
+ "type": "object",
2229
+ "properties": {
2230
+ "payload": {
2231
+ "type": "string"
2232
+ },
2233
+ "signatures": {
2234
+ "type": "array",
2235
+ "items": {
2236
+ "$ref": "#/components/schemas/JwsJsonSignatureWithIdentifier"
2237
+ }
2238
+ }
2239
+ },
2240
+ "required": [
2241
+ "payload",
2242
+ "signatures"
2243
+ ]
2244
+ },
2245
+ "JwsJsonSignatureWithIdentifier": {
2246
+ "type": "object",
2247
+ "properties": {
2248
+ "protected": {
2249
+ "type": "string"
2250
+ },
2251
+ "header": {
2252
+ "$ref": "#/components/schemas/JwsHeader"
2253
+ },
2254
+ "signature": {
2255
+ "type": "string"
2256
+ },
2257
+ "identifier": {
2258
+ "$ref": "#/components/schemas/ExternalIdentifierResult"
2259
+ }
2260
+ },
2261
+ "required": [
2262
+ "identifier",
2263
+ "protected",
2264
+ "signature"
2265
+ ]
2266
+ },
2267
+ "ExternalIdentifierResult": {
2268
+ "anyOf": [
2269
+ {
2270
+ "type": "object",
2271
+ "properties": {
2272
+ "method": {
2273
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2274
+ },
2275
+ "jwks": {
2276
+ "type": "array",
2277
+ "items": {
2278
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2279
+ }
2280
+ },
2281
+ "did": {
2282
+ "type": "string"
2283
+ },
2284
+ "didDocument": {
2285
+ "$ref": "#/components/schemas/DIDDocument"
2286
+ },
2287
+ "didJwks": {
2288
+ "$ref": "#/components/schemas/DidDocumentJwks"
2289
+ },
2290
+ "didResolutionResult": {
2291
+ "type": "object",
2292
+ "properties": {
2293
+ "@context": {
2294
+ "anyOf": [
2295
+ {
2296
+ "type": "string",
2297
+ "const": "https://w3id.org/did-resolution/v1"
2298
+ },
2299
+ {
2300
+ "type": "string"
2301
+ },
2302
+ {
2303
+ "type": "array",
2304
+ "items": {
2305
+ "type": "string"
2306
+ }
2307
+ }
2308
+ ]
2309
+ },
2310
+ "didResolutionMetadata": {
2311
+ "$ref": "#/components/schemas/DIDResolutionMetadata"
2312
+ },
2313
+ "didDocumentMetadata": {
2314
+ "$ref": "#/components/schemas/DIDDocumentMetadata"
2315
+ }
2316
+ },
2317
+ "required": [
2318
+ "didResolutionMetadata",
2319
+ "didDocumentMetadata"
2320
+ ]
2321
+ },
2322
+ "didParsed": {
2323
+ "$ref": "#/components/schemas/IParsedDID"
2324
+ }
2325
+ },
2326
+ "required": [
2327
+ "did",
2328
+ "didParsed",
2329
+ "didResolutionResult",
2330
+ "jwks",
2331
+ "method"
2332
+ ]
2333
+ },
2334
+ {
2335
+ "type": "object",
2336
+ "properties": {
2337
+ "method": {
2338
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2339
+ },
2340
+ "jwks": {
2341
+ "type": "array",
2342
+ "items": {
2343
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2344
+ }
2345
+ },
2346
+ "x5c": {
2347
+ "type": "array",
2348
+ "items": {
2349
+ "type": "string"
2350
+ }
2351
+ },
2352
+ "issuerJWK": {
2353
+ "$ref": "#/components/schemas/JWK"
2354
+ },
2355
+ "verificationResult": {
2356
+ "$ref": "#/components/schemas/X509ValidationResult"
2357
+ },
2358
+ "certificates": {
2359
+ "type": "array",
2360
+ "items": {}
2361
+ }
2362
+ },
2363
+ "required": [
2364
+ "certificates",
2365
+ "issuerJWK",
2366
+ "jwks",
2367
+ "method",
2368
+ "x5c"
2369
+ ]
2370
+ },
2371
+ {
2372
+ "type": "object",
2373
+ "properties": {
2374
+ "method": {
2375
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2376
+ },
2377
+ "jwks": {
2378
+ "type": "array",
2379
+ "items": {
2380
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2381
+ }
2382
+ },
2383
+ "jwk": {
2384
+ "$ref": "#/components/schemas/JWK"
2385
+ },
2386
+ "x5c": {
2387
+ "$ref": "#/components/schemas/ExternalIdentifierX5cResult"
2388
+ }
2389
+ },
2390
+ "required": [
2391
+ "jwk",
2392
+ "jwks",
2393
+ "method"
2394
+ ]
2395
+ },
2396
+ {
2397
+ "type": "object",
2398
+ "properties": {
2399
+ "method": {
2400
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2401
+ },
2402
+ "jwks": {
2403
+ "type": "array",
2404
+ "items": {
2405
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2406
+ }
2407
+ },
2408
+ "coseKey": {
2409
+ "$ref": "#/components/schemas/ICoseKeyJson"
2410
+ },
2411
+ "x5c": {
2412
+ "$ref": "#/components/schemas/ExternalIdentifierX5cResult"
2413
+ }
2414
+ },
2415
+ "required": [
2416
+ "coseKey",
2417
+ "jwks",
2418
+ "method"
2419
+ ]
2420
+ }
2421
+ ]
2422
+ },
2423
+ "ExternalIdentifierMethod": {
2424
+ "type": "string",
2425
+ "enum": [
2426
+ "did",
2427
+ "jwk",
2428
+ "x5c",
2429
+ "kid",
2430
+ "cose_key",
2431
+ "oidc-discovery",
2432
+ "jwks-url",
2433
+ "oid4vci-issuer"
2434
+ ]
2435
+ },
2436
+ "ExternalJwkInfo": {
2437
+ "type": "object",
2438
+ "properties": {
2439
+ "jwk": {
2440
+ "$ref": "#/components/schemas/JWK"
2441
+ },
2442
+ "jwkThumbprint": {
2443
+ "type": "string"
2444
+ },
2445
+ "kid": {
2446
+ "type": "string"
2447
+ },
2448
+ "publicKeyHex": {
2449
+ "type": "string"
2450
+ }
2451
+ },
2452
+ "required": [
2453
+ "jwk",
2454
+ "jwkThumbprint",
2455
+ "publicKeyHex"
2456
+ ]
2457
+ },
2458
+ "DIDDocument": {
2459
+ "type": "object",
2460
+ "properties": {
2461
+ "authentication": {
2462
+ "type": "array",
2463
+ "items": {
2464
+ "anyOf": [
2465
+ {
2466
+ "type": "string"
2467
+ },
2468
+ {
2469
+ "$ref": "#/components/schemas/VerificationMethod"
2470
+ }
2471
+ ]
2472
+ }
2473
+ },
2474
+ "assertionMethod": {
2475
+ "type": "array",
2476
+ "items": {
2477
+ "anyOf": [
2478
+ {
2479
+ "type": "string"
2480
+ },
2481
+ {
2482
+ "$ref": "#/components/schemas/VerificationMethod"
2483
+ }
2484
+ ]
2485
+ }
2486
+ },
2487
+ "keyAgreement": {
2488
+ "type": "array",
2489
+ "items": {
2490
+ "anyOf": [
2491
+ {
2492
+ "type": "string"
2493
+ },
2494
+ {
2495
+ "$ref": "#/components/schemas/VerificationMethod"
2496
+ }
2497
+ ]
2498
+ }
2499
+ },
2500
+ "capabilityInvocation": {
2501
+ "type": "array",
2502
+ "items": {
2503
+ "anyOf": [
2504
+ {
2505
+ "type": "string"
2506
+ },
2507
+ {
2508
+ "$ref": "#/components/schemas/VerificationMethod"
2509
+ }
2510
+ ]
2511
+ }
2512
+ },
2513
+ "capabilityDelegation": {
2514
+ "type": "array",
2515
+ "items": {
2516
+ "anyOf": [
2517
+ {
2518
+ "type": "string"
2519
+ },
2520
+ {
2521
+ "$ref": "#/components/schemas/VerificationMethod"
2522
+ }
2523
+ ]
2524
+ }
2525
+ },
2526
+ "@context": {
2527
+ "anyOf": [
2528
+ {
2529
+ "type": "string",
2530
+ "const": "https://www.w3.org/ns/did/v1"
2531
+ },
2532
+ {
2533
+ "type": "string"
2534
+ },
2535
+ {
2536
+ "type": "array",
2537
+ "items": {
2538
+ "type": "string"
2539
+ }
2540
+ }
2541
+ ]
2542
+ },
2543
+ "id": {
2544
+ "type": "string"
2545
+ },
2546
+ "alsoKnownAs": {
2547
+ "type": "array",
2548
+ "items": {
2549
+ "type": "string"
2550
+ }
2551
+ },
2552
+ "controller": {
2553
+ "anyOf": [
2554
+ {
2555
+ "type": "string"
2556
+ },
2557
+ {
2558
+ "type": "array",
2559
+ "items": {
2560
+ "type": "string"
2561
+ }
2562
+ }
2563
+ ]
2564
+ },
2565
+ "verificationMethod": {
2566
+ "type": "array",
2567
+ "items": {
2568
+ "$ref": "#/components/schemas/VerificationMethod"
2569
+ }
2570
+ },
2571
+ "service": {
2572
+ "type": "array",
2573
+ "items": {
2574
+ "$ref": "#/components/schemas/Service"
2575
+ }
2576
+ },
2577
+ "publicKey": {
2578
+ "type": "array",
2579
+ "items": {
2580
+ "$ref": "#/components/schemas/VerificationMethod"
2581
+ },
2582
+ "deprecated": true
2583
+ }
2584
+ },
2585
+ "required": [
2586
+ "id"
2587
+ ],
2588
+ "description": "Represents a DID document."
2589
+ },
2590
+ "VerificationMethod": {
2591
+ "type": "object",
2592
+ "properties": {
2593
+ "id": {
2594
+ "type": "string"
2595
+ },
2596
+ "type": {
2597
+ "type": "string"
2598
+ },
2599
+ "controller": {
2600
+ "type": "string"
2601
+ },
2602
+ "publicKeyBase58": {
2603
+ "type": "string"
2604
+ },
2605
+ "publicKeyBase64": {
2606
+ "type": "string"
2607
+ },
2608
+ "publicKeyJwk": {
2609
+ "$ref": "#/components/schemas/JsonWebKey"
2610
+ },
2611
+ "publicKeyHex": {
2612
+ "type": "string"
2613
+ },
2614
+ "publicKeyMultibase": {
2615
+ "type": "string"
2616
+ },
2617
+ "blockchainAccountId": {
2618
+ "type": "string"
2619
+ },
2620
+ "ethereumAddress": {
2621
+ "type": "string"
2622
+ },
2623
+ "conditionOr": {
2624
+ "type": "array",
2625
+ "items": {
2626
+ "$ref": "#/components/schemas/VerificationMethod"
2627
+ }
2628
+ },
2629
+ "conditionAnd": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "$ref": "#/components/schemas/VerificationMethod"
2633
+ }
2634
+ },
2635
+ "threshold": {
2636
+ "type": "number"
2637
+ },
2638
+ "conditionThreshold": {
2639
+ "type": "array",
2640
+ "items": {
2641
+ "$ref": "#/components/schemas/VerificationMethod"
2642
+ }
2643
+ },
2644
+ "conditionWeightedThreshold": {
2645
+ "type": "array",
2646
+ "items": {
2647
+ "$ref": "#/components/schemas/ConditionWeightedThreshold"
2648
+ }
2649
+ },
2650
+ "conditionDelegated": {
2651
+ "type": "string"
2652
+ },
2653
+ "relationshipParent": {
2654
+ "type": "array",
2655
+ "items": {
2656
+ "type": "string"
2657
+ }
2658
+ },
2659
+ "relationshipChild": {
2660
+ "type": "array",
2661
+ "items": {
2662
+ "type": "string"
2663
+ }
2664
+ },
2665
+ "relationshipSibling": {
2666
+ "type": "array",
2667
+ "items": {
2668
+ "type": "string"
2669
+ }
2670
+ }
2671
+ },
2672
+ "required": [
2673
+ "id",
2674
+ "type",
2675
+ "controller"
2676
+ ],
2677
+ "description": "Represents the properties of a Verification Method listed in a DID document.\n\nThis data type includes public key representations that are no longer present in the spec but are still used by several DID methods / resolvers and kept for backward compatibility."
2678
+ },
2679
+ "JsonWebKey": {
2680
+ "type": "object",
2681
+ "properties": {
2682
+ "alg": {
2683
+ "type": "string"
2684
+ },
2685
+ "crv": {
2686
+ "type": "string"
2687
+ },
2688
+ "e": {
2689
+ "type": "string"
2690
+ },
2691
+ "ext": {
2692
+ "type": "boolean"
2693
+ },
2694
+ "key_ops": {
2695
+ "type": "array",
2696
+ "items": {
2697
+ "type": "string"
2698
+ }
2699
+ },
2700
+ "kid": {
2701
+ "type": "string"
2702
+ },
2703
+ "kty": {
2704
+ "type": "string"
2705
+ },
2706
+ "n": {
2707
+ "type": "string"
2708
+ },
2709
+ "use": {
2710
+ "type": "string"
2711
+ },
2712
+ "x": {
2713
+ "type": "string"
2714
+ },
2715
+ "y": {
2716
+ "type": "string"
2717
+ }
2718
+ },
2719
+ "required": [
2720
+ "kty"
2721
+ ],
2722
+ "description": "Encapsulates a JSON web key type that includes only the public properties that can be used in DID documents.\n\nThe private properties are intentionally omitted to discourage the use (and accidental disclosure) of private keys in DID documents."
2723
+ },
2724
+ "ConditionWeightedThreshold": {
2725
+ "type": "object",
2726
+ "properties": {
2727
+ "condition": {
2728
+ "$ref": "#/components/schemas/VerificationMethod"
2729
+ },
2730
+ "weight": {
2731
+ "type": "number"
2732
+ }
2733
+ },
2734
+ "required": [
2735
+ "condition",
2736
+ "weight"
2737
+ ]
2738
+ },
2739
+ "Service": {
2740
+ "type": "object",
2741
+ "properties": {
2742
+ "id": {
2743
+ "type": "string"
2744
+ },
2745
+ "type": {
2746
+ "type": "string"
2747
+ },
2748
+ "serviceEndpoint": {
2749
+ "anyOf": [
2750
+ {
2751
+ "$ref": "#/components/schemas/ServiceEndpoint"
2752
+ },
2753
+ {
2754
+ "type": "array",
2755
+ "items": {
2756
+ "$ref": "#/components/schemas/ServiceEndpoint"
2757
+ }
2758
+ }
2759
+ ]
2760
+ }
2761
+ },
2762
+ "required": [
2763
+ "id",
2764
+ "type",
2765
+ "serviceEndpoint"
2766
+ ],
2767
+ "description": "Represents a Service entry in a {@link https://www.w3.org/TR/did-core/#did-document-properties | DID document } ."
2768
+ },
2769
+ "ServiceEndpoint": {
2770
+ "anyOf": [
2771
+ {
2772
+ "type": "string"
2773
+ },
2774
+ {
2775
+ "type": "object"
2776
+ }
2777
+ ],
2778
+ "description": "Represents an endpoint of a Service entry in a DID document."
2779
+ },
2780
+ "DidDocumentJwks": {
2781
+ "type": "object",
2782
+ "properties": {
2783
+ "verificationMethod": {
2784
+ "type": "array",
2785
+ "items": {
2786
+ "$ref": "#/components/schemas/JWK"
2787
+ }
2788
+ },
2789
+ "authentication": {
2790
+ "type": "array",
2791
+ "items": {
2792
+ "$ref": "#/components/schemas/JWK"
2793
+ }
2794
+ },
2795
+ "assertionMethod": {
2796
+ "type": "array",
2797
+ "items": {
2798
+ "$ref": "#/components/schemas/JWK"
2799
+ }
2800
+ },
2801
+ "keyAgreement": {
2802
+ "type": "array",
2803
+ "items": {
2804
+ "$ref": "#/components/schemas/JWK"
2805
+ }
2806
+ },
2807
+ "capabilityInvocation": {
2808
+ "type": "array",
2809
+ "items": {
2810
+ "$ref": "#/components/schemas/JWK"
2811
+ }
2812
+ },
2813
+ "capabilityDelegation": {
2814
+ "type": "array",
2815
+ "items": {
2816
+ "$ref": "#/components/schemas/JWK"
2817
+ }
2818
+ }
2819
+ },
2820
+ "required": [
2821
+ "verificationMethod",
2822
+ "authentication",
2823
+ "assertionMethod",
2824
+ "keyAgreement",
2825
+ "capabilityInvocation",
2826
+ "capabilityDelegation"
2827
+ ]
2828
+ },
2829
+ "DIDResolutionMetadata": {
2830
+ "type": "object",
2831
+ "properties": {
2832
+ "contentType": {
2833
+ "type": "string"
2834
+ },
2835
+ "error": {
2836
+ "type": "string"
2837
+ }
2838
+ },
2839
+ "description": "Encapsulates the resolution metadata resulting from a {@link Resolvable.resolve } operation."
2840
+ },
2841
+ "DIDDocumentMetadata": {
2842
+ "type": "object",
2843
+ "properties": {
2844
+ "created": {
2845
+ "type": "string"
2846
+ },
2847
+ "updated": {
2848
+ "type": "string"
2849
+ },
2850
+ "deactivated": {
2851
+ "type": "boolean"
2852
+ },
2853
+ "versionId": {
2854
+ "type": "string"
2855
+ },
2856
+ "nextUpdate": {
2857
+ "type": "string"
2858
+ },
2859
+ "nextVersionId": {
2860
+ "type": "string"
2861
+ },
2862
+ "equivalentId": {
2863
+ "type": "string"
2864
+ },
2865
+ "canonicalId": {
2866
+ "type": "string"
2867
+ }
2868
+ },
2869
+ "description": "Represents metadata about the DID document resulting from a {@link Resolvable.resolve } operation."
2870
+ },
2871
+ "IParsedDID": {
2872
+ "type": "object",
2873
+ "properties": {
2874
+ "did": {
2875
+ "type": "string"
2876
+ },
2877
+ "didUrl": {
2878
+ "type": "string"
2879
+ },
2880
+ "method": {
2881
+ "type": "string"
2882
+ },
2883
+ "id": {
2884
+ "type": "string"
2885
+ },
2886
+ "path": {
2887
+ "type": "string"
2888
+ },
2889
+ "fragment": {
2890
+ "type": "string"
2891
+ },
2892
+ "query": {
2893
+ "type": "string"
2894
+ },
2895
+ "params": {
2896
+ "type": "object",
2897
+ "additionalProperties": {
2898
+ "type": "string"
2899
+ }
2900
+ }
2901
+ },
2902
+ "required": [
2903
+ "did",
2904
+ "didUrl",
2905
+ "method",
2906
+ "id"
2907
+ ]
2908
+ },
2909
+ "X509ValidationResult": {
2910
+ "type": "object",
2911
+ "properties": {
2912
+ "error": {
2913
+ "type": "boolean"
2914
+ },
2915
+ "critical": {
2916
+ "type": "boolean"
2917
+ },
2918
+ "message": {
2919
+ "type": "string"
2920
+ },
2921
+ "verificationTime": {
2922
+ "type": "string",
2923
+ "format": "date-time"
2924
+ },
2925
+ "certificateChain": {
2926
+ "type": "array",
2927
+ "items": {
2928
+ "$ref": "#/components/schemas/CertificateInfo"
2929
+ }
2930
+ },
2931
+ "client": {
2932
+ "type": "object",
2933
+ "properties": {
2934
+ "clientId": {
2935
+ "type": "string"
2936
+ },
2937
+ "clientIdScheme": {
2938
+ "$ref": "#/components/schemas/ClientIdScheme"
2939
+ }
2940
+ },
2941
+ "required": [
2942
+ "clientId",
2943
+ "clientIdScheme"
2944
+ ]
2945
+ }
2946
+ },
2947
+ "required": [
2948
+ "error",
2949
+ "critical",
2950
+ "message",
2951
+ "verificationTime"
2952
+ ]
2953
+ },
2954
+ "CertificateInfo": {
2955
+ "type": "object",
2956
+ "properties": {
2957
+ "certificate": {},
2958
+ "notBefore": {
2959
+ "type": "string",
2960
+ "format": "date-time"
2961
+ },
2962
+ "notAfter": {
2963
+ "type": "string",
2964
+ "format": "date-time"
2965
+ },
2966
+ "publicKeyJWK": {},
2967
+ "issuer": {
2968
+ "type": "object",
2969
+ "properties": {
2970
+ "dn": {
2971
+ "$ref": "#/components/schemas/DNInfo"
2972
+ }
2973
+ },
2974
+ "required": [
2975
+ "dn"
2976
+ ]
2977
+ },
2978
+ "subject": {
2979
+ "type": "object",
2980
+ "properties": {
2981
+ "dn": {
2982
+ "$ref": "#/components/schemas/DNInfo"
2983
+ },
2984
+ "subjectAlternativeNames": {
2985
+ "type": "array",
2986
+ "items": {
2987
+ "$ref": "#/components/schemas/SubjectAlternativeName"
2988
+ }
2989
+ }
2990
+ },
2991
+ "required": [
2992
+ "dn",
2993
+ "subjectAlternativeNames"
2994
+ ]
2995
+ }
2996
+ },
2997
+ "required": [
2998
+ "notBefore",
2999
+ "notAfter",
3000
+ "issuer",
3001
+ "subject"
3002
+ ]
3003
+ },
3004
+ "DNInfo": {
3005
+ "type": "object",
3006
+ "properties": {
3007
+ "DN": {
3008
+ "type": "string"
3009
+ },
3010
+ "attributes": {
3011
+ "type": "object",
3012
+ "additionalProperties": {
3013
+ "type": "string"
3014
+ }
3015
+ }
3016
+ },
3017
+ "required": [
3018
+ "DN",
3019
+ "attributes"
3020
+ ]
3021
+ },
3022
+ "SubjectAlternativeName": {
3023
+ "type": "object",
3024
+ "properties": {
3025
+ "value": {
3026
+ "type": "string"
3027
+ },
3028
+ "type": {
3029
+ "$ref": "#/components/schemas/SubjectAlternativeGeneralName"
3030
+ }
3031
+ },
3032
+ "required": [
3033
+ "value",
3034
+ "type"
3035
+ ]
3036
+ },
3037
+ "SubjectAlternativeGeneralName": {
3038
+ "type": "number",
3039
+ "enum": [
3040
+ 1,
3041
+ 2,
3042
+ 6,
3043
+ 7
3044
+ ],
3045
+ "description": "otherName [0] OtherName, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }"
3046
+ },
3047
+ "ExternalIdentifierX5cResult": {
3048
+ "type": "object",
3049
+ "properties": {
3050
+ "method": {
3051
+ "type": "string",
3052
+ "const": "x5c"
3053
+ },
3054
+ "jwks": {
3055
+ "type": "array",
3056
+ "items": {
3057
+ "$ref": "#/components/schemas/ExternalJwkInfo"
3058
+ }
3059
+ },
3060
+ "x5c": {
3061
+ "type": "array",
3062
+ "items": {
3063
+ "type": "string"
3064
+ }
3065
+ },
3066
+ "issuerJWK": {
3067
+ "$ref": "#/components/schemas/JWK"
3068
+ },
3069
+ "verificationResult": {
3070
+ "$ref": "#/components/schemas/X509ValidationResult"
3071
+ },
3072
+ "certificates": {
3073
+ "type": "array",
3074
+ "items": {}
3075
+ }
3076
+ },
3077
+ "required": [
3078
+ "certificates",
3079
+ "issuerJWK",
3080
+ "jwks",
3081
+ "method",
3082
+ "x5c"
3083
+ ]
3084
+ }
3085
+ },
3086
+ "methods": {
3087
+ "resolveTrustChain": {
3088
+ "description": "",
3089
+ "arguments": {
3090
+ "$ref": "#/components/schemas/ResolveTrustChainArgs"
3091
+ },
3092
+ "returnType": {
3093
+ "$ref": "#/components/schemas/ResolveTrustChainCallbackResult"
3094
+ }
3095
+ },
3096
+ "signJwt": {
3097
+ "description": "",
3098
+ "arguments": {
3099
+ "$ref": "#/components/schemas/CreateJwsCompactArgs"
3100
+ },
3101
+ "returnType": {
3102
+ "$ref": "#/components/schemas/JwtCompactResult"
3103
+ }
3104
+ },
3105
+ "verifyJwt": {
3106
+ "description": "",
3107
+ "arguments": {
3108
+ "$ref": "#/components/schemas/VerifyJwsArgs"
3109
+ },
3110
+ "returnType": {
3111
+ "$ref": "#/components/schemas/IJwsValidationResult"
3112
+ }
3113
+ }
3114
+ }
3115
+ }
3116
+ }
3117
+ }