Skip to content

Commit

Permalink
feat: Add optional fields in Natural Person Verifiable Id schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkar-jain committed May 31, 2024
1 parent d9cf258 commit 3c10651
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
20 changes: 18 additions & 2 deletions src/content/1.credentials/NaturalPersonVerifiableId.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,28 @@
"placeOfBirth": "Lille, France",
"currentAddress": "1 Boulevard de la Liberté, 59800 Lille",
"gender": "Female"

},
"credentialSchema": {
"id": "https://api-conformance.ebsi.eu/trusted-schemas-registry/v3/schemas/z22ZAMdQtNLwi51T2vdZXGGZaYyjrsuP1yzWyXZirCAHv",
"type": "FullJsonSchemaValidator2021"
},
}
}
```

## Manifest

```json
{
"claims": {
"Name": "$.credentialSubject.firstName",
"Last Name": "$.credentialSubject.familyName",
"Date of Birth": "$.credentialSubject.dateOfBirth",
"Gender": "$.credentialSubject.gender",
"Personal Identifier": "$.credentialSubject.personalIdentifier",
"Name and Family Name at Birth": "$.credentialSubject.nameAndFamilyNameAtBirth",
"Place of Birth": "$.credentialSubject.placeOfBirth",
"Current Address": "$.credentialSubject.currentAddress"
}
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/content/1.credentials/Visa.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
},
"issuanceDate": "<timestamp>",
"validFrom": "<timestamp>",
"expirationDate": "<timestamp-in:365d>",
"expirationDate": "<timestamp-in:365d>"
}
```
4 changes: 2 additions & 2 deletions src/content/1.credentials/eID.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"Date of Birth": "$.credentialSubject.dateOfBirth",
"Gender": "$.credentialSubject.gender",
"Nationality": "$.credentialSubject.nationality",
"Address": "$.credentialSubject.address",
"Address": "$.credentialSubject.address"
}
}
```
Expand All @@ -54,6 +54,6 @@
},
"issuanceDate": "<timestamp>",
"validFrom": "<timestamp>",
"expirationDate": "<timestamp-in:365d>",
"expirationDate": "<timestamp-in:365d>"
}
```

0 comments on commit 3c10651

Please sign in to comment.