@sphereon/ssi-sdk-ext.identifier-resolution 0.28.1-feature.esm.cjs.9 → 0.28.1-feature.oyd.cmsm.improv.16

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/agent/IdentifierResolution.d.ts +38 -0
  2. package/dist/agent/IdentifierResolution.d.ts.map +1 -0
  3. package/dist/agent/IdentifierResolution.js +123 -0
  4. package/dist/agent/IdentifierResolution.js.map +1 -0
  5. package/dist/functions/LegacySupport.d.ts +12 -0
  6. package/dist/functions/LegacySupport.d.ts.map +1 -0
  7. package/dist/functions/LegacySupport.js +39 -0
  8. package/dist/functions/LegacySupport.js.map +1 -0
  9. package/dist/functions/externalIdentifierFunctions.d.ts +26 -0
  10. package/dist/functions/externalIdentifierFunctions.d.ts.map +1 -0
  11. package/dist/functions/externalIdentifierFunctions.js +250 -0
  12. package/dist/functions/externalIdentifierFunctions.js.map +1 -0
  13. package/dist/functions/externalOIDFIdentifier.d.ts +19 -0
  14. package/dist/functions/externalOIDFIdentifier.d.ts.map +1 -0
  15. package/dist/functions/externalOIDFIdentifier.js +106 -0
  16. package/dist/functions/externalOIDFIdentifier.js.map +1 -0
  17. package/dist/functions/index.d.ts +5 -0
  18. package/dist/functions/index.d.ts.map +1 -0
  19. package/dist/functions/index.js +21 -0
  20. package/dist/functions/index.js.map +1 -0
  21. package/dist/functions/managedIdentifierFunctions.d.ts +38 -0
  22. package/dist/functions/managedIdentifierFunctions.d.ts.map +1 -0
  23. package/dist/functions/managedIdentifierFunctions.js +359 -0
  24. package/dist/functions/managedIdentifierFunctions.js.map +1 -0
  25. package/dist/index.d.ts +7 -434
  26. package/dist/index.d.ts.map +1 -0
  27. package/dist/index.js +27 -5333
  28. package/dist/index.js.map +1 -1
  29. package/dist/tsdoc-metadata.json +1 -1
  30. package/dist/types/IIdentifierResolution.d.ts +42 -0
  31. package/dist/types/IIdentifierResolution.d.ts.map +1 -0
  32. package/dist/types/IIdentifierResolution.js +21 -0
  33. package/dist/types/IIdentifierResolution.js.map +1 -0
  34. package/dist/types/common.d.ts +20 -0
  35. package/dist/types/common.d.ts.map +1 -0
  36. package/dist/types/common.js +51 -0
  37. package/dist/types/common.js.map +1 -0
  38. package/dist/types/externalIdentifierTypes.d.ts +114 -0
  39. package/dist/types/externalIdentifierTypes.d.ts.map +1 -0
  40. package/dist/types/externalIdentifierTypes.js +44 -0
  41. package/dist/types/externalIdentifierTypes.js.map +1 -0
  42. package/dist/types/index.d.ts +5 -0
  43. package/dist/types/index.d.ts.map +1 -0
  44. package/dist/types/index.js +21 -0
  45. package/dist/types/index.js.map +1 -0
  46. package/dist/types/managedIdentifierTypes.d.ts +122 -0
  47. package/dist/types/managedIdentifierTypes.d.ts.map +1 -0
  48. package/dist/types/managedIdentifierTypes.js +63 -0
  49. package/dist/types/managedIdentifierTypes.js.map +1 -0
  50. package/package.json +22 -34
  51. package/plugin.schema.json +712 -638
  52. package/src/agent/IdentifierResolution.ts +35 -39
  53. package/src/functions/externalIdentifierFunctions.ts +14 -21
  54. package/src/functions/externalOIDFIdentifier.ts +3 -6
  55. package/src/functions/managedIdentifierFunctions.ts +6 -7
  56. package/src/index.ts +1 -1
  57. package/src/types/IIdentifierResolution.ts +1 -1
  58. package/src/types/IJwtService.d.ts +2 -3
  59. package/src/types/externalIdentifierTypes.ts +1 -1
  60. package/dist/index.cjs +0 -5336
  61. package/dist/index.cjs.map +0 -1
  62. package/dist/index.d.cts +0 -439
@@ -70,11 +70,7 @@
70
70
  "type": "string"
71
71
  },
72
72
  "clientIdScheme": {
73
- "type": "string",
74
- "enum": [
75
- "x509_san_dns",
76
- "x509_san_uri"
77
- ]
73
+ "$ref": "#/components/schemas/ClientIdScheme"
78
74
  }
79
75
  },
80
76
  "required": [
@@ -480,11 +476,7 @@
480
476
  "type": "string"
481
477
  },
482
478
  "clientIdScheme": {
483
- "type": "string",
484
- "enum": [
485
- "x509_san_dns",
486
- "x509_san_uri"
487
- ]
479
+ "$ref": "#/components/schemas/ClientIdScheme"
488
480
  }
489
481
  },
490
482
  "required": [
@@ -497,6 +489,13 @@
497
489
  "identifier"
498
490
  ]
499
491
  },
492
+ "ClientIdScheme": {
493
+ "type": "string",
494
+ "enum": [
495
+ "x509_san_dns",
496
+ "x509_san_uri"
497
+ ]
498
+ },
500
499
  "DIDDocumentSection": {
501
500
  "type": "string",
502
501
  "enum": [
@@ -532,53 +531,7 @@
532
531
  "$ref": "#/components/schemas/DIDDocument"
533
532
  },
534
533
  "didJwks": {
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
- ]
534
+ "$ref": "#/components/schemas/DidDocumentJwks"
582
535
  },
583
536
  "didResolutionResult": {
584
537
  "type": "object",
@@ -646,251 +599,7 @@
646
599
  "$ref": "#/components/schemas/JWK"
647
600
  },
648
601
  "verificationResult": {
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
- ]
602
+ "$ref": "#/components/schemas/X509ValidationResult"
894
603
  },
895
604
  "certificates": {
896
605
  "type": "array",
@@ -1353,6 +1062,55 @@
1353
1062
  ],
1354
1063
  "description": "Represents an endpoint of a Service entry in a DID document."
1355
1064
  },
1065
+ "DidDocumentJwks": {
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "verificationMethod": {
1069
+ "type": "array",
1070
+ "items": {
1071
+ "$ref": "#/components/schemas/JWK"
1072
+ }
1073
+ },
1074
+ "authentication": {
1075
+ "type": "array",
1076
+ "items": {
1077
+ "$ref": "#/components/schemas/JWK"
1078
+ }
1079
+ },
1080
+ "assertionMethod": {
1081
+ "type": "array",
1082
+ "items": {
1083
+ "$ref": "#/components/schemas/JWK"
1084
+ }
1085
+ },
1086
+ "keyAgreement": {
1087
+ "type": "array",
1088
+ "items": {
1089
+ "$ref": "#/components/schemas/JWK"
1090
+ }
1091
+ },
1092
+ "capabilityInvocation": {
1093
+ "type": "array",
1094
+ "items": {
1095
+ "$ref": "#/components/schemas/JWK"
1096
+ }
1097
+ },
1098
+ "capabilityDelegation": {
1099
+ "type": "array",
1100
+ "items": {
1101
+ "$ref": "#/components/schemas/JWK"
1102
+ }
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "verificationMethod",
1107
+ "authentication",
1108
+ "assertionMethod",
1109
+ "keyAgreement",
1110
+ "capabilityInvocation",
1111
+ "capabilityDelegation"
1112
+ ]
1113
+ },
1356
1114
  "DIDResolutionMetadata": {
1357
1115
  "type": "object",
1358
1116
  "properties": {
@@ -1433,274 +1191,174 @@
1433
1191
  "id"
1434
1192
  ]
1435
1193
  },
1436
- "ExternalIdentifierX5cResult": {
1194
+ "X509ValidationResult": {
1437
1195
  "type": "object",
1438
1196
  "properties": {
1439
- "method": {
1440
- "type": "string",
1441
- "const": "x5c"
1197
+ "error": {
1198
+ "type": "boolean"
1442
1199
  },
1443
- "jwks": {
1444
- "type": "array",
1445
- "items": {
1446
- "$ref": "#/components/schemas/ExternalJwkInfo"
1447
- }
1200
+ "critical": {
1201
+ "type": "boolean"
1448
1202
  },
1449
- "x5c": {
1203
+ "message": {
1204
+ "type": "string"
1205
+ },
1206
+ "detailMessage": {
1207
+ "type": "string"
1208
+ },
1209
+ "verificationTime": {
1210
+ "type": "string",
1211
+ "format": "date-time"
1212
+ },
1213
+ "certificateChain": {
1450
1214
  "type": "array",
1451
1215
  "items": {
1452
- "type": "string"
1216
+ "$ref": "#/components/schemas/CertificateInfo"
1453
1217
  }
1454
1218
  },
1455
- "issuerJWK": {
1456
- "$ref": "#/components/schemas/JWK"
1219
+ "trustAnchor": {
1220
+ "$ref": "#/components/schemas/CertificateInfo"
1457
1221
  },
1458
- "verificationResult": {
1222
+ "client": {
1459
1223
  "type": "object",
1460
1224
  "properties": {
1461
- "error": {
1462
- "type": "boolean"
1463
- },
1464
- "critical": {
1465
- "type": "boolean"
1466
- },
1467
- "message": {
1468
- "type": "string"
1469
- },
1470
- "detailMessage": {
1225
+ "clientId": {
1471
1226
  "type": "string"
1472
1227
  },
1473
- "verificationTime": {
1474
- "type": "string",
1475
- "format": "date-time"
1228
+ "clientIdScheme": {
1229
+ "$ref": "#/components/schemas/ClientIdScheme"
1230
+ }
1231
+ },
1232
+ "required": [
1233
+ "clientId",
1234
+ "clientIdScheme"
1235
+ ]
1236
+ }
1237
+ },
1238
+ "required": [
1239
+ "error",
1240
+ "critical",
1241
+ "message",
1242
+ "verificationTime"
1243
+ ]
1244
+ },
1245
+ "CertificateInfo": {
1246
+ "type": "object",
1247
+ "properties": {
1248
+ "certificate": {},
1249
+ "notBefore": {
1250
+ "type": "string",
1251
+ "format": "date-time"
1252
+ },
1253
+ "notAfter": {
1254
+ "type": "string",
1255
+ "format": "date-time"
1256
+ },
1257
+ "publicKeyJWK": {},
1258
+ "issuer": {
1259
+ "type": "object",
1260
+ "properties": {
1261
+ "dn": {
1262
+ "$ref": "#/components/schemas/DNInfo"
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "dn"
1267
+ ]
1268
+ },
1269
+ "subject": {
1270
+ "type": "object",
1271
+ "properties": {
1272
+ "dn": {
1273
+ "$ref": "#/components/schemas/DNInfo"
1476
1274
  },
1477
- "certificateChain": {
1275
+ "subjectAlternativeNames": {
1478
1276
  "type": "array",
1479
1277
  "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
- ]
1278
+ "$ref": "#/components/schemas/SubjectAlternativeName"
1577
1279
  }
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
1280
  }
1697
1281
  },
1698
1282
  "required": [
1699
- "error",
1700
- "critical",
1701
- "message",
1702
- "verificationTime"
1283
+ "dn",
1284
+ "subjectAlternativeNames"
1703
1285
  ]
1286
+ }
1287
+ },
1288
+ "required": [
1289
+ "notBefore",
1290
+ "notAfter",
1291
+ "issuer",
1292
+ "subject"
1293
+ ]
1294
+ },
1295
+ "DNInfo": {
1296
+ "type": "object",
1297
+ "properties": {
1298
+ "DN": {
1299
+ "type": "string"
1300
+ },
1301
+ "attributes": {
1302
+ "type": "object",
1303
+ "additionalProperties": {
1304
+ "type": "string"
1305
+ }
1306
+ }
1307
+ },
1308
+ "required": [
1309
+ "DN",
1310
+ "attributes"
1311
+ ]
1312
+ },
1313
+ "SubjectAlternativeName": {
1314
+ "type": "object",
1315
+ "properties": {
1316
+ "value": {
1317
+ "type": "string"
1318
+ },
1319
+ "type": {
1320
+ "$ref": "#/components/schemas/SubjectAlternativeGeneralName"
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "value",
1325
+ "type"
1326
+ ]
1327
+ },
1328
+ "SubjectAlternativeGeneralName": {
1329
+ "type": "number",
1330
+ "enum": [
1331
+ 1,
1332
+ 2,
1333
+ 6,
1334
+ 7
1335
+ ],
1336
+ "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 }"
1337
+ },
1338
+ "ExternalIdentifierX5cResult": {
1339
+ "type": "object",
1340
+ "properties": {
1341
+ "method": {
1342
+ "type": "string",
1343
+ "const": "x5c"
1344
+ },
1345
+ "jwks": {
1346
+ "type": "array",
1347
+ "items": {
1348
+ "$ref": "#/components/schemas/ExternalJwkInfo"
1349
+ }
1350
+ },
1351
+ "x5c": {
1352
+ "type": "array",
1353
+ "items": {
1354
+ "type": "string"
1355
+ }
1356
+ },
1357
+ "issuerJWK": {
1358
+ "$ref": "#/components/schemas/JWK"
1359
+ },
1360
+ "verificationResult": {
1361
+ "$ref": "#/components/schemas/X509ValidationResult"
1704
1362
  },
1705
1363
  "certificates": {
1706
1364
  "type": "array",
@@ -1950,53 +1608,7 @@
1950
1608
  "$ref": "#/components/schemas/DIDDocument"
1951
1609
  },
1952
1610
  "didJwks": {
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
- ]
1611
+ "$ref": "#/components/schemas/DidDocumentJwks"
2000
1612
  },
2001
1613
  "didResolutionResult": {
2002
1614
  "type": "object",
@@ -2182,7 +1794,18 @@
2182
1794
  "type": "string"
2183
1795
  },
2184
1796
  "clientIdScheme": {
2185
- "type": "string"
1797
+ "anyOf": [
1798
+ {
1799
+ "$ref": "#/components/schemas/ClientIdScheme"
1800
+ },
1801
+ {
1802
+ "type": "string",
1803
+ "const": "did"
1804
+ },
1805
+ {
1806
+ "type": "string"
1807
+ }
1808
+ ]
2186
1809
  },
2187
1810
  "identifier": {
2188
1811
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2241,7 +1864,18 @@
2241
1864
  "type": "string"
2242
1865
  },
2243
1866
  "clientIdScheme": {
2244
- "type": "string"
1867
+ "anyOf": [
1868
+ {
1869
+ "$ref": "#/components/schemas/ClientIdScheme"
1870
+ },
1871
+ {
1872
+ "type": "string",
1873
+ "const": "did"
1874
+ },
1875
+ {
1876
+ "type": "string"
1877
+ }
1878
+ ]
2245
1879
  },
2246
1880
  "identifier": {
2247
1881
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2310,7 +1944,18 @@
2310
1944
  "type": "string"
2311
1945
  },
2312
1946
  "clientIdScheme": {
2313
- "type": "string"
1947
+ "anyOf": [
1948
+ {
1949
+ "$ref": "#/components/schemas/ClientIdScheme"
1950
+ },
1951
+ {
1952
+ "type": "string",
1953
+ "const": "did"
1954
+ },
1955
+ {
1956
+ "type": "string"
1957
+ }
1958
+ ]
2314
1959
  },
2315
1960
  "identifier": {
2316
1961
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2360,7 +2005,18 @@
2360
2005
  "type": "string"
2361
2006
  },
2362
2007
  "clientIdScheme": {
2363
- "type": "string"
2008
+ "anyOf": [
2009
+ {
2010
+ "$ref": "#/components/schemas/ClientIdScheme"
2011
+ },
2012
+ {
2013
+ "type": "string",
2014
+ "const": "did"
2015
+ },
2016
+ {
2017
+ "type": "string"
2018
+ }
2019
+ ]
2364
2020
  },
2365
2021
  "identifier": {
2366
2022
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2411,7 +2067,18 @@
2411
2067
  "type": "string"
2412
2068
  },
2413
2069
  "clientIdScheme": {
2414
- "type": "string"
2070
+ "anyOf": [
2071
+ {
2072
+ "$ref": "#/components/schemas/ClientIdScheme"
2073
+ },
2074
+ {
2075
+ "type": "string",
2076
+ "const": "did"
2077
+ },
2078
+ {
2079
+ "type": "string"
2080
+ }
2081
+ ]
2415
2082
  },
2416
2083
  "identifier": {
2417
2084
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2461,7 +2128,18 @@
2461
2128
  "type": "string"
2462
2129
  },
2463
2130
  "clientIdScheme": {
2464
- "type": "string"
2131
+ "anyOf": [
2132
+ {
2133
+ "$ref": "#/components/schemas/ClientIdScheme"
2134
+ },
2135
+ {
2136
+ "type": "string",
2137
+ "const": "did"
2138
+ },
2139
+ {
2140
+ "type": "string"
2141
+ }
2142
+ ]
2465
2143
  },
2466
2144
  "identifier": {
2467
2145
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2511,7 +2189,18 @@
2511
2189
  "type": "string"
2512
2190
  },
2513
2191
  "clientIdScheme": {
2514
- "type": "string"
2192
+ "anyOf": [
2193
+ {
2194
+ "$ref": "#/components/schemas/ClientIdScheme"
2195
+ },
2196
+ {
2197
+ "type": "string",
2198
+ "const": "did"
2199
+ },
2200
+ {
2201
+ "type": "string"
2202
+ }
2203
+ ]
2515
2204
  },
2516
2205
  "identifier": {
2517
2206
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2553,7 +2242,18 @@
2553
2242
  "type": "string"
2554
2243
  },
2555
2244
  "clientIdScheme": {
2556
- "type": "string"
2245
+ "anyOf": [
2246
+ {
2247
+ "$ref": "#/components/schemas/ClientIdScheme"
2248
+ },
2249
+ {
2250
+ "type": "string",
2251
+ "const": "did"
2252
+ },
2253
+ {
2254
+ "type": "string"
2255
+ }
2256
+ ]
2557
2257
  }
2558
2258
  },
2559
2259
  "required": [
@@ -2589,7 +2289,18 @@
2589
2289
  "type": "string"
2590
2290
  },
2591
2291
  "clientIdScheme": {
2592
- "type": "string"
2292
+ "anyOf": [
2293
+ {
2294
+ "$ref": "#/components/schemas/ClientIdScheme"
2295
+ },
2296
+ {
2297
+ "type": "string",
2298
+ "const": "did"
2299
+ },
2300
+ {
2301
+ "type": "string"
2302
+ }
2303
+ ]
2593
2304
  }
2594
2305
  },
2595
2306
  "required": [
@@ -2629,7 +2340,18 @@
2629
2340
  "type": "string"
2630
2341
  },
2631
2342
  "clientIdScheme": {
2632
- "type": "string"
2343
+ "anyOf": [
2344
+ {
2345
+ "$ref": "#/components/schemas/ClientIdScheme"
2346
+ },
2347
+ {
2348
+ "type": "string",
2349
+ "const": "did"
2350
+ },
2351
+ {
2352
+ "type": "string"
2353
+ }
2354
+ ]
2633
2355
  },
2634
2356
  "keyType": {
2635
2357
  "$ref": "#/components/schemas/TKeyType"
@@ -2677,7 +2399,18 @@
2677
2399
  "type": "string"
2678
2400
  },
2679
2401
  "clientIdScheme": {
2680
- "type": "string"
2402
+ "anyOf": [
2403
+ {
2404
+ "$ref": "#/components/schemas/ClientIdScheme"
2405
+ },
2406
+ {
2407
+ "type": "string",
2408
+ "const": "did"
2409
+ },
2410
+ {
2411
+ "type": "string"
2412
+ }
2413
+ ]
2681
2414
  }
2682
2415
  },
2683
2416
  "required": [
@@ -2710,7 +2443,18 @@
2710
2443
  "type": "string"
2711
2444
  },
2712
2445
  "clientIdScheme": {
2713
- "type": "string"
2446
+ "anyOf": [
2447
+ {
2448
+ "$ref": "#/components/schemas/ClientIdScheme"
2449
+ },
2450
+ {
2451
+ "type": "string",
2452
+ "const": "did"
2453
+ },
2454
+ {
2455
+ "type": "string"
2456
+ }
2457
+ ]
2714
2458
  }
2715
2459
  },
2716
2460
  "required": [
@@ -2743,7 +2487,18 @@
2743
2487
  "type": "string"
2744
2488
  },
2745
2489
  "clientIdScheme": {
2746
- "type": "string"
2490
+ "anyOf": [
2491
+ {
2492
+ "$ref": "#/components/schemas/ClientIdScheme"
2493
+ },
2494
+ {
2495
+ "type": "string",
2496
+ "const": "did"
2497
+ },
2498
+ {
2499
+ "type": "string"
2500
+ }
2501
+ ]
2747
2502
  }
2748
2503
  },
2749
2504
  "required": [
@@ -2776,7 +2531,18 @@
2776
2531
  "type": "string"
2777
2532
  },
2778
2533
  "clientIdScheme": {
2779
- "type": "string"
2534
+ "anyOf": [
2535
+ {
2536
+ "$ref": "#/components/schemas/ClientIdScheme"
2537
+ },
2538
+ {
2539
+ "type": "string",
2540
+ "const": "did"
2541
+ },
2542
+ {
2543
+ "type": "string"
2544
+ }
2545
+ ]
2780
2546
  }
2781
2547
  },
2782
2548
  "required": [
@@ -2822,7 +2588,18 @@
2822
2588
  "type": "string"
2823
2589
  },
2824
2590
  "clientIdScheme": {
2825
- "type": "string"
2591
+ "anyOf": [
2592
+ {
2593
+ "$ref": "#/components/schemas/ClientIdScheme"
2594
+ },
2595
+ {
2596
+ "type": "string",
2597
+ "const": "did"
2598
+ },
2599
+ {
2600
+ "type": "string"
2601
+ }
2602
+ ]
2826
2603
  }
2827
2604
  },
2828
2605
  "required": [
@@ -2855,7 +2632,18 @@
2855
2632
  "type": "string"
2856
2633
  },
2857
2634
  "clientIdScheme": {
2858
- "type": "string"
2635
+ "anyOf": [
2636
+ {
2637
+ "$ref": "#/components/schemas/ClientIdScheme"
2638
+ },
2639
+ {
2640
+ "type": "string",
2641
+ "const": "did"
2642
+ },
2643
+ {
2644
+ "type": "string"
2645
+ }
2646
+ ]
2859
2647
  }
2860
2648
  },
2861
2649
  "required": [
@@ -2892,7 +2680,18 @@
2892
2680
  "type": "string"
2893
2681
  },
2894
2682
  "clientIdScheme": {
2895
- "type": "string"
2683
+ "anyOf": [
2684
+ {
2685
+ "$ref": "#/components/schemas/ClientIdScheme"
2686
+ },
2687
+ {
2688
+ "type": "string",
2689
+ "const": "did"
2690
+ },
2691
+ {
2692
+ "type": "string"
2693
+ }
2694
+ ]
2896
2695
  },
2897
2696
  "keyType": {
2898
2697
  "$ref": "#/components/schemas/TKeyType"
@@ -2937,7 +2736,18 @@
2937
2736
  "type": "string"
2938
2737
  },
2939
2738
  "clientIdScheme": {
2940
- "type": "string"
2739
+ "anyOf": [
2740
+ {
2741
+ "$ref": "#/components/schemas/ClientIdScheme"
2742
+ },
2743
+ {
2744
+ "type": "string",
2745
+ "const": "did"
2746
+ },
2747
+ {
2748
+ "type": "string"
2749
+ }
2750
+ ]
2941
2751
  }
2942
2752
  },
2943
2753
  "required": [
@@ -2967,7 +2777,18 @@
2967
2777
  "type": "string"
2968
2778
  },
2969
2779
  "clientIdScheme": {
2970
- "type": "string"
2780
+ "anyOf": [
2781
+ {
2782
+ "$ref": "#/components/schemas/ClientIdScheme"
2783
+ },
2784
+ {
2785
+ "type": "string",
2786
+ "const": "did"
2787
+ },
2788
+ {
2789
+ "type": "string"
2790
+ }
2791
+ ]
2971
2792
  }
2972
2793
  },
2973
2794
  "required": [
@@ -2997,7 +2818,18 @@
2997
2818
  "type": "string"
2998
2819
  },
2999
2820
  "clientIdScheme": {
3000
- "type": "string"
2821
+ "anyOf": [
2822
+ {
2823
+ "$ref": "#/components/schemas/ClientIdScheme"
2824
+ },
2825
+ {
2826
+ "type": "string",
2827
+ "const": "did"
2828
+ },
2829
+ {
2830
+ "type": "string"
2831
+ }
2832
+ ]
3001
2833
  }
3002
2834
  },
3003
2835
  "required": [
@@ -3027,7 +2859,18 @@
3027
2859
  "type": "string"
3028
2860
  },
3029
2861
  "clientIdScheme": {
3030
- "type": "string"
2862
+ "anyOf": [
2863
+ {
2864
+ "$ref": "#/components/schemas/ClientIdScheme"
2865
+ },
2866
+ {
2867
+ "type": "string",
2868
+ "const": "did"
2869
+ },
2870
+ {
2871
+ "type": "string"
2872
+ }
2873
+ ]
3031
2874
  }
3032
2875
  },
3033
2876
  "required": [
@@ -3253,7 +3096,18 @@
3253
3096
  "type": "string"
3254
3097
  },
3255
3098
  "clientIdScheme": {
3256
- "type": "string"
3099
+ "anyOf": [
3100
+ {
3101
+ "$ref": "#/components/schemas/ClientIdScheme"
3102
+ },
3103
+ {
3104
+ "type": "string",
3105
+ "const": "did"
3106
+ },
3107
+ {
3108
+ "type": "string"
3109
+ }
3110
+ ]
3257
3111
  },
3258
3112
  "identifier": {
3259
3113
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3309,7 +3163,18 @@
3309
3163
  "type": "string"
3310
3164
  },
3311
3165
  "clientIdScheme": {
3312
- "type": "string"
3166
+ "anyOf": [
3167
+ {
3168
+ "$ref": "#/components/schemas/ClientIdScheme"
3169
+ },
3170
+ {
3171
+ "type": "string",
3172
+ "const": "did"
3173
+ },
3174
+ {
3175
+ "type": "string"
3176
+ }
3177
+ ]
3313
3178
  },
3314
3179
  "identifier": {
3315
3180
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3375,7 +3240,18 @@
3375
3240
  "type": "string"
3376
3241
  },
3377
3242
  "clientIdScheme": {
3378
- "type": "string"
3243
+ "anyOf": [
3244
+ {
3245
+ "$ref": "#/components/schemas/ClientIdScheme"
3246
+ },
3247
+ {
3248
+ "type": "string",
3249
+ "const": "did"
3250
+ },
3251
+ {
3252
+ "type": "string"
3253
+ }
3254
+ ]
3379
3255
  },
3380
3256
  "identifier": {
3381
3257
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3422,7 +3298,18 @@
3422
3298
  "type": "string"
3423
3299
  },
3424
3300
  "clientIdScheme": {
3425
- "type": "string"
3301
+ "anyOf": [
3302
+ {
3303
+ "$ref": "#/components/schemas/ClientIdScheme"
3304
+ },
3305
+ {
3306
+ "type": "string",
3307
+ "const": "did"
3308
+ },
3309
+ {
3310
+ "type": "string"
3311
+ }
3312
+ ]
3426
3313
  },
3427
3314
  "identifier": {
3428
3315
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3470,7 +3357,18 @@
3470
3357
  "type": "string"
3471
3358
  },
3472
3359
  "clientIdScheme": {
3473
- "type": "string"
3360
+ "anyOf": [
3361
+ {
3362
+ "$ref": "#/components/schemas/ClientIdScheme"
3363
+ },
3364
+ {
3365
+ "type": "string",
3366
+ "const": "did"
3367
+ },
3368
+ {
3369
+ "type": "string"
3370
+ }
3371
+ ]
3474
3372
  },
3475
3373
  "identifier": {
3476
3374
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3517,7 +3415,18 @@
3517
3415
  "type": "string"
3518
3416
  },
3519
3417
  "clientIdScheme": {
3520
- "type": "string"
3418
+ "anyOf": [
3419
+ {
3420
+ "$ref": "#/components/schemas/ClientIdScheme"
3421
+ },
3422
+ {
3423
+ "type": "string",
3424
+ "const": "did"
3425
+ },
3426
+ {
3427
+ "type": "string"
3428
+ }
3429
+ ]
3521
3430
  },
3522
3431
  "identifier": {
3523
3432
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3564,7 +3473,18 @@
3564
3473
  "type": "string"
3565
3474
  },
3566
3475
  "clientIdScheme": {
3567
- "type": "string"
3476
+ "anyOf": [
3477
+ {
3478
+ "$ref": "#/components/schemas/ClientIdScheme"
3479
+ },
3480
+ {
3481
+ "type": "string",
3482
+ "const": "did"
3483
+ },
3484
+ {
3485
+ "type": "string"
3486
+ }
3487
+ ]
3568
3488
  },
3569
3489
  "identifier": {
3570
3490
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3605,7 +3525,18 @@
3605
3525
  "type": "string"
3606
3526
  },
3607
3527
  "clientIdScheme": {
3608
- "type": "string"
3528
+ "anyOf": [
3529
+ {
3530
+ "$ref": "#/components/schemas/ClientIdScheme"
3531
+ },
3532
+ {
3533
+ "type": "string",
3534
+ "const": "did"
3535
+ },
3536
+ {
3537
+ "type": "string"
3538
+ }
3539
+ ]
3609
3540
  }
3610
3541
  },
3611
3542
  "required": [
@@ -3644,7 +3575,18 @@
3644
3575
  "type": "string"
3645
3576
  },
3646
3577
  "clientIdScheme": {
3647
- "type": "string"
3578
+ "anyOf": [
3579
+ {
3580
+ "$ref": "#/components/schemas/ClientIdScheme"
3581
+ },
3582
+ {
3583
+ "type": "string",
3584
+ "const": "did"
3585
+ },
3586
+ {
3587
+ "type": "string"
3588
+ }
3589
+ ]
3648
3590
  },
3649
3591
  "identifier": {
3650
3592
  "$ref": "#/components/schemas/ICoseKeyJson"
@@ -3705,7 +3647,18 @@
3705
3647
  "type": "string"
3706
3648
  },
3707
3649
  "clientIdScheme": {
3708
- "type": "string"
3650
+ "anyOf": [
3651
+ {
3652
+ "$ref": "#/components/schemas/ClientIdScheme"
3653
+ },
3654
+ {
3655
+ "type": "string",
3656
+ "const": "did"
3657
+ },
3658
+ {
3659
+ "type": "string"
3660
+ }
3661
+ ]
3709
3662
  }
3710
3663
  },
3711
3664
  "required": [
@@ -3744,7 +3697,18 @@
3744
3697
  "type": "string"
3745
3698
  },
3746
3699
  "clientIdScheme": {
3747
- "type": "string"
3700
+ "anyOf": [
3701
+ {
3702
+ "$ref": "#/components/schemas/ClientIdScheme"
3703
+ },
3704
+ {
3705
+ "type": "string",
3706
+ "const": "did"
3707
+ },
3708
+ {
3709
+ "type": "string"
3710
+ }
3711
+ ]
3748
3712
  },
3749
3713
  "identifier": {
3750
3714
  "$ref": "#/components/schemas/IIdentifier"
@@ -3802,7 +3766,18 @@
3802
3766
  "type": "string"
3803
3767
  },
3804
3768
  "clientIdScheme": {
3805
- "type": "string"
3769
+ "anyOf": [
3770
+ {
3771
+ "$ref": "#/components/schemas/ClientIdScheme"
3772
+ },
3773
+ {
3774
+ "type": "string",
3775
+ "const": "did"
3776
+ },
3777
+ {
3778
+ "type": "string"
3779
+ }
3780
+ ]
3806
3781
  }
3807
3782
  },
3808
3783
  "required": [
@@ -3841,7 +3816,18 @@
3841
3816
  "type": "string"
3842
3817
  },
3843
3818
  "clientIdScheme": {
3844
- "type": "string"
3819
+ "anyOf": [
3820
+ {
3821
+ "$ref": "#/components/schemas/ClientIdScheme"
3822
+ },
3823
+ {
3824
+ "type": "string",
3825
+ "const": "did"
3826
+ },
3827
+ {
3828
+ "type": "string"
3829
+ }
3830
+ ]
3845
3831
  },
3846
3832
  "identifier": {
3847
3833
  "$ref": "#/components/schemas/JWK"
@@ -3880,7 +3866,18 @@
3880
3866
  "type": "string"
3881
3867
  },
3882
3868
  "clientIdScheme": {
3883
- "type": "string"
3869
+ "anyOf": [
3870
+ {
3871
+ "$ref": "#/components/schemas/ClientIdScheme"
3872
+ },
3873
+ {
3874
+ "type": "string",
3875
+ "const": "did"
3876
+ },
3877
+ {
3878
+ "type": "string"
3879
+ }
3880
+ ]
3884
3881
  }
3885
3882
  },
3886
3883
  "required": [
@@ -3919,7 +3916,18 @@
3919
3916
  "type": "string"
3920
3917
  },
3921
3918
  "clientIdScheme": {
3922
- "type": "string"
3919
+ "anyOf": [
3920
+ {
3921
+ "$ref": "#/components/schemas/ClientIdScheme"
3922
+ },
3923
+ {
3924
+ "type": "string",
3925
+ "const": "did"
3926
+ },
3927
+ {
3928
+ "type": "string"
3929
+ }
3930
+ ]
3923
3931
  },
3924
3932
  "identifier": {
3925
3933
  "$ref": "#/components/schemas/IKey"
@@ -3958,7 +3966,18 @@
3958
3966
  "type": "string"
3959
3967
  },
3960
3968
  "clientIdScheme": {
3961
- "type": "string"
3969
+ "anyOf": [
3970
+ {
3971
+ "$ref": "#/components/schemas/ClientIdScheme"
3972
+ },
3973
+ {
3974
+ "type": "string",
3975
+ "const": "did"
3976
+ },
3977
+ {
3978
+ "type": "string"
3979
+ }
3980
+ ]
3962
3981
  }
3963
3982
  },
3964
3983
  "required": [
@@ -3997,7 +4016,18 @@
3997
4016
  "type": "string"
3998
4017
  },
3999
4018
  "clientIdScheme": {
4000
- "type": "string"
4019
+ "anyOf": [
4020
+ {
4021
+ "$ref": "#/components/schemas/ClientIdScheme"
4022
+ },
4023
+ {
4024
+ "type": "string",
4025
+ "const": "did"
4026
+ },
4027
+ {
4028
+ "type": "string"
4029
+ }
4030
+ ]
4001
4031
  },
4002
4032
  "identifier": {
4003
4033
  "type": "string"
@@ -4037,7 +4067,18 @@
4037
4067
  "type": "string"
4038
4068
  },
4039
4069
  "clientIdScheme": {
4040
- "type": "string"
4070
+ "anyOf": [
4071
+ {
4072
+ "$ref": "#/components/schemas/ClientIdScheme"
4073
+ },
4074
+ {
4075
+ "type": "string",
4076
+ "const": "did"
4077
+ },
4078
+ {
4079
+ "type": "string"
4080
+ }
4081
+ ]
4041
4082
  }
4042
4083
  },
4043
4084
  "required": [
@@ -4076,7 +4117,18 @@
4076
4117
  "type": "string"
4077
4118
  },
4078
4119
  "clientIdScheme": {
4079
- "type": "string"
4120
+ "anyOf": [
4121
+ {
4122
+ "$ref": "#/components/schemas/ClientIdScheme"
4123
+ },
4124
+ {
4125
+ "type": "string",
4126
+ "const": "did"
4127
+ },
4128
+ {
4129
+ "type": "string"
4130
+ }
4131
+ ]
4080
4132
  },
4081
4133
  "identifier": {
4082
4134
  "type": "string"
@@ -4118,7 +4170,18 @@
4118
4170
  "type": "string"
4119
4171
  },
4120
4172
  "clientIdScheme": {
4121
- "type": "string"
4173
+ "anyOf": [
4174
+ {
4175
+ "$ref": "#/components/schemas/ClientIdScheme"
4176
+ },
4177
+ {
4178
+ "type": "string",
4179
+ "const": "did"
4180
+ },
4181
+ {
4182
+ "type": "string"
4183
+ }
4184
+ ]
4122
4185
  }
4123
4186
  },
4124
4187
  "required": [
@@ -4157,7 +4220,18 @@
4157
4220
  "type": "string"
4158
4221
  },
4159
4222
  "clientIdScheme": {
4160
- "type": "string"
4223
+ "anyOf": [
4224
+ {
4225
+ "$ref": "#/components/schemas/ClientIdScheme"
4226
+ },
4227
+ {
4228
+ "type": "string",
4229
+ "const": "did"
4230
+ },
4231
+ {
4232
+ "type": "string"
4233
+ }
4234
+ ]
4161
4235
  },
4162
4236
  "identifier": {
4163
4237
  "type": "array",