24 lines
609 B
Django/Jinja
24 lines
609 B
Django/Jinja
{
|
|
"@context": [
|
|
"https://www.w3.org/2018/credentials/v1",
|
|
{
|
|
"title" : "trustchain:title",
|
|
"name": "trustchain:name",
|
|
"grade": "trustchain:grade"
|
|
"date_earned": "trustchain:dateearned"
|
|
}
|
|
],
|
|
"id": "{{ vc_id }}",
|
|
"type": ["VerifiableCredential"],
|
|
"issuer": "{{ issuer_did }}",
|
|
"issuanceDate": "{{ issuance_date }}",
|
|
"credentialSubject": {
|
|
"id": "{{ subject_did }}",
|
|
"title": {
|
|
"name": "{{ degree_name }}",
|
|
"grade": "{{ degree_grade_obtained }}",
|
|
"date_earned": "{{ date_earned }}"
|
|
}
|
|
}
|
|
}
|