@sphereon/ssi-sdk-ext.identifier-resolution 0.27.1-next.6 → 0.28.1-feature.esm.cjs.11

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.
Files changed (62) hide show
  1. package/dist/index.cjs +5336 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +439 -0
  4. package/dist/index.d.ts +434 -7
  5. package/dist/index.js +5333 -27
  6. package/dist/index.js.map +1 -1
  7. package/dist/tsdoc-metadata.json +1 -1
  8. package/package.json +34 -22
  9. package/plugin.schema.json +679 -710
  10. package/src/agent/IdentifierResolution.ts +36 -35
  11. package/src/functions/externalIdentifierFunctions.ts +21 -14
  12. package/src/functions/externalOIDFIdentifier.ts +7 -2
  13. package/src/functions/managedIdentifierFunctions.ts +22 -8
  14. package/src/index.ts +1 -1
  15. package/src/types/IIdentifierResolution.ts +1 -1
  16. package/src/types/IJwtService.d.ts +3 -2
  17. package/src/types/externalIdentifierTypes.ts +2 -0
  18. package/dist/agent/IdentifierResolution.d.ts +0 -38
  19. package/dist/agent/IdentifierResolution.d.ts.map +0 -1
  20. package/dist/agent/IdentifierResolution.js +0 -123
  21. package/dist/agent/IdentifierResolution.js.map +0 -1
  22. package/dist/functions/LegacySupport.d.ts +0 -12
  23. package/dist/functions/LegacySupport.d.ts.map +0 -1
  24. package/dist/functions/LegacySupport.js +0 -39
  25. package/dist/functions/LegacySupport.js.map +0 -1
  26. package/dist/functions/externalIdentifierFunctions.d.ts +0 -26
  27. package/dist/functions/externalIdentifierFunctions.d.ts.map +0 -1
  28. package/dist/functions/externalIdentifierFunctions.js +0 -250
  29. package/dist/functions/externalIdentifierFunctions.js.map +0 -1
  30. package/dist/functions/externalOIDFIdentifier.d.ts +0 -19
  31. package/dist/functions/externalOIDFIdentifier.d.ts.map +0 -1
  32. package/dist/functions/externalOIDFIdentifier.js +0 -80
  33. package/dist/functions/externalOIDFIdentifier.js.map +0 -1
  34. package/dist/functions/index.d.ts +0 -5
  35. package/dist/functions/index.d.ts.map +0 -1
  36. package/dist/functions/index.js +0 -21
  37. package/dist/functions/index.js.map +0 -1
  38. package/dist/functions/managedIdentifierFunctions.d.ts +0 -38
  39. package/dist/functions/managedIdentifierFunctions.d.ts.map +0 -1
  40. package/dist/functions/managedIdentifierFunctions.js +0 -346
  41. package/dist/functions/managedIdentifierFunctions.js.map +0 -1
  42. package/dist/index.d.ts.map +0 -1
  43. package/dist/types/IIdentifierResolution.d.ts +0 -42
  44. package/dist/types/IIdentifierResolution.d.ts.map +0 -1
  45. package/dist/types/IIdentifierResolution.js +0 -21
  46. package/dist/types/IIdentifierResolution.js.map +0 -1
  47. package/dist/types/common.d.ts +0 -20
  48. package/dist/types/common.d.ts.map +0 -1
  49. package/dist/types/common.js +0 -51
  50. package/dist/types/common.js.map +0 -1
  51. package/dist/types/externalIdentifierTypes.d.ts +0 -112
  52. package/dist/types/externalIdentifierTypes.d.ts.map +0 -1
  53. package/dist/types/externalIdentifierTypes.js +0 -44
  54. package/dist/types/externalIdentifierTypes.js.map +0 -1
  55. package/dist/types/index.d.ts +0 -5
  56. package/dist/types/index.d.ts.map +0 -1
  57. package/dist/types/index.js +0 -21
  58. package/dist/types/index.js.map +0 -1
  59. package/dist/types/managedIdentifierTypes.d.ts +0 -122
  60. package/dist/types/managedIdentifierTypes.d.ts.map +0 -1
  61. package/dist/types/managedIdentifierTypes.js +0 -63
  62. package/dist/types/managedIdentifierTypes.js.map +0 -1
@@ -70,7 +70,11 @@
70
70
  "type": "string"
71
71
  },
72
72
  "clientIdScheme": {
73
- "$ref": "#/components/schemas/ClientIdScheme"
73
+ "type": "string",
74
+ "enum": [
75
+ "x509_san_dns",
76
+ "x509_san_uri"
77
+ ]
74
78
  }
75
79
  },
76
80
  "required": [
@@ -476,7 +480,11 @@
476
480
  "type": "string"
477
481
  },
478
482
  "clientIdScheme": {
479
- "$ref": "#/components/schemas/ClientIdScheme"
483
+ "type": "string",
484
+ "enum": [
485
+ "x509_san_dns",
486
+ "x509_san_uri"
487
+ ]
480
488
  }
481
489
  },
482
490
  "required": [
@@ -489,13 +497,6 @@
489
497
  "identifier"
490
498
  ]
491
499
  },
492
- "ClientIdScheme": {
493
- "type": "string",
494
- "enum": [
495
- "x509_san_dns",
496
- "x509_san_uri"
497
- ]
498
- },
499
500
  "DIDDocumentSection": {
500
501
  "type": "string",
501
502
  "enum": [
@@ -531,7 +532,53 @@
531
532
  "$ref": "#/components/schemas/DIDDocument"
532
533
  },
533
534
  "didJwks": {
534
- "$ref": "#/components/schemas/DidDocumentJwks"
535
+ "type": "object",
536
+ "properties": {
537
+ "verificationMethod": {
538
+ "type": "array",
539
+ "items": {
540
+ "$ref": "#/components/schemas/JWK"
541
+ }
542
+ },
543
+ "authentication": {
544
+ "type": "array",
545
+ "items": {
546
+ "$ref": "#/components/schemas/JWK"
547
+ }
548
+ },
549
+ "assertionMethod": {
550
+ "type": "array",
551
+ "items": {
552
+ "$ref": "#/components/schemas/JWK"
553
+ }
554
+ },
555
+ "keyAgreement": {
556
+ "type": "array",
557
+ "items": {
558
+ "$ref": "#/components/schemas/JWK"
559
+ }
560
+ },
561
+ "capabilityInvocation": {
562
+ "type": "array",
563
+ "items": {
564
+ "$ref": "#/components/schemas/JWK"
565
+ }
566
+ },
567
+ "capabilityDelegation": {
568
+ "type": "array",
569
+ "items": {
570
+ "$ref": "#/components/schemas/JWK"
571
+ }
572
+ }
573
+ },
574
+ "required": [
575
+ "verificationMethod",
576
+ "authentication",
577
+ "assertionMethod",
578
+ "keyAgreement",
579
+ "capabilityInvocation",
580
+ "capabilityDelegation"
581
+ ]
535
582
  },
536
583
  "didResolutionResult": {
537
584
  "type": "object",
@@ -599,7 +646,251 @@
599
646
  "$ref": "#/components/schemas/JWK"
600
647
  },
601
648
  "verificationResult": {
602
- "$ref": "#/components/schemas/X509ValidationResult"
649
+ "type": "object",
650
+ "properties": {
651
+ "error": {
652
+ "type": "boolean"
653
+ },
654
+ "critical": {
655
+ "type": "boolean"
656
+ },
657
+ "message": {
658
+ "type": "string"
659
+ },
660
+ "detailMessage": {
661
+ "type": "string"
662
+ },
663
+ "verificationTime": {
664
+ "type": "string",
665
+ "format": "date-time"
666
+ },
667
+ "certificateChain": {
668
+ "type": "array",
669
+ "items": {
670
+ "type": "object",
671
+ "properties": {
672
+ "certificate": {},
673
+ "notBefore": {
674
+ "type": "string",
675
+ "format": "date-time"
676
+ },
677
+ "notAfter": {
678
+ "type": "string",
679
+ "format": "date-time"
680
+ },
681
+ "publicKeyJWK": {},
682
+ "issuer": {
683
+ "type": "object",
684
+ "properties": {
685
+ "dn": {
686
+ "type": "object",
687
+ "properties": {
688
+ "DN": {
689
+ "type": "string"
690
+ },
691
+ "attributes": {
692
+ "type": "object",
693
+ "additionalProperties": {
694
+ "type": "string"
695
+ }
696
+ }
697
+ },
698
+ "required": [
699
+ "DN",
700
+ "attributes"
701
+ ]
702
+ }
703
+ },
704
+ "required": [
705
+ "dn"
706
+ ]
707
+ },
708
+ "subject": {
709
+ "type": "object",
710
+ "properties": {
711
+ "dn": {
712
+ "type": "object",
713
+ "properties": {
714
+ "DN": {
715
+ "type": "string"
716
+ },
717
+ "attributes": {
718
+ "type": "object",
719
+ "additionalProperties": {
720
+ "type": "string"
721
+ }
722
+ }
723
+ },
724
+ "required": [
725
+ "DN",
726
+ "attributes"
727
+ ]
728
+ },
729
+ "subjectAlternativeNames": {
730
+ "type": "array",
731
+ "items": {
732
+ "type": "object",
733
+ "properties": {
734
+ "value": {
735
+ "type": "string"
736
+ },
737
+ "type": {
738
+ "type": "number",
739
+ "enum": [
740
+ 1,
741
+ 2,
742
+ 6,
743
+ 7
744
+ ],
745
+ "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 }"
746
+ }
747
+ },
748
+ "required": [
749
+ "value",
750
+ "type"
751
+ ]
752
+ }
753
+ }
754
+ },
755
+ "required": [
756
+ "dn",
757
+ "subjectAlternativeNames"
758
+ ]
759
+ }
760
+ },
761
+ "required": [
762
+ "notBefore",
763
+ "notAfter",
764
+ "issuer",
765
+ "subject"
766
+ ]
767
+ }
768
+ },
769
+ "trustAnchor": {
770
+ "type": "object",
771
+ "properties": {
772
+ "certificate": {},
773
+ "notBefore": {
774
+ "type": "string",
775
+ "format": "date-time"
776
+ },
777
+ "notAfter": {
778
+ "type": "string",
779
+ "format": "date-time"
780
+ },
781
+ "publicKeyJWK": {},
782
+ "issuer": {
783
+ "type": "object",
784
+ "properties": {
785
+ "dn": {
786
+ "type": "object",
787
+ "properties": {
788
+ "DN": {
789
+ "type": "string"
790
+ },
791
+ "attributes": {
792
+ "type": "object",
793
+ "additionalProperties": {
794
+ "type": "string"
795
+ }
796
+ }
797
+ },
798
+ "required": [
799
+ "DN",
800
+ "attributes"
801
+ ]
802
+ }
803
+ },
804
+ "required": [
805
+ "dn"
806
+ ]
807
+ },
808
+ "subject": {
809
+ "type": "object",
810
+ "properties": {
811
+ "dn": {
812
+ "type": "object",
813
+ "properties": {
814
+ "DN": {
815
+ "type": "string"
816
+ },
817
+ "attributes": {
818
+ "type": "object",
819
+ "additionalProperties": {
820
+ "type": "string"
821
+ }
822
+ }
823
+ },
824
+ "required": [
825
+ "DN",
826
+ "attributes"
827
+ ]
828
+ },
829
+ "subjectAlternativeNames": {
830
+ "type": "array",
831
+ "items": {
832
+ "type": "object",
833
+ "properties": {
834
+ "value": {
835
+ "type": "string"
836
+ },
837
+ "type": {
838
+ "type": "number",
839
+ "enum": [
840
+ 1,
841
+ 2,
842
+ 6,
843
+ 7
844
+ ],
845
+ "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 }"
846
+ }
847
+ },
848
+ "required": [
849
+ "value",
850
+ "type"
851
+ ]
852
+ }
853
+ }
854
+ },
855
+ "required": [
856
+ "dn",
857
+ "subjectAlternativeNames"
858
+ ]
859
+ }
860
+ },
861
+ "required": [
862
+ "notBefore",
863
+ "notAfter",
864
+ "issuer",
865
+ "subject"
866
+ ]
867
+ },
868
+ "client": {
869
+ "type": "object",
870
+ "properties": {
871
+ "clientId": {
872
+ "type": "string"
873
+ },
874
+ "clientIdScheme": {
875
+ "type": "string",
876
+ "enum": [
877
+ "x509_san_dns",
878
+ "x509_san_uri"
879
+ ]
880
+ }
881
+ },
882
+ "required": [
883
+ "clientId",
884
+ "clientIdScheme"
885
+ ]
886
+ }
887
+ },
888
+ "required": [
889
+ "error",
890
+ "critical",
891
+ "message",
892
+ "verificationTime"
893
+ ]
603
894
  },
604
895
  "certificates": {
605
896
  "type": "array",
@@ -663,6 +954,9 @@
663
954
  "$ref": "#/components/schemas/ErrorMessage"
664
955
  }
665
956
  },
957
+ "jwtPayload": {
958
+ "$ref": "#/components/schemas/JwsPayload"
959
+ },
666
960
  "trustEstablished": {
667
961
  "type": "boolean"
668
962
  }
@@ -1059,55 +1353,6 @@
1059
1353
  ],
1060
1354
  "description": "Represents an endpoint of a Service entry in a DID document."
1061
1355
  },
1062
- "DidDocumentJwks": {
1063
- "type": "object",
1064
- "properties": {
1065
- "verificationMethod": {
1066
- "type": "array",
1067
- "items": {
1068
- "$ref": "#/components/schemas/JWK"
1069
- }
1070
- },
1071
- "authentication": {
1072
- "type": "array",
1073
- "items": {
1074
- "$ref": "#/components/schemas/JWK"
1075
- }
1076
- },
1077
- "assertionMethod": {
1078
- "type": "array",
1079
- "items": {
1080
- "$ref": "#/components/schemas/JWK"
1081
- }
1082
- },
1083
- "keyAgreement": {
1084
- "type": "array",
1085
- "items": {
1086
- "$ref": "#/components/schemas/JWK"
1087
- }
1088
- },
1089
- "capabilityInvocation": {
1090
- "type": "array",
1091
- "items": {
1092
- "$ref": "#/components/schemas/JWK"
1093
- }
1094
- },
1095
- "capabilityDelegation": {
1096
- "type": "array",
1097
- "items": {
1098
- "$ref": "#/components/schemas/JWK"
1099
- }
1100
- }
1101
- },
1102
- "required": [
1103
- "verificationMethod",
1104
- "authentication",
1105
- "assertionMethod",
1106
- "keyAgreement",
1107
- "capabilityInvocation",
1108
- "capabilityDelegation"
1109
- ]
1110
- },
1111
1356
  "DIDResolutionMetadata": {
1112
1357
  "type": "object",
1113
1358
  "properties": {
@@ -1188,150 +1433,6 @@
1188
1433
  "id"
1189
1434
  ]
1190
1435
  },
1191
- "X509ValidationResult": {
1192
- "type": "object",
1193
- "properties": {
1194
- "error": {
1195
- "type": "boolean"
1196
- },
1197
- "critical": {
1198
- "type": "boolean"
1199
- },
1200
- "message": {
1201
- "type": "string"
1202
- },
1203
- "detailMessage": {
1204
- "type": "string"
1205
- },
1206
- "verificationTime": {
1207
- "type": "string",
1208
- "format": "date-time"
1209
- },
1210
- "certificateChain": {
1211
- "type": "array",
1212
- "items": {
1213
- "$ref": "#/components/schemas/CertificateInfo"
1214
- }
1215
- },
1216
- "trustAnchor": {
1217
- "$ref": "#/components/schemas/CertificateInfo"
1218
- },
1219
- "client": {
1220
- "type": "object",
1221
- "properties": {
1222
- "clientId": {
1223
- "type": "string"
1224
- },
1225
- "clientIdScheme": {
1226
- "$ref": "#/components/schemas/ClientIdScheme"
1227
- }
1228
- },
1229
- "required": [
1230
- "clientId",
1231
- "clientIdScheme"
1232
- ]
1233
- }
1234
- },
1235
- "required": [
1236
- "error",
1237
- "critical",
1238
- "message",
1239
- "verificationTime"
1240
- ]
1241
- },
1242
- "CertificateInfo": {
1243
- "type": "object",
1244
- "properties": {
1245
- "certificate": {},
1246
- "notBefore": {
1247
- "type": "string",
1248
- "format": "date-time"
1249
- },
1250
- "notAfter": {
1251
- "type": "string",
1252
- "format": "date-time"
1253
- },
1254
- "publicKeyJWK": {},
1255
- "issuer": {
1256
- "type": "object",
1257
- "properties": {
1258
- "dn": {
1259
- "$ref": "#/components/schemas/DNInfo"
1260
- }
1261
- },
1262
- "required": [
1263
- "dn"
1264
- ]
1265
- },
1266
- "subject": {
1267
- "type": "object",
1268
- "properties": {
1269
- "dn": {
1270
- "$ref": "#/components/schemas/DNInfo"
1271
- },
1272
- "subjectAlternativeNames": {
1273
- "type": "array",
1274
- "items": {
1275
- "$ref": "#/components/schemas/SubjectAlternativeName"
1276
- }
1277
- }
1278
- },
1279
- "required": [
1280
- "dn",
1281
- "subjectAlternativeNames"
1282
- ]
1283
- }
1284
- },
1285
- "required": [
1286
- "notBefore",
1287
- "notAfter",
1288
- "issuer",
1289
- "subject"
1290
- ]
1291
- },
1292
- "DNInfo": {
1293
- "type": "object",
1294
- "properties": {
1295
- "DN": {
1296
- "type": "string"
1297
- },
1298
- "attributes": {
1299
- "type": "object",
1300
- "additionalProperties": {
1301
- "type": "string"
1302
- }
1303
- }
1304
- },
1305
- "required": [
1306
- "DN",
1307
- "attributes"
1308
- ]
1309
- },
1310
- "SubjectAlternativeName": {
1311
- "type": "object",
1312
- "properties": {
1313
- "value": {
1314
- "type": "string"
1315
- },
1316
- "type": {
1317
- "$ref": "#/components/schemas/SubjectAlternativeGeneralName"
1318
- }
1319
- },
1320
- "required": [
1321
- "value",
1322
- "type"
1323
- ]
1324
- },
1325
- "SubjectAlternativeGeneralName": {
1326
- "type": "number",
1327
- "enum": [
1328
- 1,
1329
- 2,
1330
- 6,
1331
- 7
1332
- ],
1333
- "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 }"
1334
- },
1335
1436
  "ExternalIdentifierX5cResult": {
1336
1437
  "type": "object",
1337
1438
  "properties": {
@@ -1355,7 +1456,251 @@
1355
1456
  "$ref": "#/components/schemas/JWK"
1356
1457
  },
1357
1458
  "verificationResult": {
1358
- "$ref": "#/components/schemas/X509ValidationResult"
1459
+ "type": "object",
1460
+ "properties": {
1461
+ "error": {
1462
+ "type": "boolean"
1463
+ },
1464
+ "critical": {
1465
+ "type": "boolean"
1466
+ },
1467
+ "message": {
1468
+ "type": "string"
1469
+ },
1470
+ "detailMessage": {
1471
+ "type": "string"
1472
+ },
1473
+ "verificationTime": {
1474
+ "type": "string",
1475
+ "format": "date-time"
1476
+ },
1477
+ "certificateChain": {
1478
+ "type": "array",
1479
+ "items": {
1480
+ "type": "object",
1481
+ "properties": {
1482
+ "certificate": {},
1483
+ "notBefore": {
1484
+ "type": "string",
1485
+ "format": "date-time"
1486
+ },
1487
+ "notAfter": {
1488
+ "type": "string",
1489
+ "format": "date-time"
1490
+ },
1491
+ "publicKeyJWK": {},
1492
+ "issuer": {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "dn": {
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "DN": {
1499
+ "type": "string"
1500
+ },
1501
+ "attributes": {
1502
+ "type": "object",
1503
+ "additionalProperties": {
1504
+ "type": "string"
1505
+ }
1506
+ }
1507
+ },
1508
+ "required": [
1509
+ "DN",
1510
+ "attributes"
1511
+ ]
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "dn"
1516
+ ]
1517
+ },
1518
+ "subject": {
1519
+ "type": "object",
1520
+ "properties": {
1521
+ "dn": {
1522
+ "type": "object",
1523
+ "properties": {
1524
+ "DN": {
1525
+ "type": "string"
1526
+ },
1527
+ "attributes": {
1528
+ "type": "object",
1529
+ "additionalProperties": {
1530
+ "type": "string"
1531
+ }
1532
+ }
1533
+ },
1534
+ "required": [
1535
+ "DN",
1536
+ "attributes"
1537
+ ]
1538
+ },
1539
+ "subjectAlternativeNames": {
1540
+ "type": "array",
1541
+ "items": {
1542
+ "type": "object",
1543
+ "properties": {
1544
+ "value": {
1545
+ "type": "string"
1546
+ },
1547
+ "type": {
1548
+ "type": "number",
1549
+ "enum": [
1550
+ 1,
1551
+ 2,
1552
+ 6,
1553
+ 7
1554
+ ],
1555
+ "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 }"
1556
+ }
1557
+ },
1558
+ "required": [
1559
+ "value",
1560
+ "type"
1561
+ ]
1562
+ }
1563
+ }
1564
+ },
1565
+ "required": [
1566
+ "dn",
1567
+ "subjectAlternativeNames"
1568
+ ]
1569
+ }
1570
+ },
1571
+ "required": [
1572
+ "notBefore",
1573
+ "notAfter",
1574
+ "issuer",
1575
+ "subject"
1576
+ ]
1577
+ }
1578
+ },
1579
+ "trustAnchor": {
1580
+ "type": "object",
1581
+ "properties": {
1582
+ "certificate": {},
1583
+ "notBefore": {
1584
+ "type": "string",
1585
+ "format": "date-time"
1586
+ },
1587
+ "notAfter": {
1588
+ "type": "string",
1589
+ "format": "date-time"
1590
+ },
1591
+ "publicKeyJWK": {},
1592
+ "issuer": {
1593
+ "type": "object",
1594
+ "properties": {
1595
+ "dn": {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "DN": {
1599
+ "type": "string"
1600
+ },
1601
+ "attributes": {
1602
+ "type": "object",
1603
+ "additionalProperties": {
1604
+ "type": "string"
1605
+ }
1606
+ }
1607
+ },
1608
+ "required": [
1609
+ "DN",
1610
+ "attributes"
1611
+ ]
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "dn"
1616
+ ]
1617
+ },
1618
+ "subject": {
1619
+ "type": "object",
1620
+ "properties": {
1621
+ "dn": {
1622
+ "type": "object",
1623
+ "properties": {
1624
+ "DN": {
1625
+ "type": "string"
1626
+ },
1627
+ "attributes": {
1628
+ "type": "object",
1629
+ "additionalProperties": {
1630
+ "type": "string"
1631
+ }
1632
+ }
1633
+ },
1634
+ "required": [
1635
+ "DN",
1636
+ "attributes"
1637
+ ]
1638
+ },
1639
+ "subjectAlternativeNames": {
1640
+ "type": "array",
1641
+ "items": {
1642
+ "type": "object",
1643
+ "properties": {
1644
+ "value": {
1645
+ "type": "string"
1646
+ },
1647
+ "type": {
1648
+ "type": "number",
1649
+ "enum": [
1650
+ 1,
1651
+ 2,
1652
+ 6,
1653
+ 7
1654
+ ],
1655
+ "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 }"
1656
+ }
1657
+ },
1658
+ "required": [
1659
+ "value",
1660
+ "type"
1661
+ ]
1662
+ }
1663
+ }
1664
+ },
1665
+ "required": [
1666
+ "dn",
1667
+ "subjectAlternativeNames"
1668
+ ]
1669
+ }
1670
+ },
1671
+ "required": [
1672
+ "notBefore",
1673
+ "notAfter",
1674
+ "issuer",
1675
+ "subject"
1676
+ ]
1677
+ },
1678
+ "client": {
1679
+ "type": "object",
1680
+ "properties": {
1681
+ "clientId": {
1682
+ "type": "string"
1683
+ },
1684
+ "clientIdScheme": {
1685
+ "type": "string",
1686
+ "enum": [
1687
+ "x509_san_dns",
1688
+ "x509_san_uri"
1689
+ ]
1690
+ }
1691
+ },
1692
+ "required": [
1693
+ "clientId",
1694
+ "clientIdScheme"
1695
+ ]
1696
+ }
1697
+ },
1698
+ "required": [
1699
+ "error",
1700
+ "critical",
1701
+ "message",
1702
+ "verificationTime"
1703
+ ]
1359
1704
  },
1360
1705
  "certificates": {
1361
1706
  "type": "array",
@@ -1376,6 +1721,43 @@
1376
1721
  "ErrorMessage": {
1377
1722
  "type": "string"
1378
1723
  },
1724
+ "JwsPayload": {
1725
+ "type": "object",
1726
+ "additionalProperties": {},
1727
+ "properties": {
1728
+ "iss": {
1729
+ "type": "string"
1730
+ },
1731
+ "sub": {
1732
+ "type": "string"
1733
+ },
1734
+ "aud": {
1735
+ "anyOf": [
1736
+ {
1737
+ "type": "array",
1738
+ "items": {
1739
+ "type": "string"
1740
+ }
1741
+ },
1742
+ {
1743
+ "type": "string"
1744
+ }
1745
+ ]
1746
+ },
1747
+ "exp": {
1748
+ "type": "number"
1749
+ },
1750
+ "nbf": {
1751
+ "type": "number"
1752
+ },
1753
+ "iat": {
1754
+ "type": "number"
1755
+ },
1756
+ "jti": {
1757
+ "type": "string"
1758
+ }
1759
+ }
1760
+ },
1379
1761
  "ICoseKeyJson": {
1380
1762
  "type": "object",
1381
1763
  "properties": {
@@ -1568,7 +1950,53 @@
1568
1950
  "$ref": "#/components/schemas/DIDDocument"
1569
1951
  },
1570
1952
  "didJwks": {
1571
- "$ref": "#/components/schemas/DidDocumentJwks"
1953
+ "type": "object",
1954
+ "properties": {
1955
+ "verificationMethod": {
1956
+ "type": "array",
1957
+ "items": {
1958
+ "$ref": "#/components/schemas/JWK"
1959
+ }
1960
+ },
1961
+ "authentication": {
1962
+ "type": "array",
1963
+ "items": {
1964
+ "$ref": "#/components/schemas/JWK"
1965
+ }
1966
+ },
1967
+ "assertionMethod": {
1968
+ "type": "array",
1969
+ "items": {
1970
+ "$ref": "#/components/schemas/JWK"
1971
+ }
1972
+ },
1973
+ "keyAgreement": {
1974
+ "type": "array",
1975
+ "items": {
1976
+ "$ref": "#/components/schemas/JWK"
1977
+ }
1978
+ },
1979
+ "capabilityInvocation": {
1980
+ "type": "array",
1981
+ "items": {
1982
+ "$ref": "#/components/schemas/JWK"
1983
+ }
1984
+ },
1985
+ "capabilityDelegation": {
1986
+ "type": "array",
1987
+ "items": {
1988
+ "$ref": "#/components/schemas/JWK"
1989
+ }
1990
+ }
1991
+ },
1992
+ "required": [
1993
+ "verificationMethod",
1994
+ "authentication",
1995
+ "assertionMethod",
1996
+ "keyAgreement",
1997
+ "capabilityInvocation",
1998
+ "capabilityDelegation"
1999
+ ]
1572
2000
  },
1573
2001
  "didResolutionResult": {
1574
2002
  "type": "object",
@@ -1704,6 +2132,9 @@
1704
2132
  "$ref": "#/components/schemas/ErrorMessage"
1705
2133
  }
1706
2134
  },
2135
+ "jwtPayload": {
2136
+ "$ref": "#/components/schemas/JwsPayload"
2137
+ },
1707
2138
  "trustEstablished": {
1708
2139
  "type": "boolean"
1709
2140
  }
@@ -1751,18 +2182,7 @@
1751
2182
  "type": "string"
1752
2183
  },
1753
2184
  "clientIdScheme": {
1754
- "anyOf": [
1755
- {
1756
- "$ref": "#/components/schemas/ClientIdScheme"
1757
- },
1758
- {
1759
- "type": "string",
1760
- "const": "did"
1761
- },
1762
- {
1763
- "type": "string"
1764
- }
1765
- ]
2185
+ "type": "string"
1766
2186
  },
1767
2187
  "identifier": {
1768
2188
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1821,18 +2241,7 @@
1821
2241
  "type": "string"
1822
2242
  },
1823
2243
  "clientIdScheme": {
1824
- "anyOf": [
1825
- {
1826
- "$ref": "#/components/schemas/ClientIdScheme"
1827
- },
1828
- {
1829
- "type": "string",
1830
- "const": "did"
1831
- },
1832
- {
1833
- "type": "string"
1834
- }
1835
- ]
2244
+ "type": "string"
1836
2245
  },
1837
2246
  "identifier": {
1838
2247
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1901,18 +2310,7 @@
1901
2310
  "type": "string"
1902
2311
  },
1903
2312
  "clientIdScheme": {
1904
- "anyOf": [
1905
- {
1906
- "$ref": "#/components/schemas/ClientIdScheme"
1907
- },
1908
- {
1909
- "type": "string",
1910
- "const": "did"
1911
- },
1912
- {
1913
- "type": "string"
1914
- }
1915
- ]
2313
+ "type": "string"
1916
2314
  },
1917
2315
  "identifier": {
1918
2316
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1962,18 +2360,7 @@
1962
2360
  "type": "string"
1963
2361
  },
1964
2362
  "clientIdScheme": {
1965
- "anyOf": [
1966
- {
1967
- "$ref": "#/components/schemas/ClientIdScheme"
1968
- },
1969
- {
1970
- "type": "string",
1971
- "const": "did"
1972
- },
1973
- {
1974
- "type": "string"
1975
- }
1976
- ]
2363
+ "type": "string"
1977
2364
  },
1978
2365
  "identifier": {
1979
2366
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2024,18 +2411,7 @@
2024
2411
  "type": "string"
2025
2412
  },
2026
2413
  "clientIdScheme": {
2027
- "anyOf": [
2028
- {
2029
- "$ref": "#/components/schemas/ClientIdScheme"
2030
- },
2031
- {
2032
- "type": "string",
2033
- "const": "did"
2034
- },
2035
- {
2036
- "type": "string"
2037
- }
2038
- ]
2414
+ "type": "string"
2039
2415
  },
2040
2416
  "identifier": {
2041
2417
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2085,18 +2461,7 @@
2085
2461
  "type": "string"
2086
2462
  },
2087
2463
  "clientIdScheme": {
2088
- "anyOf": [
2089
- {
2090
- "$ref": "#/components/schemas/ClientIdScheme"
2091
- },
2092
- {
2093
- "type": "string",
2094
- "const": "did"
2095
- },
2096
- {
2097
- "type": "string"
2098
- }
2099
- ]
2464
+ "type": "string"
2100
2465
  },
2101
2466
  "identifier": {
2102
2467
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2146,18 +2511,7 @@
2146
2511
  "type": "string"
2147
2512
  },
2148
2513
  "clientIdScheme": {
2149
- "anyOf": [
2150
- {
2151
- "$ref": "#/components/schemas/ClientIdScheme"
2152
- },
2153
- {
2154
- "type": "string",
2155
- "const": "did"
2156
- },
2157
- {
2158
- "type": "string"
2159
- }
2160
- ]
2514
+ "type": "string"
2161
2515
  },
2162
2516
  "identifier": {
2163
2517
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2199,18 +2553,7 @@
2199
2553
  "type": "string"
2200
2554
  },
2201
2555
  "clientIdScheme": {
2202
- "anyOf": [
2203
- {
2204
- "$ref": "#/components/schemas/ClientIdScheme"
2205
- },
2206
- {
2207
- "type": "string",
2208
- "const": "did"
2209
- },
2210
- {
2211
- "type": "string"
2212
- }
2213
- ]
2556
+ "type": "string"
2214
2557
  }
2215
2558
  },
2216
2559
  "required": [
@@ -2246,18 +2589,7 @@
2246
2589
  "type": "string"
2247
2590
  },
2248
2591
  "clientIdScheme": {
2249
- "anyOf": [
2250
- {
2251
- "$ref": "#/components/schemas/ClientIdScheme"
2252
- },
2253
- {
2254
- "type": "string",
2255
- "const": "did"
2256
- },
2257
- {
2258
- "type": "string"
2259
- }
2260
- ]
2592
+ "type": "string"
2261
2593
  }
2262
2594
  },
2263
2595
  "required": [
@@ -2297,18 +2629,7 @@
2297
2629
  "type": "string"
2298
2630
  },
2299
2631
  "clientIdScheme": {
2300
- "anyOf": [
2301
- {
2302
- "$ref": "#/components/schemas/ClientIdScheme"
2303
- },
2304
- {
2305
- "type": "string",
2306
- "const": "did"
2307
- },
2308
- {
2309
- "type": "string"
2310
- }
2311
- ]
2632
+ "type": "string"
2312
2633
  },
2313
2634
  "keyType": {
2314
2635
  "$ref": "#/components/schemas/TKeyType"
@@ -2356,18 +2677,7 @@
2356
2677
  "type": "string"
2357
2678
  },
2358
2679
  "clientIdScheme": {
2359
- "anyOf": [
2360
- {
2361
- "$ref": "#/components/schemas/ClientIdScheme"
2362
- },
2363
- {
2364
- "type": "string",
2365
- "const": "did"
2366
- },
2367
- {
2368
- "type": "string"
2369
- }
2370
- ]
2680
+ "type": "string"
2371
2681
  }
2372
2682
  },
2373
2683
  "required": [
@@ -2400,18 +2710,7 @@
2400
2710
  "type": "string"
2401
2711
  },
2402
2712
  "clientIdScheme": {
2403
- "anyOf": [
2404
- {
2405
- "$ref": "#/components/schemas/ClientIdScheme"
2406
- },
2407
- {
2408
- "type": "string",
2409
- "const": "did"
2410
- },
2411
- {
2412
- "type": "string"
2413
- }
2414
- ]
2713
+ "type": "string"
2415
2714
  }
2416
2715
  },
2417
2716
  "required": [
@@ -2444,18 +2743,7 @@
2444
2743
  "type": "string"
2445
2744
  },
2446
2745
  "clientIdScheme": {
2447
- "anyOf": [
2448
- {
2449
- "$ref": "#/components/schemas/ClientIdScheme"
2450
- },
2451
- {
2452
- "type": "string",
2453
- "const": "did"
2454
- },
2455
- {
2456
- "type": "string"
2457
- }
2458
- ]
2746
+ "type": "string"
2459
2747
  }
2460
2748
  },
2461
2749
  "required": [
@@ -2488,18 +2776,7 @@
2488
2776
  "type": "string"
2489
2777
  },
2490
2778
  "clientIdScheme": {
2491
- "anyOf": [
2492
- {
2493
- "$ref": "#/components/schemas/ClientIdScheme"
2494
- },
2495
- {
2496
- "type": "string",
2497
- "const": "did"
2498
- },
2499
- {
2500
- "type": "string"
2501
- }
2502
- ]
2779
+ "type": "string"
2503
2780
  }
2504
2781
  },
2505
2782
  "required": [
@@ -2545,18 +2822,7 @@
2545
2822
  "type": "string"
2546
2823
  },
2547
2824
  "clientIdScheme": {
2548
- "anyOf": [
2549
- {
2550
- "$ref": "#/components/schemas/ClientIdScheme"
2551
- },
2552
- {
2553
- "type": "string",
2554
- "const": "did"
2555
- },
2556
- {
2557
- "type": "string"
2558
- }
2559
- ]
2825
+ "type": "string"
2560
2826
  }
2561
2827
  },
2562
2828
  "required": [
@@ -2589,18 +2855,7 @@
2589
2855
  "type": "string"
2590
2856
  },
2591
2857
  "clientIdScheme": {
2592
- "anyOf": [
2593
- {
2594
- "$ref": "#/components/schemas/ClientIdScheme"
2595
- },
2596
- {
2597
- "type": "string",
2598
- "const": "did"
2599
- },
2600
- {
2601
- "type": "string"
2602
- }
2603
- ]
2858
+ "type": "string"
2604
2859
  }
2605
2860
  },
2606
2861
  "required": [
@@ -2637,18 +2892,7 @@
2637
2892
  "type": "string"
2638
2893
  },
2639
2894
  "clientIdScheme": {
2640
- "anyOf": [
2641
- {
2642
- "$ref": "#/components/schemas/ClientIdScheme"
2643
- },
2644
- {
2645
- "type": "string",
2646
- "const": "did"
2647
- },
2648
- {
2649
- "type": "string"
2650
- }
2651
- ]
2895
+ "type": "string"
2652
2896
  },
2653
2897
  "keyType": {
2654
2898
  "$ref": "#/components/schemas/TKeyType"
@@ -2693,18 +2937,7 @@
2693
2937
  "type": "string"
2694
2938
  },
2695
2939
  "clientIdScheme": {
2696
- "anyOf": [
2697
- {
2698
- "$ref": "#/components/schemas/ClientIdScheme"
2699
- },
2700
- {
2701
- "type": "string",
2702
- "const": "did"
2703
- },
2704
- {
2705
- "type": "string"
2706
- }
2707
- ]
2940
+ "type": "string"
2708
2941
  }
2709
2942
  },
2710
2943
  "required": [
@@ -2734,18 +2967,7 @@
2734
2967
  "type": "string"
2735
2968
  },
2736
2969
  "clientIdScheme": {
2737
- "anyOf": [
2738
- {
2739
- "$ref": "#/components/schemas/ClientIdScheme"
2740
- },
2741
- {
2742
- "type": "string",
2743
- "const": "did"
2744
- },
2745
- {
2746
- "type": "string"
2747
- }
2748
- ]
2970
+ "type": "string"
2749
2971
  }
2750
2972
  },
2751
2973
  "required": [
@@ -2775,18 +2997,7 @@
2775
2997
  "type": "string"
2776
2998
  },
2777
2999
  "clientIdScheme": {
2778
- "anyOf": [
2779
- {
2780
- "$ref": "#/components/schemas/ClientIdScheme"
2781
- },
2782
- {
2783
- "type": "string",
2784
- "const": "did"
2785
- },
2786
- {
2787
- "type": "string"
2788
- }
2789
- ]
3000
+ "type": "string"
2790
3001
  }
2791
3002
  },
2792
3003
  "required": [
@@ -2816,18 +3027,7 @@
2816
3027
  "type": "string"
2817
3028
  },
2818
3029
  "clientIdScheme": {
2819
- "anyOf": [
2820
- {
2821
- "$ref": "#/components/schemas/ClientIdScheme"
2822
- },
2823
- {
2824
- "type": "string",
2825
- "const": "did"
2826
- },
2827
- {
2828
- "type": "string"
2829
- }
2830
- ]
3030
+ "type": "string"
2831
3031
  }
2832
3032
  },
2833
3033
  "required": [
@@ -3053,18 +3253,7 @@
3053
3253
  "type": "string"
3054
3254
  },
3055
3255
  "clientIdScheme": {
3056
- "anyOf": [
3057
- {
3058
- "$ref": "#/components/schemas/ClientIdScheme"
3059
- },
3060
- {
3061
- "type": "string",
3062
- "const": "did"
3063
- },
3064
- {
3065
- "type": "string"
3066
- }
3067
- ]
3256
+ "type": "string"
3068
3257
  },
3069
3258
  "identifier": {
3070
3259
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3120,18 +3309,7 @@
3120
3309
  "type": "string"
3121
3310
  },
3122
3311
  "clientIdScheme": {
3123
- "anyOf": [
3124
- {
3125
- "$ref": "#/components/schemas/ClientIdScheme"
3126
- },
3127
- {
3128
- "type": "string",
3129
- "const": "did"
3130
- },
3131
- {
3132
- "type": "string"
3133
- }
3134
- ]
3312
+ "type": "string"
3135
3313
  },
3136
3314
  "identifier": {
3137
3315
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3197,18 +3375,7 @@
3197
3375
  "type": "string"
3198
3376
  },
3199
3377
  "clientIdScheme": {
3200
- "anyOf": [
3201
- {
3202
- "$ref": "#/components/schemas/ClientIdScheme"
3203
- },
3204
- {
3205
- "type": "string",
3206
- "const": "did"
3207
- },
3208
- {
3209
- "type": "string"
3210
- }
3211
- ]
3378
+ "type": "string"
3212
3379
  },
3213
3380
  "identifier": {
3214
3381
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3255,18 +3422,7 @@
3255
3422
  "type": "string"
3256
3423
  },
3257
3424
  "clientIdScheme": {
3258
- "anyOf": [
3259
- {
3260
- "$ref": "#/components/schemas/ClientIdScheme"
3261
- },
3262
- {
3263
- "type": "string",
3264
- "const": "did"
3265
- },
3266
- {
3267
- "type": "string"
3268
- }
3269
- ]
3425
+ "type": "string"
3270
3426
  },
3271
3427
  "identifier": {
3272
3428
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3314,18 +3470,7 @@
3314
3470
  "type": "string"
3315
3471
  },
3316
3472
  "clientIdScheme": {
3317
- "anyOf": [
3318
- {
3319
- "$ref": "#/components/schemas/ClientIdScheme"
3320
- },
3321
- {
3322
- "type": "string",
3323
- "const": "did"
3324
- },
3325
- {
3326
- "type": "string"
3327
- }
3328
- ]
3473
+ "type": "string"
3329
3474
  },
3330
3475
  "identifier": {
3331
3476
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3372,18 +3517,7 @@
3372
3517
  "type": "string"
3373
3518
  },
3374
3519
  "clientIdScheme": {
3375
- "anyOf": [
3376
- {
3377
- "$ref": "#/components/schemas/ClientIdScheme"
3378
- },
3379
- {
3380
- "type": "string",
3381
- "const": "did"
3382
- },
3383
- {
3384
- "type": "string"
3385
- }
3386
- ]
3520
+ "type": "string"
3387
3521
  },
3388
3522
  "identifier": {
3389
3523
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3430,18 +3564,7 @@
3430
3564
  "type": "string"
3431
3565
  },
3432
3566
  "clientIdScheme": {
3433
- "anyOf": [
3434
- {
3435
- "$ref": "#/components/schemas/ClientIdScheme"
3436
- },
3437
- {
3438
- "type": "string",
3439
- "const": "did"
3440
- },
3441
- {
3442
- "type": "string"
3443
- }
3444
- ]
3567
+ "type": "string"
3445
3568
  },
3446
3569
  "identifier": {
3447
3570
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3482,18 +3605,7 @@
3482
3605
  "type": "string"
3483
3606
  },
3484
3607
  "clientIdScheme": {
3485
- "anyOf": [
3486
- {
3487
- "$ref": "#/components/schemas/ClientIdScheme"
3488
- },
3489
- {
3490
- "type": "string",
3491
- "const": "did"
3492
- },
3493
- {
3494
- "type": "string"
3495
- }
3496
- ]
3608
+ "type": "string"
3497
3609
  }
3498
3610
  },
3499
3611
  "required": [
@@ -3532,18 +3644,7 @@
3532
3644
  "type": "string"
3533
3645
  },
3534
3646
  "clientIdScheme": {
3535
- "anyOf": [
3536
- {
3537
- "$ref": "#/components/schemas/ClientIdScheme"
3538
- },
3539
- {
3540
- "type": "string",
3541
- "const": "did"
3542
- },
3543
- {
3544
- "type": "string"
3545
- }
3546
- ]
3647
+ "type": "string"
3547
3648
  },
3548
3649
  "identifier": {
3549
3650
  "$ref": "#/components/schemas/ICoseKeyJson"
@@ -3604,18 +3705,7 @@
3604
3705
  "type": "string"
3605
3706
  },
3606
3707
  "clientIdScheme": {
3607
- "anyOf": [
3608
- {
3609
- "$ref": "#/components/schemas/ClientIdScheme"
3610
- },
3611
- {
3612
- "type": "string",
3613
- "const": "did"
3614
- },
3615
- {
3616
- "type": "string"
3617
- }
3618
- ]
3708
+ "type": "string"
3619
3709
  }
3620
3710
  },
3621
3711
  "required": [
@@ -3654,18 +3744,7 @@
3654
3744
  "type": "string"
3655
3745
  },
3656
3746
  "clientIdScheme": {
3657
- "anyOf": [
3658
- {
3659
- "$ref": "#/components/schemas/ClientIdScheme"
3660
- },
3661
- {
3662
- "type": "string",
3663
- "const": "did"
3664
- },
3665
- {
3666
- "type": "string"
3667
- }
3668
- ]
3747
+ "type": "string"
3669
3748
  },
3670
3749
  "identifier": {
3671
3750
  "$ref": "#/components/schemas/IIdentifier"
@@ -3723,18 +3802,7 @@
3723
3802
  "type": "string"
3724
3803
  },
3725
3804
  "clientIdScheme": {
3726
- "anyOf": [
3727
- {
3728
- "$ref": "#/components/schemas/ClientIdScheme"
3729
- },
3730
- {
3731
- "type": "string",
3732
- "const": "did"
3733
- },
3734
- {
3735
- "type": "string"
3736
- }
3737
- ]
3805
+ "type": "string"
3738
3806
  }
3739
3807
  },
3740
3808
  "required": [
@@ -3773,18 +3841,7 @@
3773
3841
  "type": "string"
3774
3842
  },
3775
3843
  "clientIdScheme": {
3776
- "anyOf": [
3777
- {
3778
- "$ref": "#/components/schemas/ClientIdScheme"
3779
- },
3780
- {
3781
- "type": "string",
3782
- "const": "did"
3783
- },
3784
- {
3785
- "type": "string"
3786
- }
3787
- ]
3844
+ "type": "string"
3788
3845
  },
3789
3846
  "identifier": {
3790
3847
  "$ref": "#/components/schemas/JWK"
@@ -3823,18 +3880,7 @@
3823
3880
  "type": "string"
3824
3881
  },
3825
3882
  "clientIdScheme": {
3826
- "anyOf": [
3827
- {
3828
- "$ref": "#/components/schemas/ClientIdScheme"
3829
- },
3830
- {
3831
- "type": "string",
3832
- "const": "did"
3833
- },
3834
- {
3835
- "type": "string"
3836
- }
3837
- ]
3883
+ "type": "string"
3838
3884
  }
3839
3885
  },
3840
3886
  "required": [
@@ -3873,18 +3919,7 @@
3873
3919
  "type": "string"
3874
3920
  },
3875
3921
  "clientIdScheme": {
3876
- "anyOf": [
3877
- {
3878
- "$ref": "#/components/schemas/ClientIdScheme"
3879
- },
3880
- {
3881
- "type": "string",
3882
- "const": "did"
3883
- },
3884
- {
3885
- "type": "string"
3886
- }
3887
- ]
3922
+ "type": "string"
3888
3923
  },
3889
3924
  "identifier": {
3890
3925
  "$ref": "#/components/schemas/IKey"
@@ -3923,18 +3958,7 @@
3923
3958
  "type": "string"
3924
3959
  },
3925
3960
  "clientIdScheme": {
3926
- "anyOf": [
3927
- {
3928
- "$ref": "#/components/schemas/ClientIdScheme"
3929
- },
3930
- {
3931
- "type": "string",
3932
- "const": "did"
3933
- },
3934
- {
3935
- "type": "string"
3936
- }
3937
- ]
3961
+ "type": "string"
3938
3962
  }
3939
3963
  },
3940
3964
  "required": [
@@ -3973,18 +3997,7 @@
3973
3997
  "type": "string"
3974
3998
  },
3975
3999
  "clientIdScheme": {
3976
- "anyOf": [
3977
- {
3978
- "$ref": "#/components/schemas/ClientIdScheme"
3979
- },
3980
- {
3981
- "type": "string",
3982
- "const": "did"
3983
- },
3984
- {
3985
- "type": "string"
3986
- }
3987
- ]
4000
+ "type": "string"
3988
4001
  },
3989
4002
  "identifier": {
3990
4003
  "type": "string"
@@ -4024,18 +4037,7 @@
4024
4037
  "type": "string"
4025
4038
  },
4026
4039
  "clientIdScheme": {
4027
- "anyOf": [
4028
- {
4029
- "$ref": "#/components/schemas/ClientIdScheme"
4030
- },
4031
- {
4032
- "type": "string",
4033
- "const": "did"
4034
- },
4035
- {
4036
- "type": "string"
4037
- }
4038
- ]
4040
+ "type": "string"
4039
4041
  }
4040
4042
  },
4041
4043
  "required": [
@@ -4074,18 +4076,7 @@
4074
4076
  "type": "string"
4075
4077
  },
4076
4078
  "clientIdScheme": {
4077
- "anyOf": [
4078
- {
4079
- "$ref": "#/components/schemas/ClientIdScheme"
4080
- },
4081
- {
4082
- "type": "string",
4083
- "const": "did"
4084
- },
4085
- {
4086
- "type": "string"
4087
- }
4088
- ]
4079
+ "type": "string"
4089
4080
  },
4090
4081
  "identifier": {
4091
4082
  "type": "string"
@@ -4127,18 +4118,7 @@
4127
4118
  "type": "string"
4128
4119
  },
4129
4120
  "clientIdScheme": {
4130
- "anyOf": [
4131
- {
4132
- "$ref": "#/components/schemas/ClientIdScheme"
4133
- },
4134
- {
4135
- "type": "string",
4136
- "const": "did"
4137
- },
4138
- {
4139
- "type": "string"
4140
- }
4141
- ]
4121
+ "type": "string"
4142
4122
  }
4143
4123
  },
4144
4124
  "required": [
@@ -4177,18 +4157,7 @@
4177
4157
  "type": "string"
4178
4158
  },
4179
4159
  "clientIdScheme": {
4180
- "anyOf": [
4181
- {
4182
- "$ref": "#/components/schemas/ClientIdScheme"
4183
- },
4184
- {
4185
- "type": "string",
4186
- "const": "did"
4187
- },
4188
- {
4189
- "type": "string"
4190
- }
4191
- ]
4160
+ "type": "string"
4192
4161
  },
4193
4162
  "identifier": {
4194
4163
  "type": "array",