Skip to content

Instantly share code, notes, and snippets.

@mattcollier
Created March 25, 2020 17:08
Show Gist options
  • Save mattcollier/db7e02f6dbf682827cb369600e091127 to your computer and use it in GitHub Desktop.
Save mattcollier/db7e02f6dbf682827cb369600e091127 to your computer and use it in GitHub Desktop.
proper credential svip interop
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"ex": "https://example.org/examples#",
"schema": "http://schema.org/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"BachelorDegree": "ex:BachelorDegree",
"UniversityDegreeCredential": "ex:UniversityDegreeCredential",
"degree": "ex:degree",
"name": {
"@id": "schema:name",
"@type": "rdf:HTML"
}
}
],
"id": "http://example.gov/credentials/3732",
"type": [
"VerifiableCredential",
"UniversityDegreeCredential"
],
"issuer": "https://example.edu",
"issuanceDate": "2020-03-11T23:09:06.803Z",
"credentialSubject": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"degree": {
"type": "BachelorDegree",
"name": "Bachelor of Science and Arts"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2020-03-25T17:07:45Z",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..cGfG17pjbr1Ooqm-HeLcpsgZgSnc7AaQl8lyLYnmT7AP2-qTCpVDGD4EfEV7DhczK6RsBdkXZGucIGPV_WNOBA",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:key:z6Mkg9AkjefxdJFSphkStzXwHQnbweN43mCqA37aANGRxF1o#z6Mkg9AkjefxdJFSphkStzXwHQnbweN43mCqA37aANGRxF1o"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment