@@ -54,15 +54,16 @@ export const offeringDataGHSToUSDC: OfferingData = {
54
54
fields : [
55
55
{
56
56
path : [
57
- '$.vc.credentialSchema.id'
57
+ '$.vc.credentialSchema.id' ,
58
+ '$.credentialSchema.id'
58
59
] ,
59
60
filter : {
60
61
type : 'string' ,
61
62
const : 'https://vc.schemas.host/kcc.schema.json'
62
63
}
63
64
} ,
64
65
{
65
- path : [ '$.vc.issuer' ] ,
66
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
66
67
filter : {
67
68
type : 'string' ,
68
69
const : issuer ,
@@ -126,15 +127,16 @@ export const offeringDataNGNToKES: OfferingData = {
126
127
fields : [
127
128
{
128
129
path : [
129
- '$.vc.credentialSchema.id'
130
+ '$.vc.credentialSchema.id' ,
131
+ '$.credentialSchema.id'
130
132
] ,
131
133
filter : {
132
134
type : 'string' ,
133
135
const : 'https://vc.schemas.host/kcc.schema.json'
134
136
}
135
137
} ,
136
138
{
137
- path : [ '$.vc.issuer' ] ,
139
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
138
140
filter : {
139
141
type : 'string' ,
140
142
const : issuer ,
@@ -204,15 +206,16 @@ export const offeringDataKESToUSD: OfferingData = {
204
206
fields : [
205
207
{
206
208
path : [
207
- '$.vc.credentialSchema.id'
209
+ '$.vc.credentialSchema.id' ,
210
+ '$.credentialSchema.id'
208
211
] ,
209
212
filter : {
210
213
type : 'string' ,
211
214
const : 'https://vc.schemas.host/kcc.schema.json'
212
215
}
213
216
} ,
214
217
{
215
- path : [ '$.vc.issuer' ] ,
218
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
216
219
filter : {
217
220
type : 'string' ,
218
221
const : issuer ,
@@ -297,15 +300,16 @@ export const offeringDataUSDToKES: OfferingData = {
297
300
fields : [
298
301
{
299
302
path : [
300
- '$.vc.credentialSchema.id'
303
+ '$.vc.credentialSchema.id' ,
304
+ '$.credentialSchema.id'
301
305
] ,
302
306
filter : {
303
307
type : 'string' ,
304
308
const : 'https://vc.schemas.host/kcc.schema.json'
305
309
}
306
310
} ,
307
311
{
308
- path : [ '$.vc.issuer' ] ,
312
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
309
313
filter : {
310
314
type : 'string' ,
311
315
const : issuer ,
@@ -375,15 +379,16 @@ export const offeringDataKESToUSD2: OfferingData = {
375
379
fields : [
376
380
{
377
381
path : [
378
- '$.vc.credentialSchema.id'
382
+ '$.vc.credentialSchema.id' ,
383
+ '$.credentialSchema.id'
379
384
] ,
380
385
filter : {
381
386
type : 'string' ,
382
387
const : 'https://vc.schemas.host/kcc.schema.json'
383
388
}
384
389
} ,
385
390
{
386
- path : [ '$.vc.issuer' ] ,
391
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
387
392
filter : {
388
393
type : 'string' ,
389
394
const : issuer ,
@@ -447,15 +452,16 @@ export const offeringDataKESToUSDC: OfferingData = {
447
452
fields : [
448
453
{
449
454
path : [
450
- '$.vc.credentialSchema.id'
455
+ '$.vc.credentialSchema.id' ,
456
+ '$.credentialSchema.id'
451
457
] ,
452
458
filter : {
453
459
type : 'string' ,
454
460
const : 'https://vc.schemas.host/kcc.schema.json'
455
461
}
456
462
} ,
457
463
{
458
- path : [ '$.vc.issuer' ] ,
464
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
459
465
filter : {
460
466
type : 'string' ,
461
467
const : issuer ,
@@ -519,15 +525,16 @@ export const offeringDataNGNToGHS: OfferingData = {
519
525
fields : [
520
526
{
521
527
path : [
522
- '$.vc.credentialSchema.id'
528
+ '$.vc.credentialSchema.id' ,
529
+ '$.credentialSchema.id'
523
530
] ,
524
531
filter : {
525
532
type : 'string' ,
526
533
const : 'https://vc.schemas.host/kcc.schema.json'
527
534
}
528
535
} ,
529
536
{
530
- path : [ '$.vc.issuer' ] ,
537
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
531
538
filter : {
532
539
type : 'string' ,
533
540
const : issuer ,
@@ -606,15 +613,16 @@ export const offeringDataBTCToNGN: OfferingData = {
606
613
fields : [
607
614
{
608
615
path : [
609
- '$.vc.credentialSchema.id'
616
+ '$.vc.credentialSchema.id' ,
617
+ '$.credentialSchema.id'
610
618
] ,
611
619
filter : {
612
620
type : 'string' ,
613
621
const : 'https://vc.schemas.host/kcc.schema.json'
614
622
}
615
623
} ,
616
624
{
617
- path : [ '$.vc.issuer' ] ,
625
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
618
626
filter : {
619
627
type : 'string' ,
620
628
const : issuer ,
@@ -705,15 +713,16 @@ export const offeringDataUSDToEUR: OfferingData = {
705
713
fields : [
706
714
{
707
715
path : [
708
- '$.vc.credentialSchema.id'
716
+ '$.vc.credentialSchema.id' ,
717
+ '$.credentialSchema.id'
709
718
] ,
710
719
filter : {
711
720
type : 'string' ,
712
721
const : 'https://vc.schemas.host/kcc.schema.json'
713
722
}
714
723
} ,
715
724
{
716
- path : [ '$.vc.issuer' ] ,
725
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
717
726
filter : {
718
727
type : 'string' ,
719
728
const : issuer ,
@@ -804,15 +813,16 @@ export const offeringDataEURToUSD: OfferingData = {
804
813
fields : [
805
814
{
806
815
path : [
807
- '$.vc.credentialSchema.id'
816
+ '$.vc.credentialSchema.id' ,
817
+ '$.credentialSchema.id'
808
818
] ,
809
819
filter : {
810
820
type : 'string' ,
811
821
const : 'https://vc.schemas.host/kcc.schema.json'
812
822
}
813
823
} ,
814
824
{
815
- path : [ '$.vc.issuer' ] ,
825
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
816
826
filter : {
817
827
type : 'string' ,
818
828
const : issuer ,
@@ -903,15 +913,16 @@ export const offeringDataUSDToGBP: OfferingData = {
903
913
fields : [
904
914
{
905
915
path : [
906
- '$.vc.credentialSchema.id'
916
+ '$.vc.credentialSchema.id' ,
917
+ '$.credentialSchema.id'
907
918
] ,
908
919
filter : {
909
920
type : 'string' ,
910
921
const : 'https://vc.schemas.host/kcc.schema.json'
911
922
}
912
923
} ,
913
924
{
914
- path : [ '$.vc.issuer' ] ,
925
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
915
926
filter : {
916
927
type : 'string' ,
917
928
const : issuer ,
@@ -996,15 +1007,16 @@ export const offeringDataUSDToBTC: OfferingData = {
996
1007
fields : [
997
1008
{
998
1009
path : [
999
- '$.vc.credentialSchema.id'
1010
+ '$.vc.credentialSchema.id' ,
1011
+ '$.credentialSchema.id'
1000
1012
] ,
1001
1013
filter : {
1002
1014
type : 'string' ,
1003
1015
const : 'https://vc.schemas.host/kcc.schema.json'
1004
1016
}
1005
1017
} ,
1006
1018
{
1007
- path : [ '$.vc.issuer' ] ,
1019
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1008
1020
filter : {
1009
1021
type : 'string' ,
1010
1022
const : issuer ,
@@ -1094,15 +1106,16 @@ export const offeringDataEURToUSD2: OfferingData = {
1094
1106
fields : [
1095
1107
{
1096
1108
path : [
1097
- '$.vc.credentialSchema.id'
1109
+ '$.vc.credentialSchema.id' ,
1110
+ '$.credentialSchema.id'
1098
1111
] ,
1099
1112
filter : {
1100
1113
type : 'string' ,
1101
1114
const : 'https://vc.schemas.host/kcc.schema.json'
1102
1115
}
1103
1116
} ,
1104
1117
{
1105
- path : [ '$.vc.issuer' ] ,
1118
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1106
1119
filter : {
1107
1120
type : 'string' ,
1108
1121
const : issuer ,
@@ -1187,15 +1200,16 @@ export const offeringDataEURToUSDC: OfferingData = {
1187
1200
fields : [
1188
1201
{
1189
1202
path : [
1190
- '$.vc.credentialSchema.id'
1203
+ '$.vc.credentialSchema.id' ,
1204
+ '$.credentialSchema.id'
1191
1205
] ,
1192
1206
filter : {
1193
1207
type : 'string' ,
1194
1208
const : 'https://vc.schemas.host/kcc.schema.json'
1195
1209
}
1196
1210
} ,
1197
1211
{
1198
- path : [ '$.vc.issuer' ] ,
1212
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1199
1213
filter : {
1200
1214
type : 'string' ,
1201
1215
const : issuer ,
@@ -1286,15 +1300,16 @@ export const offeringDataUSDToEUR2: OfferingData = {
1286
1300
fields : [
1287
1301
{
1288
1302
path : [
1289
- '$.vc.credentialSchema.id'
1303
+ '$.vc.credentialSchema.id' ,
1304
+ '$.credentialSchema.id'
1290
1305
] ,
1291
1306
filter : {
1292
1307
type : 'string' ,
1293
1308
const : 'https://vc.schemas.host/kcc.schema.json'
1294
1309
}
1295
1310
} ,
1296
1311
{
1297
- path : [ '$.vc.issuer' ] ,
1312
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1298
1313
filter : {
1299
1314
type : 'string' ,
1300
1315
const : issuer ,
@@ -1385,15 +1400,16 @@ export const offeringDataEURToGBP: OfferingData = {
1385
1400
fields : [
1386
1401
{
1387
1402
path : [
1388
- '$.vc.credentialSchema.id'
1403
+ '$.vc.credentialSchema.id' ,
1404
+ '$.credentialSchema.id'
1389
1405
] ,
1390
1406
filter : {
1391
1407
type : 'string' ,
1392
1408
const : 'https://vc.schemas.host/kcc.schema.json'
1393
1409
}
1394
1410
} ,
1395
1411
{
1396
- path : [ '$.vc.issuer' ] ,
1412
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1397
1413
filter : {
1398
1414
type : 'string' ,
1399
1415
const : issuer ,
@@ -1483,15 +1499,16 @@ export const offeringDataUSDToAUD: OfferingData = {
1483
1499
fields : [
1484
1500
{
1485
1501
path : [
1486
- '$.vc.credentialSchema.id'
1502
+ '$.vc.credentialSchema.id' ,
1503
+ '$.credentialSchema.id'
1487
1504
] ,
1488
1505
filter : {
1489
1506
type : 'string' ,
1490
1507
const : 'https://vc.schemas.host/kcc.schema.json'
1491
1508
}
1492
1509
} ,
1493
1510
{
1494
- path : [ '$.vc.issuer' ] ,
1511
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1495
1512
filter : {
1496
1513
type : 'string' ,
1497
1514
const : issuer ,
@@ -1582,15 +1599,16 @@ export const offeringDataUSDToGBP2: OfferingData = {
1582
1599
fields : [
1583
1600
{
1584
1601
path : [
1585
- '$.vc.credentialSchema.id'
1602
+ '$.vc.credentialSchema.id' ,
1603
+ '$.credentialSchema.id'
1586
1604
] ,
1587
1605
filter : {
1588
1606
type : 'string' ,
1589
1607
const : 'https://vc.schemas.host/kcc.schema.json'
1590
1608
}
1591
1609
} ,
1592
1610
{
1593
- path : [ '$.vc.issuer' ] ,
1611
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1594
1612
filter : {
1595
1613
type : 'string' ,
1596
1614
const : issuer ,
@@ -1675,15 +1693,16 @@ export const offeringDataUSDToKES2: OfferingData = {
1675
1693
fields : [
1676
1694
{
1677
1695
path : [
1678
- '$.vc.credentialSchema.id'
1696
+ '$.vc.credentialSchema.id' ,
1697
+ '$.credentialSchema.id'
1679
1698
] ,
1680
1699
filter : {
1681
1700
type : 'string' ,
1682
1701
const : 'https://vc.schemas.host/kcc.schema.json'
1683
1702
}
1684
1703
} ,
1685
1704
{
1686
- path : [ '$.vc.issuer' ] ,
1705
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1687
1706
filter : {
1688
1707
type : 'string' ,
1689
1708
const : issuer ,
@@ -1774,15 +1793,16 @@ export const offeringDataUSDToMXN: OfferingData = {
1774
1793
fields : [
1775
1794
{
1776
1795
path : [
1777
- '$.vc.credentialSchema.id'
1796
+ '$.vc.credentialSchema.id' ,
1797
+ '$.credentialSchema.id'
1778
1798
] ,
1779
1799
filter : {
1780
1800
type : 'string' ,
1781
1801
const : 'https://vc.schemas.host/kcc.schema.json'
1782
1802
}
1783
1803
} ,
1784
1804
{
1785
- path : [ '$.vc.issuer' ] ,
1805
+ path : [ '$.vc.issuer' , '$.issuer' ] ,
1786
1806
filter : {
1787
1807
type : 'string' ,
1788
1808
const : issuer ,
0 commit comments