This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
ssikit_trustchain/vc_templates/academic.jsonld.j2

24 lines
609 B
Plaintext
Raw Normal View History

{
"@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 }}"
}
}
}