Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit bdcc0c6

Browse files
authored
Merge pull request #10 from walt-id/gaiaX-credentials
feat: added more gaiax credentials
2 parents ed9aceb + 417c493 commit bdcc0c6

File tree

5 files changed

+124
-14
lines changed

5 files changed

+124
-14
lines changed

src/content/3.w3c-credentials/GaiaXTermsAndConditions.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
```json
44
{
55
"@context": [
6-
"https://www.w3.org/2018/credentials/v1",
7-
"https://w3id.org/security/suites/jws-2020/v1",
8-
"https://registry.lab.gaia-x.eu/development/api/trusted-shape-registry/v1/shapes/jsonld/trustframework#"
6+
"https://www.w3.org/ns/credentials/v2",
7+
"https://w3id.org/gaia-x/development#"
98
],
10-
"type": ["VerifiableCredential" ,"GaiaXTermsAndConditions"],
9+
"type": ["VerifiableCredential" ,"gx:Issuer"],
1110
"issuanceDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
1211
"credentialSubject": {
13-
"gx:termsAndConditions": "The PARTICIPANT signing the Self-Description agrees as follows:\n- to update its descriptions about any changes, be it technical, organizational, or legal - especially but not limited to contractual in regards to the indicated attributes present in the descriptions.\n\nThe keypair used to sign Verifiable Credentials will be revoked where Gaia-X Association becomes aware of any inaccurate statements in regards to the claims which result in a non-compliance with the Trust Framework and policy rules defined in the Policy Rules and Labelling Document (PRLD).",
14-
"type": "gx:GaiaXTermsAndConditions",
15-
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION"
12+
"id": "https://delta-dao.com/.well-known/2503_gx_TandC_deltaDAO.json",
13+
"gaiaxTermsAndConditions": "4bd7554097444c960292b4726c2efa1373485e8a5565d94d41195214c5e0ceb3"
1614
},
1715
"issuer": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
1816
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION"
@@ -24,7 +22,7 @@
2422
```json
2523
{
2624
"claims": {
27-
"Gaia-X Terms and Conditions": "$.credentialSubject['gx:termsAndConditions']"
25+
"Gaia-X Terms and Conditions": "$.credentialSubject['gaiaxTermsAndConditions']"
2826
}
2927
}
3028
```
@@ -35,9 +33,6 @@
3533
{
3634
"id": "<uuid>",
3735
"issuer": "<issuerDid>",
38-
"credentialSubject": {
39-
"id": "<subjectDid>"
40-
},
4136
"issuanceDate": "<timestamp>",
4237
"expirationDate": "<timestamp-in:365d>"
4338
}

src/content/3.w3c-credentials/LegalPerson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/gaia-x/development#"
88
],
9-
"type": ["VerifiableCredential", "LegalPerson"],
9+
"type": ["VerifiableCredential", "gx:LegalPerson"],
1010
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
1111
"name": "Legal Person",
1212
"issuer": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# LegalRegistrationNumberEORI
2+
3+
4+
```json
5+
{
6+
"@context": [
7+
"https://www.w3.org/ns/credentials/v2",
8+
"https://w3id.org/gaia-x/development#"
9+
],
10+
"type": [
11+
"VerifiableCredential",
12+
"gx:EORI"
13+
],
14+
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
15+
"issuer": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
16+
"issuanceDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
17+
"expirationDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
18+
"name": "EORI Registration Number",
19+
"description": "Economic Operators Registration and Identification registration number",
20+
21+
"credentialSubject": {
22+
"id": "https://example.org/subjects/123",
23+
"type": "gx:EORI",
24+
"gx:eori": "FR53740792600014",
25+
"gx:country": ""
26+
},
27+
"evidence": {
28+
"gx:evidenceOf": "gx:EORI",
29+
"gx:evidenceURL": "https://ec.europa.eu/taxation_customs/dds2/eos/validation/services/validation",
30+
"gx:executionDate": "2025-09-17T09:16:14.928+00:00"
31+
}
32+
}
33+
```
34+
35+
## Manifest
36+
37+
```json
38+
{
39+
"claims": {
40+
"Legal Registration Number": "$.credentialSubject.id",
41+
"EORI": "$.credentialSubject['gx:eori']",
42+
"Country": "$.credentialSubject['gx:country']"
43+
44+
}
45+
}
46+
```
47+
48+
## Mapping example
49+
50+
```json
51+
{
52+
"id": "<uuid>",
53+
"issuer": "<issuerDid>",
54+
"credentialSubject": {
55+
"id": "<subjectDid>"
56+
},
57+
"issuanceDate": "<timestamp>",
58+
"expirationDate": "<timestamp-in:365d>"
59+
}
60+
```

src/content/3.w3c-credentials/LegalRegistrationNumber.md renamed to src/content/3.w3c-credentials/LegalRegistrationNumberLeiCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LegalRegistrationNumber
1+
# LegalRegistrationNumberLeiCode
22

33
```json
44
{
@@ -8,7 +8,7 @@
88
],
99
"type": [
1010
"VerifiableCredential",
11-
"LegalRegistrationNumber"
11+
"gx:LeiCode"
1212
],
1313
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
1414
"issuer": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# LegalRegistrationNumberVatId
2+
3+
```json
4+
{
5+
"@context": [
6+
"https://www.w3.org/ns/credentials/v2",
7+
"https://w3id.org/gaia-x/development#"
8+
],
9+
"type": [
10+
"VerifiableCredential",
11+
"gx:VatID"
12+
],
13+
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
14+
"issuer": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
15+
"issuanceDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
16+
"expirationDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
17+
"credentialSubject": {
18+
"id": "https://example.org/subjects/123",
19+
"type": "gx:VatID",
20+
"gx:vatID": "BE0762747721",
21+
"gx:countryCode": "BE"
22+
},
23+
"evidence": {
24+
"gx:evidenceOf": "gx:VatID",
25+
"gx:evidenceURL": "http://ec.europa.eu/taxation_customs/vies/services/checkVatService",
26+
"gx:executionDate": "2025-09-17T09:11:13.643+00:00"
27+
}
28+
}
29+
```
30+
31+
## Manifest
32+
33+
```json
34+
{
35+
"claims": {
36+
"Legal Registration Number": "$.credentialSubject.id",
37+
"VAT ID": "$.credentialSubject['gx:vatID']",
38+
"VAT Country Code": "$.credentialSubject['gx:countryCode']"
39+
}
40+
}
41+
```
42+
43+
## Mapping example
44+
45+
```json
46+
{
47+
"id": "<uuid>",
48+
"issuer": "<issuerDid>",
49+
"credentialSubject": {
50+
"id": "<subjectDid>"
51+
},
52+
"issuanceDate": "<timestamp>",
53+
"expirationDate": "<timestamp-in:365d>"
54+
}
55+
```

0 commit comments

Comments
 (0)