Skip to content

Instantly share code, notes, and snippets.

@ottonomy
Created November 19, 2024 20:18
Show Gist options
  • Save ottonomy/0b4f218a88dd7721a3b898d865ae5de3 to your computer and use it in GitHub Desktop.
Save ottonomy/0b4f218a88dd7721a3b898d865ae5de3 to your computer and use it in GitHub Desktop.
Credential with GPA Result
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
],
"id": "http://example.com/credentials/3527",
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
],
"issuer": "did:example:1",
"validFrom": "2010-01-01T00:00:00Z",
"name": "College Degree",
"credentialSubject": {
"id": "did:example:2",
"type": [
"AchievementSubject"
],
"achievement": {
"id": "urn:uuid:910686a1-3743-4d52-9d2e-7bf62e1d745f",
"type": [
"Achievement"
],
"achievementType": "Degree",
"criteria": {
"narrative": "Recipients must complete at least 120 credit hours of coursework, including foundational courses in mathematics and computer science, advanced electives, and a capstone project. A minimum GPA of 2.5 in major courses is required."
},
"description": "Awarded upon successful completion of a four-year undergraduate program in Computer Science, demonstrating proficiency in programming, algorithms, data structures, and systems design.",
"name": "Bachelor's of Science Degree",
"resultDescription": [
{
"type": [
"ResultDescription"
],
"id": "urn:uuid:72ac876b-cf01-451d-8c2a-14ce1aeb12d7",
"resultType": "GradePointAverage",
"valueMin": "0.0",
"valueMax": "4.2",
"requiredValue": "2.5"
}
]
},
"result": [
{
"type": [
"Result"
],
"resultDescription": "urn:uuid:72ac876b-cf01-451d-8c2a-14ce1aeb12d7",
"value": "3.6"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment