Difference between revisions of "Patient Credential"
From MgmtWiki
(Created page with "==Full Title== The format of the document sent from a Identity Proofing Credential Service Provider to the device where the credential is stored. ==Format== <pre> Exa...") |
(→Format) |
||
| Line 3: | Line 3: | ||
==Format== | ==Format== | ||
| + | Example of a JWT payload of a JWT-based verifiable [[Patient Credential]] using JWS as a proof | ||
<pre> | <pre> | ||
| − | |||
{ | { | ||
"sub": "did:example:ebfeb1f712ebc6f1c276e12ec21", | "sub": "did:example:ebfeb1f712ebc6f1c276e12ec21", | ||
| Line 17: | Line 17: | ||
"https://www.w3.org/2018/credentials/examples/v1" | "https://www.w3.org/2018/credentials/examples/v1" | ||
], | ], | ||
| − | "type": [" | + | "type": ["PatientCredential", "IAL2"], |
"credentialSubject": { | "credentialSubject": { | ||
"degree": { | "degree": { | ||
| − | "type": " | + | "type": "known_to_the_practice", |
| − | "name": "<span lang='fr-CA'>Baccalauréat | + | "name": "<span lang='fr-CA'>Baccalauréat</span>" |
} | } | ||
} | } | ||
| Line 27: | Line 27: | ||
} | } | ||
</pre> | </pre> | ||
| + | |||
==References== | ==References== | ||
[[Category:Identity]] | [[Category:Identity]] | ||
[[Category:Standard]] | [[Category:Standard]] | ||
Revision as of 18:06, 6 July 2019
Full Title
The format of the document sent from a Identity Proofing Credential Service Provider to the device where the credential is stored.
Format
Example of a JWT payload of a JWT-based verifiable Patient Credential using JWS as a proof
{
"sub": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"jti": "http://example.edu/credentials/3732",
"iss": "did:example:abfe13f712120431c276e12ecab",
"iat": "1541493724",
"exp": "1573029723",
"nonce": "660!6345FSer",
"vc": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"type": ["PatientCredential", "IAL2"],
"credentialSubject": {
"degree": {
"type": "known_to_the_practice",
"name": "<span lang='fr-CA'>Baccalauréat</span>"
}
}
}
}