Skip to content

Commit 1696af3

Browse files
committed
feature: include Pontus-X accounts in participant credential
1 parent 950a24c commit 1696af3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/gaia-x_compliance/generate-credentials/templates/participant.hbs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"@context": [
33
"https://www.w3.org/2018/credentials/v1",
44
"https://w3id.org/security/suites/jws-2020/v1",
5-
"https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#"
5+
"https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#",
6+
{
7+
"pontus-x": "https://pontus-x.eu/vocabulary/"
8+
}
69
],
710
"id": "https://{{ issuer_domain }}/.well-known/{{ participant_name }}.vp.json#participant",
811
"type": "VerifiableCredential",
@@ -15,6 +18,7 @@
1518
"gx:legalRegistrationNumber": {
1619
"id": "{{ participant_uri }}#lrn"
1720
},
21+
"pontus-x:accounts": [ {{#each participant_accounts}} "{{this}}"{{#unless @last}},{{/unless}} {{/each}} ],
1822
"gx:headquarterAddress": {
1923
"gx:streetAddress": "{{ participant_street_address }}",
2024
"gx:postalCode": "{{ participant_postal_code }}",

0 commit comments

Comments
 (0)