@sphereon/ssi-sdk.credential-validation 0.33.1-feature.vcdm2.tsup.31 → 0.33.1-feature.vcdm2.tsup.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,10 +18,7 @@
18
18
  "$ref": "#/components/schemas/VerificationPolicies"
19
19
  }
20
20
  },
21
- "required": [
22
- "credential",
23
- "fetchRemoteContexts"
24
- ]
21
+ "required": ["credential", "fetchRemoteContexts"]
25
22
  },
26
23
  "OriginalVerifiableCredential": {
27
24
  "anyOf": [
@@ -153,14 +150,7 @@
153
150
  "type": "string"
154
151
  }
155
152
  },
156
- "required": [
157
- "@context",
158
- "credentialSubject",
159
- "issuanceDate",
160
- "issuer",
161
- "proof",
162
- "type"
163
- ]
153
+ "required": ["@context", "credentialSubject", "issuanceDate", "issuer", "proof", "type"]
164
154
  },
165
155
  "IProof": {
166
156
  "type": "object",
@@ -219,12 +209,7 @@
219
209
  }
220
210
  }
221
211
  },
222
- "required": [
223
- "type",
224
- "created",
225
- "proofPurpose",
226
- "verificationMethod"
227
- ]
212
+ "required": ["type", "created", "proofPurpose", "verificationMethod"]
228
213
  },
229
214
  "IProofType": {
230
215
  "type": "string",
@@ -294,9 +279,7 @@
294
279
  "type": "string"
295
280
  }
296
281
  },
297
- "required": [
298
- "id"
299
- ]
282
+ "required": ["id"]
300
283
  },
301
284
  "IIssuerId": {
302
285
  "type": "string"
@@ -308,9 +291,7 @@
308
291
  "type": "string"
309
292
  }
310
293
  },
311
- "required": [
312
- "id"
313
- ]
294
+ "required": ["id"]
314
295
  },
315
296
  "ICredentialStatus": {
316
297
  "type": "object",
@@ -322,10 +303,7 @@
322
303
  "type": "string"
323
304
  }
324
305
  },
325
- "required": [
326
- "id",
327
- "type"
328
- ]
306
+ "required": ["id", "type"]
329
307
  },
330
308
  "CompactJWT": {
331
309
  "type": "string",
@@ -353,14 +331,7 @@
353
331
  "type": "string"
354
332
  }
355
333
  },
356
- "required": [
357
- "vc",
358
- "exp",
359
- "iss",
360
- "nbf",
361
- "sub",
362
- "jti"
363
- ]
334
+ "required": ["vc", "exp", "iss", "nbf", "sub", "jti"]
364
335
  },
365
336
  "SdJwtDecodedVerifiableCredential": {
366
337
  "type": "object",
@@ -413,10 +384,7 @@
413
384
  "type": "string"
414
385
  }
415
386
  },
416
- "required": [
417
- "idx",
418
- "uri"
419
- ]
387
+ "required": ["idx", "uri"]
420
388
  },
421
389
  "sub": {
422
390
  "type": "string"
@@ -440,21 +408,11 @@
440
408
  "not": {}
441
409
  },
442
410
  {
443
- "type": [
444
- "string",
445
- "number",
446
- "boolean",
447
- "object",
448
- "array"
449
- ]
411
+ "type": ["string", "number", "boolean", "object", "array"]
450
412
  }
451
413
  ]
452
414
  },
453
- "required": [
454
- "iat",
455
- "iss",
456
- "vct"
457
- ],
415
+ "required": ["iat", "iss", "vct"],
458
416
  "description": "The signed payload is the payload of the sd-jwt that is actually signed, and that includes the `_sd` and `...` digests."
459
417
  },
460
418
  "decodedPayload": {
@@ -474,19 +432,11 @@
474
432
  "$ref": "#/components/schemas/CompactJWT"
475
433
  }
476
434
  },
477
- "required": [
478
- "header",
479
- "payload"
480
- ],
435
+ "required": ["header", "payload"],
481
436
  "description": "Key binding JWT"
482
437
  }
483
438
  },
484
- "required": [
485
- "compactSdJwtVc",
486
- "disclosures",
487
- "signedPayload",
488
- "decodedPayload"
489
- ],
439
+ "required": ["compactSdJwtVc", "disclosures", "signedPayload", "decodedPayload"],
490
440
  "description": "The decoded SD JWT Verifiable Credential. This representation includes multiple representations of the same SD-JWT, and allows to fully process an SD-JWT, as well as create a presentation SD-JWT (minus the KB-JWT) by removing certain disclosures from the compact SD-JWT.\n\nThis representation is useful as it doesn't require a hasher implementation to match the different digests in the signed SD-JWT payload, with the different disclosures."
491
441
  },
492
442
  "SdJwtDisclosure": {
@@ -502,11 +452,7 @@
502
452
  "type": "string"
503
453
  }
504
454
  },
505
- "required": [
506
- "encoded",
507
- "decoded",
508
- "digest"
509
- ]
455
+ "required": ["encoded", "decoded", "digest"]
510
456
  },
511
457
  "SdJwtDecodedDisclosure": {
512
458
  "anyOf": [
@@ -668,20 +614,13 @@
668
614
  "type": "string"
669
615
  }
670
616
  },
671
- "required": [
672
- "idx",
673
- "uri"
674
- ]
617
+ "required": ["idx", "uri"]
675
618
  },
676
619
  "sub": {
677
620
  "type": "string"
678
621
  }
679
622
  },
680
- "required": [
681
- "vct",
682
- "iss",
683
- "iat"
684
- ],
623
+ "required": ["vct", "iss", "iat"],
685
624
  "additionalProperties": {
686
625
  "anyOf": [
687
626
  {
@@ -730,10 +669,7 @@
730
669
  "type": "string"
731
670
  }
732
671
  },
733
- "required": [
734
- "typ",
735
- "alg"
736
- ]
672
+ "required": ["typ", "alg"]
737
673
  },
738
674
  "SdJwtVcKbJwtPayload": {
739
675
  "type": "object",
@@ -751,12 +687,7 @@
751
687
  "type": "string"
752
688
  }
753
689
  },
754
- "required": [
755
- "iat",
756
- "aud",
757
- "nonce",
758
- "sd_hash"
759
- ],
690
+ "required": ["iat", "aud", "nonce", "sd_hash"],
760
691
  "additionalProperties": {}
761
692
  },
762
693
  "MdocOid4vpIssuerSigned": {
@@ -789,9 +720,7 @@
789
720
  "type": "number"
790
721
  }
791
722
  },
792
- "required": [
793
- "byteLength"
794
- ]
723
+ "required": ["byteLength"]
795
724
  }
796
725
  ]
797
726
  },
@@ -799,10 +728,7 @@
799
728
  "type": "string"
800
729
  }
801
730
  },
802
- "required": [
803
- "data",
804
- "alg"
805
- ],
731
+ "required": ["data", "alg"],
806
732
  "additionalProperties": false
807
733
  }
808
734
  }
@@ -823,18 +749,11 @@
823
749
  "type": "boolean"
824
750
  }
825
751
  },
826
- "required": [
827
- "expirationDate",
828
- "issuanceDate"
829
- ]
752
+ "required": ["expirationDate", "issuanceDate"]
830
753
  },
831
754
  "SchemaValidation": {
832
755
  "type": "string",
833
- "enum": [
834
- "ALWAYS",
835
- "NEVER",
836
- "WHEN_PRESENT"
837
- ]
756
+ "enum": ["ALWAYS", "NEVER", "WHEN_PRESENT"]
838
757
  },
839
758
  "VerificationResult": {
840
759
  "type": "object",
@@ -865,11 +784,7 @@
865
784
  "type": "string"
866
785
  }
867
786
  },
868
- "required": [
869
- "result",
870
- "source",
871
- "subResults"
872
- ]
787
+ "required": ["result", "source", "subResults"]
873
788
  },
874
789
  "WrappedVerifiableCredential": {
875
790
  "anyOf": [
@@ -928,12 +843,7 @@
928
843
  },
929
844
  "format": {
930
845
  "type": "string",
931
- "enum": [
932
- "jwt_vc",
933
- "ldp_vc",
934
- "ldp",
935
- "jwt"
936
- ],
846
+ "enum": ["jwt_vc", "ldp_vc", "ldp", "jwt"],
937
847
  "description": "The claim format, typically used during exchange transport protocols"
938
848
  },
939
849
  "credential": {
@@ -941,13 +851,7 @@
941
851
  "description": "Internal stable representation of a Credential"
942
852
  }
943
853
  },
944
- "required": [
945
- "original",
946
- "decoded",
947
- "type",
948
- "format",
949
- "credential"
950
- ]
854
+ "required": ["original", "decoded", "type", "format", "credential"]
951
855
  },
952
856
  "WrappedSdJwtVerifiableCredential": {
953
857
  "type": "object",
@@ -990,13 +894,7 @@
990
894
  "description": "Internal stable representation of a Credential"
991
895
  }
992
896
  },
993
- "required": [
994
- "original",
995
- "decoded",
996
- "type",
997
- "format",
998
- "credential"
999
- ]
897
+ "required": ["original", "decoded", "type", "format", "credential"]
1000
898
  },
1001
899
  "CompactSdJwtVc": {
1002
900
  "type": "string",
@@ -1043,24 +941,14 @@
1043
941
  "description": "Internal stable representation of a Credential"
1044
942
  }
1045
943
  },
1046
- "required": [
1047
- "original",
1048
- "decoded",
1049
- "type",
1050
- "format",
1051
- "credential"
1052
- ]
944
+ "required": ["original", "decoded", "type", "format", "credential"]
1053
945
  },
1054
946
  "MdocDecodedPayload": {
1055
947
  "type": "object",
1056
948
  "additionalProperties": {
1057
949
  "type": "object",
1058
950
  "additionalProperties": {
1059
- "type": [
1060
- "string",
1061
- "number",
1062
- "boolean"
1063
- ]
951
+ "type": ["string", "number", "boolean"]
1064
952
  }
1065
953
  },
1066
954
  "description": "Record where keys are the namespaces and the values are objects again with the namespace values"
@@ -1122,10 +1010,7 @@
1122
1010
  },
1123
1011
  "format": {
1124
1012
  "type": "string",
1125
- "enum": [
1126
- "jwt_vp",
1127
- "ldp_vp"
1128
- ],
1013
+ "enum": ["jwt_vp", "ldp_vp"],
1129
1014
  "description": "The claim format, typically used during exchange transport protocols"
1130
1015
  },
1131
1016
  "presentation": {
@@ -1140,14 +1025,7 @@
1140
1025
  "description": "Wrapped Verifiable Credentials belonging to the Presentation"
1141
1026
  }
1142
1027
  },
1143
- "required": [
1144
- "original",
1145
- "decoded",
1146
- "type",
1147
- "format",
1148
- "presentation",
1149
- "vcs"
1150
- ]
1028
+ "required": ["original", "decoded", "type", "format", "presentation", "vcs"]
1151
1029
  },
1152
1030
  "W3CVerifiablePresentation": {
1153
1031
  "anyOf": [
@@ -1221,10 +1099,7 @@
1221
1099
  "type": "string"
1222
1100
  }
1223
1101
  },
1224
- "required": [
1225
- "@context",
1226
- "proof"
1227
- ]
1102
+ "required": ["@context", "proof"]
1228
1103
  },
1229
1104
  "PresentationSubmission": {
1230
1105
  "type": "object",
@@ -1245,11 +1120,7 @@
1245
1120
  "description": "List of descriptors of how the claims are being mapped to presentation definition"
1246
1121
  }
1247
1122
  },
1248
- "required": [
1249
- "id",
1250
- "definition_id",
1251
- "descriptor_map"
1252
- ],
1123
+ "required": ["id", "definition_id", "descriptor_map"],
1253
1124
  "description": "It expresses how the inputs are presented as proofs to a Verifier."
1254
1125
  },
1255
1126
  "Descriptor": {
@@ -1271,11 +1142,7 @@
1271
1142
  "description": "The Proof or JWT algorith that the proof is in"
1272
1143
  }
1273
1144
  },
1274
- "required": [
1275
- "id",
1276
- "path",
1277
- "format"
1278
- ],
1145
+ "required": ["id", "path", "format"],
1279
1146
  "description": "descriptor map laying out the structure of the presentation submission."
1280
1147
  },
1281
1148
  "JwtDecodedVerifiablePresentation": {
@@ -1306,16 +1173,7 @@
1306
1173
  "type": "string"
1307
1174
  }
1308
1175
  },
1309
- "required": [
1310
- "vp",
1311
- "exp",
1312
- "iss",
1313
- "nbf",
1314
- "sub",
1315
- "jti",
1316
- "aud",
1317
- "iat"
1318
- ]
1176
+ "required": ["vp", "exp", "iss", "nbf", "sub", "jti", "aud", "iat"]
1319
1177
  },
1320
1178
  "UniformVerifiablePresentation": {
1321
1179
  "type": "object",
@@ -1359,11 +1217,7 @@
1359
1217
  "type": "string"
1360
1218
  }
1361
1219
  },
1362
- "required": [
1363
- "@context",
1364
- "type",
1365
- "verifiableCredential"
1366
- ]
1220
+ "required": ["@context", "type", "verifiableCredential"]
1367
1221
  },
1368
1222
  "WrappedSdJwtVerifiablePresentation": {
1369
1223
  "type": "object",
@@ -1415,14 +1269,7 @@
1415
1269
  "description": "Wrapped Verifiable Credentials belonging to the Presentation. Will always be an array with a single SdJwtVerifiableCredential entry."
1416
1270
  }
1417
1271
  },
1418
- "required": [
1419
- "original",
1420
- "decoded",
1421
- "type",
1422
- "format",
1423
- "presentation",
1424
- "vcs"
1425
- ]
1272
+ "required": ["original", "decoded", "type", "format", "presentation", "vcs"]
1426
1273
  },
1427
1274
  "WrappedMdocPresentation": {
1428
1275
  "type": "object",
@@ -1472,14 +1319,7 @@
1472
1319
  "description": "Wrapped Mdocs belonging to the Presentation. There can be multiple documents in a single device response"
1473
1320
  }
1474
1321
  },
1475
- "required": [
1476
- "original",
1477
- "decoded",
1478
- "type",
1479
- "format",
1480
- "presentation",
1481
- "vcs"
1482
- ]
1322
+ "required": ["original", "decoded", "type", "format", "presentation", "vcs"]
1483
1323
  },
1484
1324
  "MdocDeviceResponse": {
1485
1325
  "$ref": "#/components/schemas/com.sphereon.mdoc.data.device.DeviceResponseCbor"
@@ -1504,9 +1344,7 @@
1504
1344
  "type": "string"
1505
1345
  }
1506
1346
  },
1507
- "required": [
1508
- "result"
1509
- ]
1347
+ "required": ["result"]
1510
1348
  },
1511
1349
  "VerifyMdocCredentialArgs": {
1512
1350
  "type": "object",
@@ -1515,9 +1353,7 @@
1515
1353
  "type": "string"
1516
1354
  }
1517
1355
  },
1518
- "required": [
1519
- "credential"
1520
- ]
1356
+ "required": ["credential"]
1521
1357
  },
1522
1358
  "ValidateSchemaArgs": {
1523
1359
  "type": "object",
@@ -1532,9 +1368,7 @@
1532
1368
  "$ref": "#/components/schemas/HasherSync"
1533
1369
  }
1534
1370
  },
1535
- "required": [
1536
- "credential"
1537
- ]
1371
+ "required": ["credential"]
1538
1372
  },
1539
1373
  "VerifySDJWTCredentialArgs": {
1540
1374
  "type": "object",
@@ -1546,9 +1380,7 @@
1546
1380
  "$ref": "#/components/schemas/HasherSync"
1547
1381
  }
1548
1382
  },
1549
- "required": [
1550
- "credential"
1551
- ]
1383
+ "required": ["credential"]
1552
1384
  },
1553
1385
  "VerifyW3CCredentialArgs": {
1554
1386
  "type": "object"
@@ -1603,4 +1435,4 @@
1603
1435
  }
1604
1436
  }
1605
1437
  }
1606
- }
1438
+ }