File tree Expand file tree Collapse file tree 3 files changed +27
-84
lines changed
spp_openid_vci_group/data Expand file tree Collapse file tree 3 files changed +27
-84
lines changed Original file line number Diff line number Diff line change 15
15
"@id" : " name" ,
16
16
"@type" : " @id" ,
17
17
"@context" : {
18
- "value" : " @value" ,
19
- "language" : " @language"
18
+ "value" : " @value"
20
19
}
21
20
},
22
- "fullName" : {
23
- "@id" : " fullName" ,
24
- "@type" : " @id" ,
25
- "@context" : {
26
- "value" : " @value" ,
27
- "language" : " @language"
28
- }
29
- },
30
- "gender" : {
31
- "@id" : " gender" ,
32
- "@type" : " @id" ,
33
- "@context" : {
34
- "value" : " @value" ,
35
- "language" : " @language"
36
- }
37
- },
38
- "dateOfBirth" : " dateOfBirth" ,
39
- "email" : " email" ,
40
21
"phone" : " phone" ,
41
22
"addressLine1" : {
42
23
"@id" : " addressLine1" ,
43
24
"@type" : " @id" ,
44
25
"@context" : {
45
- "value" : " @value" ,
46
- "language" : " @language"
47
- }
48
- },
49
- "addressLine2" : {
50
- "@id" : " addressLine2" ,
51
- "@type" : " @id" ,
52
- "@context" : {
53
- "value" : " @value" ,
54
- "language" : " @language"
55
- }
56
- },
57
- "addressLine3" : {
58
- "@id" : " addressLine3" ,
59
- "@type" : " @id" ,
60
- "@context" : {
61
- "value" : " @value" ,
62
- "language" : " @language"
26
+ "value" : " @value"
63
27
}
64
28
},
65
29
"province" : {
66
30
"@id" : " province" ,
67
31
"@type" : " @id" ,
68
32
"@context" : {
69
- "value" : " @value" ,
70
- "language" : " @language"
33
+ "value" : " @value"
71
34
}
72
35
},
73
36
"region" : {
74
37
"@id" : " region" ,
75
38
"@type" : " @id" ,
76
39
"@context" : {
77
- "value" : " @value" ,
78
- "language" : " @language"
40
+ "value" : " @value"
79
41
}
80
42
},
81
43
"postalCode" : " postalCode" ,
82
- "face" : " face" ,
83
- "vcVer" : " vcVer" ,
84
- "UIN" : " UIN"
44
+ "vcVer" : " vcVer"
85
45
}
86
46
}
87
47
}
Original file line number Diff line number Diff line change 9
9
"issuanceDate" : .curr_datetime ,
10
10
"credentialSubject" : {
11
11
"vcVer" : "VC-V1" ,
12
- "id" : (.partner.id | tostring ),
13
- "name" : (.partner.name // null ),
14
- "email" : (.partner.email // null ),
12
+ "id" : (.web_base_url + "/api/v1/registry/individual/" + (.partner.id | tostring )),
13
+ "name" : [
14
+ {
15
+ "value" : (.partner.name // null )
16
+ }
17
+ ],
15
18
"phone" : (.partner.phone // null ),
16
- "addressLine1" : .partner_address.street_address ,
17
- "province" : .partner_address.locality ,
18
- "region" : .partner_address.region ,
19
+ "addressLine1" : (if .partner_address.street_address then [
20
+ {
21
+ "value" : .partner_address.street_address
22
+ }
23
+ ] else null end ),
24
+ "province" : (if .partner_address.locality then [
25
+ {
26
+ "value" : .partner_address.locality
27
+ }
28
+ ] else null end ),
29
+ "region" : (if .partner_address.region then [
30
+ {
31
+ "value" : .partner_address.region
32
+ }
33
+ ] else null end ),
19
34
"postalCode" : .partner_address.postal_code ,
20
35
}
21
36
}
Original file line number Diff line number Diff line change 18
18
.credential_type
19
19
],
20
20
"credentialSubject" : {
21
- "fullName " : {
21
+ "name " : {
22
22
"display" : [
23
23
{
24
24
"name" : "Name" ,
25
25
"locale" : "en"
26
26
}
27
27
]
28
28
},
29
- "gender" : {
30
- "display" : [
31
- {
32
- "name" : "Gender" ,
33
- "locale" : "en"
34
- }
35
- ]
36
- },
37
- "dateOfBirth" : {
38
- "display" : [
39
- {
40
- "name" : "Date of Birth" ,
41
- "locale" : "en"
42
- }
43
- ]
44
- },
45
29
"address" : {
46
30
"display" : [
47
31
{
50
34
}
51
35
]
52
36
},
53
- "UIN" : {
54
- "display" : [
55
- {
56
- "name" : "Beneficiary ID" ,
57
- "locale" : "en"
58
- }
59
- ]
60
- },
61
- "nationalID" : {
62
- "display" : [
63
- {
64
- "name" : "National ID" ,
65
- "locale" : "en"
66
- }
67
- ]
68
- }
69
37
}
70
38
},
71
39
"display" : [
You can’t perform that action at this time.
0 commit comments