Skip to content

Commit

Permalink
fear: add Natural Person Verifiable Id schema
Browse files Browse the repository at this point in the history
  • Loading branch information
chsavvaidis committed May 30, 2024
1 parent e471373 commit 66ab5ff
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/content/1.credentials/NaturalPersonVerifiableId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# NaturalPersonVerifiableID

```json
{
"@context": ["https://www.w3.org/2018/credentials/v1" ],
"id": "urn:uuid:3add94f4-28ec-42a1-8704-4e4aa51006b4",
"type": [ "VerifiableCredential", "VerifiableAttestation", "NaturalPersonVerifiableID"],
"issuer": "did:ebsi:zf39qHTXaLrr6iy3tQhT3UZ",
"issuanceDate": "2022-11-10T19:19:47.287Z",
"validFrom": "2022-11-10T19:19:47.287Z",
"issued": "2022-11-10T19:19:47.287Z",
"credentialSubject": {
"id": "did:key:z2dmzD81cgPx8Vki7JbuuMmFYrWPgYoytykUZ3eyqht1j9KbrvQgsKodq2xnfBMYGk99qtunHHQuvvi35kRvbH9SDnue2ZNJqcnaU7yAxeKqEqDX4qFzeKYCj6rdbFnTsf4c8QjFXcgGYS21Db9d2FhHxw9ZEnqt9KPgLsLbQHVAmNNZoz",
"familyName": "Doe",
"firstName": "Jane",
"dateOfBirth": "1985-08-15",
"personalIdentifier": "c02654b4-814e-46dd-ba17-0bd81a45057c"
},
"credentialSchema": {
"id": "https://api-conformance.ebsi.eu/trusted-schemas-registry/v3/schemas/z22ZAMdQtNLwi51T2vdZXGGZaYyjrsuP1yzWyXZirCAHv",
"type": "FullJsonSchemaValidator2021"
},
}
```

## Mapping example

```json
{
"id": "<uuid>",
"issuer": "<issuerDid>",
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp-ebsi>",
"issued": "<timestamp-ebsi>",
"validFrom": "<timestamp-ebsi>",
"expirationDate": "<timestamp-ebsi-in:365d>"
}
```

0 comments on commit 66ab5ff

Please sign in to comment.