@sphereon/ssi-sdk-ext.identifier-resolution 0.28.0 → 0.28.1-feature.esm.cjs.9

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 +636 -710
  10. package/src/agent/IdentifierResolution.ts +39 -35
  11. package/src/functions/externalIdentifierFunctions.ts +21 -14
  12. package/src/functions/externalOIDFIdentifier.ts +6 -3
  13. package/src/functions/managedIdentifierFunctions.ts +7 -6
  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 +1 -1
  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 -106
  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 -359
  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 -114
  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",
@@ -1062,55 +1353,6 @@
1062
1353
  ],
1063
1354
  "description": "Represents an endpoint of a Service entry in a DID document."
1064
1355
  },
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
- },
1114
1356
  "DIDResolutionMetadata": {
1115
1357
  "type": "object",
1116
1358
  "properties": {
@@ -1191,150 +1433,6 @@
1191
1433
  "id"
1192
1434
  ]
1193
1435
  },
1194
- "X509ValidationResult": {
1195
- "type": "object",
1196
- "properties": {
1197
- "error": {
1198
- "type": "boolean"
1199
- },
1200
- "critical": {
1201
- "type": "boolean"
1202
- },
1203
- "message": {
1204
- "type": "string"
1205
- },
1206
- "detailMessage": {
1207
- "type": "string"
1208
- },
1209
- "verificationTime": {
1210
- "type": "string",
1211
- "format": "date-time"
1212
- },
1213
- "certificateChain": {
1214
- "type": "array",
1215
- "items": {
1216
- "$ref": "#/components/schemas/CertificateInfo"
1217
- }
1218
- },
1219
- "trustAnchor": {
1220
- "$ref": "#/components/schemas/CertificateInfo"
1221
- },
1222
- "client": {
1223
- "type": "object",
1224
- "properties": {
1225
- "clientId": {
1226
- "type": "string"
1227
- },
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"
1274
- },
1275
- "subjectAlternativeNames": {
1276
- "type": "array",
1277
- "items": {
1278
- "$ref": "#/components/schemas/SubjectAlternativeName"
1279
- }
1280
- }
1281
- },
1282
- "required": [
1283
- "dn",
1284
- "subjectAlternativeNames"
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
1436
  "ExternalIdentifierX5cResult": {
1339
1437
  "type": "object",
1340
1438
  "properties": {
@@ -1358,7 +1456,251 @@
1358
1456
  "$ref": "#/components/schemas/JWK"
1359
1457
  },
1360
1458
  "verificationResult": {
1361
- "$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
+ ]
1362
1704
  },
1363
1705
  "certificates": {
1364
1706
  "type": "array",
@@ -1608,7 +1950,53 @@
1608
1950
  "$ref": "#/components/schemas/DIDDocument"
1609
1951
  },
1610
1952
  "didJwks": {
1611
- "$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
+ ]
1612
2000
  },
1613
2001
  "didResolutionResult": {
1614
2002
  "type": "object",
@@ -1794,18 +2182,7 @@
1794
2182
  "type": "string"
1795
2183
  },
1796
2184
  "clientIdScheme": {
1797
- "anyOf": [
1798
- {
1799
- "$ref": "#/components/schemas/ClientIdScheme"
1800
- },
1801
- {
1802
- "type": "string",
1803
- "const": "did"
1804
- },
1805
- {
1806
- "type": "string"
1807
- }
1808
- ]
2185
+ "type": "string"
1809
2186
  },
1810
2187
  "identifier": {
1811
2188
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1864,18 +2241,7 @@
1864
2241
  "type": "string"
1865
2242
  },
1866
2243
  "clientIdScheme": {
1867
- "anyOf": [
1868
- {
1869
- "$ref": "#/components/schemas/ClientIdScheme"
1870
- },
1871
- {
1872
- "type": "string",
1873
- "const": "did"
1874
- },
1875
- {
1876
- "type": "string"
1877
- }
1878
- ]
2244
+ "type": "string"
1879
2245
  },
1880
2246
  "identifier": {
1881
2247
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1944,18 +2310,7 @@
1944
2310
  "type": "string"
1945
2311
  },
1946
2312
  "clientIdScheme": {
1947
- "anyOf": [
1948
- {
1949
- "$ref": "#/components/schemas/ClientIdScheme"
1950
- },
1951
- {
1952
- "type": "string",
1953
- "const": "did"
1954
- },
1955
- {
1956
- "type": "string"
1957
- }
1958
- ]
2313
+ "type": "string"
1959
2314
  },
1960
2315
  "identifier": {
1961
2316
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2005,18 +2360,7 @@
2005
2360
  "type": "string"
2006
2361
  },
2007
2362
  "clientIdScheme": {
2008
- "anyOf": [
2009
- {
2010
- "$ref": "#/components/schemas/ClientIdScheme"
2011
- },
2012
- {
2013
- "type": "string",
2014
- "const": "did"
2015
- },
2016
- {
2017
- "type": "string"
2018
- }
2019
- ]
2363
+ "type": "string"
2020
2364
  },
2021
2365
  "identifier": {
2022
2366
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2067,18 +2411,7 @@
2067
2411
  "type": "string"
2068
2412
  },
2069
2413
  "clientIdScheme": {
2070
- "anyOf": [
2071
- {
2072
- "$ref": "#/components/schemas/ClientIdScheme"
2073
- },
2074
- {
2075
- "type": "string",
2076
- "const": "did"
2077
- },
2078
- {
2079
- "type": "string"
2080
- }
2081
- ]
2414
+ "type": "string"
2082
2415
  },
2083
2416
  "identifier": {
2084
2417
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2128,18 +2461,7 @@
2128
2461
  "type": "string"
2129
2462
  },
2130
2463
  "clientIdScheme": {
2131
- "anyOf": [
2132
- {
2133
- "$ref": "#/components/schemas/ClientIdScheme"
2134
- },
2135
- {
2136
- "type": "string",
2137
- "const": "did"
2138
- },
2139
- {
2140
- "type": "string"
2141
- }
2142
- ]
2464
+ "type": "string"
2143
2465
  },
2144
2466
  "identifier": {
2145
2467
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2189,18 +2511,7 @@
2189
2511
  "type": "string"
2190
2512
  },
2191
2513
  "clientIdScheme": {
2192
- "anyOf": [
2193
- {
2194
- "$ref": "#/components/schemas/ClientIdScheme"
2195
- },
2196
- {
2197
- "type": "string",
2198
- "const": "did"
2199
- },
2200
- {
2201
- "type": "string"
2202
- }
2203
- ]
2514
+ "type": "string"
2204
2515
  },
2205
2516
  "identifier": {
2206
2517
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -2242,18 +2553,7 @@
2242
2553
  "type": "string"
2243
2554
  },
2244
2555
  "clientIdScheme": {
2245
- "anyOf": [
2246
- {
2247
- "$ref": "#/components/schemas/ClientIdScheme"
2248
- },
2249
- {
2250
- "type": "string",
2251
- "const": "did"
2252
- },
2253
- {
2254
- "type": "string"
2255
- }
2256
- ]
2556
+ "type": "string"
2257
2557
  }
2258
2558
  },
2259
2559
  "required": [
@@ -2289,18 +2589,7 @@
2289
2589
  "type": "string"
2290
2590
  },
2291
2591
  "clientIdScheme": {
2292
- "anyOf": [
2293
- {
2294
- "$ref": "#/components/schemas/ClientIdScheme"
2295
- },
2296
- {
2297
- "type": "string",
2298
- "const": "did"
2299
- },
2300
- {
2301
- "type": "string"
2302
- }
2303
- ]
2592
+ "type": "string"
2304
2593
  }
2305
2594
  },
2306
2595
  "required": [
@@ -2340,18 +2629,7 @@
2340
2629
  "type": "string"
2341
2630
  },
2342
2631
  "clientIdScheme": {
2343
- "anyOf": [
2344
- {
2345
- "$ref": "#/components/schemas/ClientIdScheme"
2346
- },
2347
- {
2348
- "type": "string",
2349
- "const": "did"
2350
- },
2351
- {
2352
- "type": "string"
2353
- }
2354
- ]
2632
+ "type": "string"
2355
2633
  },
2356
2634
  "keyType": {
2357
2635
  "$ref": "#/components/schemas/TKeyType"
@@ -2399,18 +2677,7 @@
2399
2677
  "type": "string"
2400
2678
  },
2401
2679
  "clientIdScheme": {
2402
- "anyOf": [
2403
- {
2404
- "$ref": "#/components/schemas/ClientIdScheme"
2405
- },
2406
- {
2407
- "type": "string",
2408
- "const": "did"
2409
- },
2410
- {
2411
- "type": "string"
2412
- }
2413
- ]
2680
+ "type": "string"
2414
2681
  }
2415
2682
  },
2416
2683
  "required": [
@@ -2443,18 +2710,7 @@
2443
2710
  "type": "string"
2444
2711
  },
2445
2712
  "clientIdScheme": {
2446
- "anyOf": [
2447
- {
2448
- "$ref": "#/components/schemas/ClientIdScheme"
2449
- },
2450
- {
2451
- "type": "string",
2452
- "const": "did"
2453
- },
2454
- {
2455
- "type": "string"
2456
- }
2457
- ]
2713
+ "type": "string"
2458
2714
  }
2459
2715
  },
2460
2716
  "required": [
@@ -2487,18 +2743,7 @@
2487
2743
  "type": "string"
2488
2744
  },
2489
2745
  "clientIdScheme": {
2490
- "anyOf": [
2491
- {
2492
- "$ref": "#/components/schemas/ClientIdScheme"
2493
- },
2494
- {
2495
- "type": "string",
2496
- "const": "did"
2497
- },
2498
- {
2499
- "type": "string"
2500
- }
2501
- ]
2746
+ "type": "string"
2502
2747
  }
2503
2748
  },
2504
2749
  "required": [
@@ -2531,18 +2776,7 @@
2531
2776
  "type": "string"
2532
2777
  },
2533
2778
  "clientIdScheme": {
2534
- "anyOf": [
2535
- {
2536
- "$ref": "#/components/schemas/ClientIdScheme"
2537
- },
2538
- {
2539
- "type": "string",
2540
- "const": "did"
2541
- },
2542
- {
2543
- "type": "string"
2544
- }
2545
- ]
2779
+ "type": "string"
2546
2780
  }
2547
2781
  },
2548
2782
  "required": [
@@ -2588,18 +2822,7 @@
2588
2822
  "type": "string"
2589
2823
  },
2590
2824
  "clientIdScheme": {
2591
- "anyOf": [
2592
- {
2593
- "$ref": "#/components/schemas/ClientIdScheme"
2594
- },
2595
- {
2596
- "type": "string",
2597
- "const": "did"
2598
- },
2599
- {
2600
- "type": "string"
2601
- }
2602
- ]
2825
+ "type": "string"
2603
2826
  }
2604
2827
  },
2605
2828
  "required": [
@@ -2632,18 +2855,7 @@
2632
2855
  "type": "string"
2633
2856
  },
2634
2857
  "clientIdScheme": {
2635
- "anyOf": [
2636
- {
2637
- "$ref": "#/components/schemas/ClientIdScheme"
2638
- },
2639
- {
2640
- "type": "string",
2641
- "const": "did"
2642
- },
2643
- {
2644
- "type": "string"
2645
- }
2646
- ]
2858
+ "type": "string"
2647
2859
  }
2648
2860
  },
2649
2861
  "required": [
@@ -2680,18 +2892,7 @@
2680
2892
  "type": "string"
2681
2893
  },
2682
2894
  "clientIdScheme": {
2683
- "anyOf": [
2684
- {
2685
- "$ref": "#/components/schemas/ClientIdScheme"
2686
- },
2687
- {
2688
- "type": "string",
2689
- "const": "did"
2690
- },
2691
- {
2692
- "type": "string"
2693
- }
2694
- ]
2895
+ "type": "string"
2695
2896
  },
2696
2897
  "keyType": {
2697
2898
  "$ref": "#/components/schemas/TKeyType"
@@ -2736,18 +2937,7 @@
2736
2937
  "type": "string"
2737
2938
  },
2738
2939
  "clientIdScheme": {
2739
- "anyOf": [
2740
- {
2741
- "$ref": "#/components/schemas/ClientIdScheme"
2742
- },
2743
- {
2744
- "type": "string",
2745
- "const": "did"
2746
- },
2747
- {
2748
- "type": "string"
2749
- }
2750
- ]
2940
+ "type": "string"
2751
2941
  }
2752
2942
  },
2753
2943
  "required": [
@@ -2777,18 +2967,7 @@
2777
2967
  "type": "string"
2778
2968
  },
2779
2969
  "clientIdScheme": {
2780
- "anyOf": [
2781
- {
2782
- "$ref": "#/components/schemas/ClientIdScheme"
2783
- },
2784
- {
2785
- "type": "string",
2786
- "const": "did"
2787
- },
2788
- {
2789
- "type": "string"
2790
- }
2791
- ]
2970
+ "type": "string"
2792
2971
  }
2793
2972
  },
2794
2973
  "required": [
@@ -2818,18 +2997,7 @@
2818
2997
  "type": "string"
2819
2998
  },
2820
2999
  "clientIdScheme": {
2821
- "anyOf": [
2822
- {
2823
- "$ref": "#/components/schemas/ClientIdScheme"
2824
- },
2825
- {
2826
- "type": "string",
2827
- "const": "did"
2828
- },
2829
- {
2830
- "type": "string"
2831
- }
2832
- ]
3000
+ "type": "string"
2833
3001
  }
2834
3002
  },
2835
3003
  "required": [
@@ -2859,18 +3027,7 @@
2859
3027
  "type": "string"
2860
3028
  },
2861
3029
  "clientIdScheme": {
2862
- "anyOf": [
2863
- {
2864
- "$ref": "#/components/schemas/ClientIdScheme"
2865
- },
2866
- {
2867
- "type": "string",
2868
- "const": "did"
2869
- },
2870
- {
2871
- "type": "string"
2872
- }
2873
- ]
3030
+ "type": "string"
2874
3031
  }
2875
3032
  },
2876
3033
  "required": [
@@ -3096,18 +3253,7 @@
3096
3253
  "type": "string"
3097
3254
  },
3098
3255
  "clientIdScheme": {
3099
- "anyOf": [
3100
- {
3101
- "$ref": "#/components/schemas/ClientIdScheme"
3102
- },
3103
- {
3104
- "type": "string",
3105
- "const": "did"
3106
- },
3107
- {
3108
- "type": "string"
3109
- }
3110
- ]
3256
+ "type": "string"
3111
3257
  },
3112
3258
  "identifier": {
3113
3259
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3163,18 +3309,7 @@
3163
3309
  "type": "string"
3164
3310
  },
3165
3311
  "clientIdScheme": {
3166
- "anyOf": [
3167
- {
3168
- "$ref": "#/components/schemas/ClientIdScheme"
3169
- },
3170
- {
3171
- "type": "string",
3172
- "const": "did"
3173
- },
3174
- {
3175
- "type": "string"
3176
- }
3177
- ]
3312
+ "type": "string"
3178
3313
  },
3179
3314
  "identifier": {
3180
3315
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3240,18 +3375,7 @@
3240
3375
  "type": "string"
3241
3376
  },
3242
3377
  "clientIdScheme": {
3243
- "anyOf": [
3244
- {
3245
- "$ref": "#/components/schemas/ClientIdScheme"
3246
- },
3247
- {
3248
- "type": "string",
3249
- "const": "did"
3250
- },
3251
- {
3252
- "type": "string"
3253
- }
3254
- ]
3378
+ "type": "string"
3255
3379
  },
3256
3380
  "identifier": {
3257
3381
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3298,18 +3422,7 @@
3298
3422
  "type": "string"
3299
3423
  },
3300
3424
  "clientIdScheme": {
3301
- "anyOf": [
3302
- {
3303
- "$ref": "#/components/schemas/ClientIdScheme"
3304
- },
3305
- {
3306
- "type": "string",
3307
- "const": "did"
3308
- },
3309
- {
3310
- "type": "string"
3311
- }
3312
- ]
3425
+ "type": "string"
3313
3426
  },
3314
3427
  "identifier": {
3315
3428
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3357,18 +3470,7 @@
3357
3470
  "type": "string"
3358
3471
  },
3359
3472
  "clientIdScheme": {
3360
- "anyOf": [
3361
- {
3362
- "$ref": "#/components/schemas/ClientIdScheme"
3363
- },
3364
- {
3365
- "type": "string",
3366
- "const": "did"
3367
- },
3368
- {
3369
- "type": "string"
3370
- }
3371
- ]
3473
+ "type": "string"
3372
3474
  },
3373
3475
  "identifier": {
3374
3476
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3415,18 +3517,7 @@
3415
3517
  "type": "string"
3416
3518
  },
3417
3519
  "clientIdScheme": {
3418
- "anyOf": [
3419
- {
3420
- "$ref": "#/components/schemas/ClientIdScheme"
3421
- },
3422
- {
3423
- "type": "string",
3424
- "const": "did"
3425
- },
3426
- {
3427
- "type": "string"
3428
- }
3429
- ]
3520
+ "type": "string"
3430
3521
  },
3431
3522
  "identifier": {
3432
3523
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3473,18 +3564,7 @@
3473
3564
  "type": "string"
3474
3565
  },
3475
3566
  "clientIdScheme": {
3476
- "anyOf": [
3477
- {
3478
- "$ref": "#/components/schemas/ClientIdScheme"
3479
- },
3480
- {
3481
- "type": "string",
3482
- "const": "did"
3483
- },
3484
- {
3485
- "type": "string"
3486
- }
3487
- ]
3567
+ "type": "string"
3488
3568
  },
3489
3569
  "identifier": {
3490
3570
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -3525,18 +3605,7 @@
3525
3605
  "type": "string"
3526
3606
  },
3527
3607
  "clientIdScheme": {
3528
- "anyOf": [
3529
- {
3530
- "$ref": "#/components/schemas/ClientIdScheme"
3531
- },
3532
- {
3533
- "type": "string",
3534
- "const": "did"
3535
- },
3536
- {
3537
- "type": "string"
3538
- }
3539
- ]
3608
+ "type": "string"
3540
3609
  }
3541
3610
  },
3542
3611
  "required": [
@@ -3575,18 +3644,7 @@
3575
3644
  "type": "string"
3576
3645
  },
3577
3646
  "clientIdScheme": {
3578
- "anyOf": [
3579
- {
3580
- "$ref": "#/components/schemas/ClientIdScheme"
3581
- },
3582
- {
3583
- "type": "string",
3584
- "const": "did"
3585
- },
3586
- {
3587
- "type": "string"
3588
- }
3589
- ]
3647
+ "type": "string"
3590
3648
  },
3591
3649
  "identifier": {
3592
3650
  "$ref": "#/components/schemas/ICoseKeyJson"
@@ -3647,18 +3705,7 @@
3647
3705
  "type": "string"
3648
3706
  },
3649
3707
  "clientIdScheme": {
3650
- "anyOf": [
3651
- {
3652
- "$ref": "#/components/schemas/ClientIdScheme"
3653
- },
3654
- {
3655
- "type": "string",
3656
- "const": "did"
3657
- },
3658
- {
3659
- "type": "string"
3660
- }
3661
- ]
3708
+ "type": "string"
3662
3709
  }
3663
3710
  },
3664
3711
  "required": [
@@ -3697,18 +3744,7 @@
3697
3744
  "type": "string"
3698
3745
  },
3699
3746
  "clientIdScheme": {
3700
- "anyOf": [
3701
- {
3702
- "$ref": "#/components/schemas/ClientIdScheme"
3703
- },
3704
- {
3705
- "type": "string",
3706
- "const": "did"
3707
- },
3708
- {
3709
- "type": "string"
3710
- }
3711
- ]
3747
+ "type": "string"
3712
3748
  },
3713
3749
  "identifier": {
3714
3750
  "$ref": "#/components/schemas/IIdentifier"
@@ -3766,18 +3802,7 @@
3766
3802
  "type": "string"
3767
3803
  },
3768
3804
  "clientIdScheme": {
3769
- "anyOf": [
3770
- {
3771
- "$ref": "#/components/schemas/ClientIdScheme"
3772
- },
3773
- {
3774
- "type": "string",
3775
- "const": "did"
3776
- },
3777
- {
3778
- "type": "string"
3779
- }
3780
- ]
3805
+ "type": "string"
3781
3806
  }
3782
3807
  },
3783
3808
  "required": [
@@ -3816,18 +3841,7 @@
3816
3841
  "type": "string"
3817
3842
  },
3818
3843
  "clientIdScheme": {
3819
- "anyOf": [
3820
- {
3821
- "$ref": "#/components/schemas/ClientIdScheme"
3822
- },
3823
- {
3824
- "type": "string",
3825
- "const": "did"
3826
- },
3827
- {
3828
- "type": "string"
3829
- }
3830
- ]
3844
+ "type": "string"
3831
3845
  },
3832
3846
  "identifier": {
3833
3847
  "$ref": "#/components/schemas/JWK"
@@ -3866,18 +3880,7 @@
3866
3880
  "type": "string"
3867
3881
  },
3868
3882
  "clientIdScheme": {
3869
- "anyOf": [
3870
- {
3871
- "$ref": "#/components/schemas/ClientIdScheme"
3872
- },
3873
- {
3874
- "type": "string",
3875
- "const": "did"
3876
- },
3877
- {
3878
- "type": "string"
3879
- }
3880
- ]
3883
+ "type": "string"
3881
3884
  }
3882
3885
  },
3883
3886
  "required": [
@@ -3916,18 +3919,7 @@
3916
3919
  "type": "string"
3917
3920
  },
3918
3921
  "clientIdScheme": {
3919
- "anyOf": [
3920
- {
3921
- "$ref": "#/components/schemas/ClientIdScheme"
3922
- },
3923
- {
3924
- "type": "string",
3925
- "const": "did"
3926
- },
3927
- {
3928
- "type": "string"
3929
- }
3930
- ]
3922
+ "type": "string"
3931
3923
  },
3932
3924
  "identifier": {
3933
3925
  "$ref": "#/components/schemas/IKey"
@@ -3966,18 +3958,7 @@
3966
3958
  "type": "string"
3967
3959
  },
3968
3960
  "clientIdScheme": {
3969
- "anyOf": [
3970
- {
3971
- "$ref": "#/components/schemas/ClientIdScheme"
3972
- },
3973
- {
3974
- "type": "string",
3975
- "const": "did"
3976
- },
3977
- {
3978
- "type": "string"
3979
- }
3980
- ]
3961
+ "type": "string"
3981
3962
  }
3982
3963
  },
3983
3964
  "required": [
@@ -4016,18 +3997,7 @@
4016
3997
  "type": "string"
4017
3998
  },
4018
3999
  "clientIdScheme": {
4019
- "anyOf": [
4020
- {
4021
- "$ref": "#/components/schemas/ClientIdScheme"
4022
- },
4023
- {
4024
- "type": "string",
4025
- "const": "did"
4026
- },
4027
- {
4028
- "type": "string"
4029
- }
4030
- ]
4000
+ "type": "string"
4031
4001
  },
4032
4002
  "identifier": {
4033
4003
  "type": "string"
@@ -4067,18 +4037,7 @@
4067
4037
  "type": "string"
4068
4038
  },
4069
4039
  "clientIdScheme": {
4070
- "anyOf": [
4071
- {
4072
- "$ref": "#/components/schemas/ClientIdScheme"
4073
- },
4074
- {
4075
- "type": "string",
4076
- "const": "did"
4077
- },
4078
- {
4079
- "type": "string"
4080
- }
4081
- ]
4040
+ "type": "string"
4082
4041
  }
4083
4042
  },
4084
4043
  "required": [
@@ -4117,18 +4076,7 @@
4117
4076
  "type": "string"
4118
4077
  },
4119
4078
  "clientIdScheme": {
4120
- "anyOf": [
4121
- {
4122
- "$ref": "#/components/schemas/ClientIdScheme"
4123
- },
4124
- {
4125
- "type": "string",
4126
- "const": "did"
4127
- },
4128
- {
4129
- "type": "string"
4130
- }
4131
- ]
4079
+ "type": "string"
4132
4080
  },
4133
4081
  "identifier": {
4134
4082
  "type": "string"
@@ -4170,18 +4118,7 @@
4170
4118
  "type": "string"
4171
4119
  },
4172
4120
  "clientIdScheme": {
4173
- "anyOf": [
4174
- {
4175
- "$ref": "#/components/schemas/ClientIdScheme"
4176
- },
4177
- {
4178
- "type": "string",
4179
- "const": "did"
4180
- },
4181
- {
4182
- "type": "string"
4183
- }
4184
- ]
4121
+ "type": "string"
4185
4122
  }
4186
4123
  },
4187
4124
  "required": [
@@ -4220,18 +4157,7 @@
4220
4157
  "type": "string"
4221
4158
  },
4222
4159
  "clientIdScheme": {
4223
- "anyOf": [
4224
- {
4225
- "$ref": "#/components/schemas/ClientIdScheme"
4226
- },
4227
- {
4228
- "type": "string",
4229
- "const": "did"
4230
- },
4231
- {
4232
- "type": "string"
4233
- }
4234
- ]
4160
+ "type": "string"
4235
4161
  },
4236
4162
  "identifier": {
4237
4163
  "type": "array",