-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add VerifiablePortableDocumentA1
- Loading branch information
1 parent
c27782a
commit 96d3162
Showing
1 changed file
with
109 additions
and
0 deletions.
There are no files selected for viewing
109 changes: 109 additions & 0 deletions
109
src/content/1.credentials/VerifiablePortableDocumentA1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# VerifiablePortableDocumentA1 | ||
|
||
```json | ||
{ | ||
"@context": ["https://www.w3.org/2018/credentials/v1"], | ||
"id": "did:ebsi:zf39qHTXaLrr6iy3tQhT3UZ", | ||
"type": ["VerifiableCredential", "VerifiableAttestation", "VerifiablePortableDocumentA1"], | ||
"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", | ||
"section1": { | ||
"personalIdentificationNumber": "1", | ||
"sex": "01", | ||
"surname": "Jane", | ||
"forenames": "Doe", | ||
"dateBirth": "1985-08-15", | ||
"nationalities": [ | ||
"BE" | ||
], | ||
"stateOfResidenceAddress": { | ||
"streetNo": "sss, nnn ", | ||
"postCode": "ppp", | ||
"town": "ccc", | ||
"countryCode": "BE" | ||
}, | ||
"stateOfStayAddress": { | ||
"streetNo": "sss, nnn ", | ||
"postCode": "ppp", | ||
"town": "ccc", | ||
"countryCode": "BE" | ||
} | ||
}, | ||
"section2": { | ||
"memberStateWhichLegislationApplies": "DE", | ||
"startingDate": "2022-10-09", | ||
"endingDate": "2022-10-29", | ||
"certificateForDurationActivity": true, | ||
"determinationProvisional": false, | ||
"transitionRulesApplyAsEC8832004": false | ||
}, | ||
"section3": { | ||
"postedEmployedPerson": false, | ||
"employedTwoOrMoreStates": false, | ||
"postedSelfEmployedPerson": true, | ||
"selfEmployedTwoOrMoreStates": true, | ||
"civilServant": true, | ||
"contractStaff": false, | ||
"mariner": false, | ||
"employedAndSelfEmployed": false, | ||
"civilAndEmployedSelfEmployed": true, | ||
"flightCrewMember": false, | ||
"exception": false, | ||
"exceptionDescription": "", | ||
"workingInStateUnder21": false | ||
}, | ||
"section4": { | ||
"employee": false, | ||
"selfEmployedActivity": true, | ||
"nameBusinessName": "1", | ||
"registeredAddress": { | ||
"streetNo": "1, 1 1", | ||
"postCode": "1", | ||
"town": "1", | ||
"countryCode": "DE" | ||
} | ||
}, | ||
"section5": { | ||
"noFixedAddress": true | ||
}, | ||
"section6": { | ||
"name": "National Institute for the Social Security of the Self-employed (NISSE)", | ||
"address": { | ||
"streetNo": "Quai de Willebroeck 35", | ||
"postCode": "1000", | ||
"town": "Bruxelles", | ||
"countryCode": "BE" | ||
}, | ||
"institutionID": "NSSIE/INASTI/RSVZ", | ||
"officeFaxNo": "", | ||
"officePhoneNo": "0800 12 018", | ||
"email": "[email protected]", | ||
"date": "2022-10-28", | ||
"signature": "Official signature" | ||
} | ||
}, | ||
"credentialSchema": { | ||
"id": "https://api-conformance.ebsi.eu/trusted-schemas-registry/v3/schemas/z5qB8tydkn3Xk3VXb15SJ9dAWW6wky1YEoVdGzudWzhcW", | ||
"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>" | ||
} | ||
``` |