@@ -53,11 +53,13 @@ export const offeringDataGHSToUSDC: OfferingData = {
53
53
constraints : {
54
54
fields : [
55
55
{
56
- path : [ '$.type[*]' ] ,
56
+ path : [
57
+ '$.credentialSchema[*].id'
58
+ ] ,
57
59
filter : {
58
60
type : 'string' ,
59
- const : 'KnownCustomerCredential' ,
60
- } ,
61
+ const : 'https://vc.schemas.host/kcc.schema.json'
62
+ }
61
63
} ,
62
64
{
63
65
path : [ '$.issuer' ] ,
@@ -123,11 +125,13 @@ export const offeringDataNGNToKES: OfferingData = {
123
125
constraints : {
124
126
fields : [
125
127
{
126
- path : [ '$.type[*]' ] ,
128
+ path : [
129
+ '$.credentialSchema[*].id'
130
+ ] ,
127
131
filter : {
128
132
type : 'string' ,
129
- const : 'KnownCustomerCredential' ,
130
- } ,
133
+ const : 'https://vc.schemas.host/kcc.schema.json'
134
+ }
131
135
} ,
132
136
{
133
137
path : [ '$.issuer' ] ,
@@ -199,11 +203,13 @@ export const offeringDataKESToUSD: OfferingData = {
199
203
constraints : {
200
204
fields : [
201
205
{
202
- path : [ '$.type[*]' ] ,
206
+ path : [
207
+ '$.credentialSchema[*].id'
208
+ ] ,
203
209
filter : {
204
210
type : 'string' ,
205
- const : 'KnownCustomerCredential' ,
206
- } ,
211
+ const : 'https://vc.schemas.host/kcc.schema.json'
212
+ }
207
213
} ,
208
214
{
209
215
path : [ '$.issuer' ] ,
@@ -290,11 +296,13 @@ export const offeringDataUSDToKES: OfferingData = {
290
296
constraints : {
291
297
fields : [
292
298
{
293
- path : [ '$.type[*]' ] ,
299
+ path : [
300
+ '$.credentialSchema[*].id'
301
+ ] ,
294
302
filter : {
295
303
type : 'string' ,
296
- const : 'KnownCustomerCredential' ,
297
- } ,
304
+ const : 'https://vc.schemas.host/kcc.schema.json'
305
+ }
298
306
} ,
299
307
{
300
308
path : [ '$.issuer' ] ,
@@ -366,11 +374,13 @@ export const offeringDataKESToUSD2: OfferingData = {
366
374
constraints : {
367
375
fields : [
368
376
{
369
- path : [ '$.type[*]' ] ,
377
+ path : [
378
+ '$.credentialSchema[*].id'
379
+ ] ,
370
380
filter : {
371
381
type : 'string' ,
372
- const : 'KnownCustomerCredential' ,
373
- } ,
382
+ const : 'https://vc.schemas.host/kcc.schema.json'
383
+ }
374
384
} ,
375
385
{
376
386
path : [ '$.issuer' ] ,
@@ -436,11 +446,13 @@ export const offeringDataKESToUSDC: OfferingData = {
436
446
constraints : {
437
447
fields : [
438
448
{
439
- path : [ '$.type[*]' ] ,
449
+ path : [
450
+ '$.credentialSchema[*].id'
451
+ ] ,
440
452
filter : {
441
453
type : 'string' ,
442
- const : 'KnownCustomerCredential' ,
443
- } ,
454
+ const : 'https://vc.schemas.host/kcc.schema.json'
455
+ }
444
456
} ,
445
457
{
446
458
path : [ '$.issuer' ] ,
@@ -506,11 +518,13 @@ export const offeringDataNGNToGHS: OfferingData = {
506
518
constraints : {
507
519
fields : [
508
520
{
509
- path : [ '$.type[*]' ] ,
521
+ path : [
522
+ '$.credentialSchema[*].id'
523
+ ] ,
510
524
filter : {
511
525
type : 'string' ,
512
- const : 'KnownCustomerCredential' ,
513
- } ,
526
+ const : 'https://vc.schemas.host/kcc.schema.json'
527
+ }
514
528
} ,
515
529
{
516
530
path : [ '$.issuer' ] ,
@@ -591,11 +605,13 @@ export const offeringDataBTCToNGN: OfferingData = {
591
605
constraints : {
592
606
fields : [
593
607
{
594
- path : [ '$.type[*]' ] ,
608
+ path : [
609
+ '$.credentialSchema[*].id'
610
+ ] ,
595
611
filter : {
596
612
type : 'string' ,
597
- const : 'KnownCustomerCredential' ,
598
- } ,
613
+ const : 'https://vc.schemas.host/kcc.schema.json'
614
+ }
599
615
} ,
600
616
{
601
617
path : [ '$.issuer' ] ,
@@ -688,11 +704,13 @@ export const offeringDataUSDToEUR: OfferingData = {
688
704
constraints : {
689
705
fields : [
690
706
{
691
- path : [ '$.type[*]' ] ,
707
+ path : [
708
+ '$.credentialSchema[*].id'
709
+ ] ,
692
710
filter : {
693
711
type : 'string' ,
694
- const : 'KnownCustomerCredential' ,
695
- } ,
712
+ const : 'https://vc.schemas.host/kcc.schema.json'
713
+ }
696
714
} ,
697
715
{
698
716
path : [ '$.issuer' ] ,
@@ -785,11 +803,13 @@ export const offeringDataEURToUSD: OfferingData = {
785
803
constraints : {
786
804
fields : [
787
805
{
788
- path : [ '$.type[*]' ] ,
806
+ path : [
807
+ '$.credentialSchema[*].id'
808
+ ] ,
789
809
filter : {
790
810
type : 'string' ,
791
- const : 'KnownCustomerCredential' ,
792
- } ,
811
+ const : 'https://vc.schemas.host/kcc.schema.json'
812
+ }
793
813
} ,
794
814
{
795
815
path : [ '$.issuer' ] ,
@@ -882,11 +902,13 @@ export const offeringDataUSDToGBP: OfferingData = {
882
902
constraints : {
883
903
fields : [
884
904
{
885
- path : [ '$.type[*]' ] ,
905
+ path : [
906
+ '$.credentialSchema[*].id'
907
+ ] ,
886
908
filter : {
887
909
type : 'string' ,
888
- const : 'KnownCustomerCredential' ,
889
- } ,
910
+ const : 'https://vc.schemas.host/kcc.schema.json'
911
+ }
890
912
} ,
891
913
{
892
914
path : [ '$.issuer' ] ,
@@ -973,11 +995,13 @@ export const offeringDataUSDToBTC: OfferingData = {
973
995
constraints : {
974
996
fields : [
975
997
{
976
- path : [ '$.type[*]' ] ,
998
+ path : [
999
+ '$.credentialSchema[*].id'
1000
+ ] ,
977
1001
filter : {
978
1002
type : 'string' ,
979
- const : 'KnownCustomerCredential' ,
980
- } ,
1003
+ const : 'https://vc.schemas.host/kcc.schema.json'
1004
+ }
981
1005
} ,
982
1006
{
983
1007
path : [ '$.issuer' ] ,
@@ -1069,11 +1093,13 @@ export const offeringDataEURToUSD2: OfferingData = {
1069
1093
constraints : {
1070
1094
fields : [
1071
1095
{
1072
- path : [ '$.type[*]' ] ,
1096
+ path : [
1097
+ '$.credentialSchema[*].id'
1098
+ ] ,
1073
1099
filter : {
1074
1100
type : 'string' ,
1075
- const : 'KnownCustomerCredential' ,
1076
- } ,
1101
+ const : 'https://vc.schemas.host/kcc.schema.json'
1102
+ }
1077
1103
} ,
1078
1104
{
1079
1105
path : [ '$.issuer' ] ,
@@ -1160,11 +1186,13 @@ export const offeringDataEURToUSDC: OfferingData = {
1160
1186
constraints : {
1161
1187
fields : [
1162
1188
{
1163
- path : [ '$.type[*]' ] ,
1189
+ path : [
1190
+ '$.credentialSchema[*].id'
1191
+ ] ,
1164
1192
filter : {
1165
1193
type : 'string' ,
1166
- const : 'KnownCustomerCredential' ,
1167
- } ,
1194
+ const : 'https://vc.schemas.host/kcc.schema.json'
1195
+ }
1168
1196
} ,
1169
1197
{
1170
1198
path : [ '$.issuer' ] ,
@@ -1257,11 +1285,13 @@ export const offeringDataUSDToEUR2: OfferingData = {
1257
1285
constraints : {
1258
1286
fields : [
1259
1287
{
1260
- path : [ '$.type[*]' ] ,
1288
+ path : [
1289
+ '$.credentialSchema[*].id'
1290
+ ] ,
1261
1291
filter : {
1262
1292
type : 'string' ,
1263
- const : 'KnownCustomerCredential' ,
1264
- } ,
1293
+ const : 'https://vc.schemas.host/kcc.schema.json'
1294
+ }
1265
1295
} ,
1266
1296
{
1267
1297
path : [ '$.issuer' ] ,
@@ -1354,11 +1384,13 @@ export const offeringDataEURToGBP: OfferingData = {
1354
1384
constraints : {
1355
1385
fields : [
1356
1386
{
1357
- path : [ '$.type[*]' ] ,
1387
+ path : [
1388
+ '$.credentialSchema[*].id'
1389
+ ] ,
1358
1390
filter : {
1359
1391
type : 'string' ,
1360
- const : 'KnownCustomerCredential' ,
1361
- } ,
1392
+ const : 'https://vc.schemas.host/kcc.schema.json'
1393
+ }
1362
1394
} ,
1363
1395
{
1364
1396
path : [ '$.issuer' ] ,
@@ -1450,11 +1482,13 @@ export const offeringDataUSDToAUD: OfferingData = {
1450
1482
constraints : {
1451
1483
fields : [
1452
1484
{
1453
- path : [ '$.type[*]' ] ,
1485
+ path : [
1486
+ '$.credentialSchema[*].id'
1487
+ ] ,
1454
1488
filter : {
1455
1489
type : 'string' ,
1456
- const : 'KnownCustomerCredential' ,
1457
- } ,
1490
+ const : 'https://vc.schemas.host/kcc.schema.json'
1491
+ }
1458
1492
} ,
1459
1493
{
1460
1494
path : [ '$.issuer' ] ,
@@ -1547,11 +1581,13 @@ export const offeringDataUSDToGBP2: OfferingData = {
1547
1581
constraints : {
1548
1582
fields : [
1549
1583
{
1550
- path : [ '$.type[*]' ] ,
1584
+ path : [
1585
+ '$.credentialSchema[*].id'
1586
+ ] ,
1551
1587
filter : {
1552
1588
type : 'string' ,
1553
- const : 'KnownCustomerCredential' ,
1554
- } ,
1589
+ const : 'https://vc.schemas.host/kcc.schema.json'
1590
+ }
1555
1591
} ,
1556
1592
{
1557
1593
path : [ '$.issuer' ] ,
@@ -1638,11 +1674,13 @@ export const offeringDataUSDToKES2: OfferingData = {
1638
1674
constraints : {
1639
1675
fields : [
1640
1676
{
1641
- path : [ '$.type[*]' ] ,
1677
+ path : [
1678
+ '$.credentialSchema[*].id'
1679
+ ] ,
1642
1680
filter : {
1643
1681
type : 'string' ,
1644
- const : 'KnownCustomerCredential' ,
1645
- } ,
1682
+ const : 'https://vc.schemas.host/kcc.schema.json'
1683
+ }
1646
1684
} ,
1647
1685
{
1648
1686
path : [ '$.issuer' ] ,
@@ -1735,11 +1773,13 @@ export const offeringDataUSDToMXN: OfferingData = {
1735
1773
constraints : {
1736
1774
fields : [
1737
1775
{
1738
- path : [ '$.type[*]' ] ,
1776
+ path : [
1777
+ '$.credentialSchema[*].id'
1778
+ ] ,
1739
1779
filter : {
1740
1780
type : 'string' ,
1741
- const : 'KnownCustomerCredential' ,
1742
- } ,
1781
+ const : 'https://vc.schemas.host/kcc.schema.json'
1782
+ }
1743
1783
} ,
1744
1784
{
1745
1785
path : [ '$.issuer' ] ,
0 commit comments