Difference between revisions of "Patient Credential"

From MgmtWiki
Jump to: navigation, search
(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>
Example 27: JWT payload of a JWT-based verifiable credential using JWS as a proof (non-normative)
 
 
{
 
{
 
   "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": ["VerifiableCredential", "UniversityDegreeCredential"],
+
     "type": ["PatientCredential", "IAL2"],
 
     "credentialSubject": {
 
     "credentialSubject": {
 
       "degree": {
 
       "degree": {
         "type": "BachelorDegree",
+
         "type": "known_to_the_practice",
         "name": "<span lang='fr-CA'>Baccalauréat en musiques numériques</span>"
+
         "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>"
      }
    }
  }
}

References