vc-ed
vc-ed copied to clipboard
Revoking, Refreshing, and Credential Status
Suggest we discuss recommendations for handling credential status in edu.
This is available: https://w3c-ccg.github.io/vc-csl2017/
The data model references the issued VC, status info, and a proof method for the status
Do we want to adopt this? Do we want to make status info recommendations for use cases such as a revoked credential or an updated credential.
Example of an Open Badge as VC with a credential status:
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/openbadges/v3"
],
"type": [
"VerifiableCredential",
"Open Badge"
],
"id": "https://example.org/achievement/123",
"issuer": {...},
"issuanceDate": "2021-01-01T19:23:24Z",
"credentialSubject": {
"id": "did:example:learner",
"hasAchievement": {
"id": "https://example.org/achievements/123",
"type": "BadgeClass",
"achievementType": "Certificate",
"name": "Robotic Drones Analysis",
"description": "Learn to analyze and present the different types of robotic drones",
"image": "https://example.org/drone-image.png",
"creator": "did:example:issuer",
"criteria": "https://example.org/robotics-drone-analysis.html",
}
},
"credentialStatus": {
"id": "https://example.org/achievements/status/24,
"type": "CredentialStatusList2017"
},
"proof": {...}
}
Example of status list retrieval:
{
"id": "https://example.org/achievements/status/24"
"description": "Status of example edu org credential."
"verifiableCredential": [{
"claim": {
"id": "https://example.org/achievement/123",
"currentStatus": "Revoked",
"statusReason": "Disciplinary action"
},
"issuer": "https://example.org/",
"issued": "2021-01-01T19:23:24Z",
"proof": { ... }
}, {
"claim": {
"id": "https://example.org/achievement/123",
"currentStatus": "Updated",
"updates": [{
"description": ""description": "Learn to analyze different types of robotic drones"
}],
"issuer": "https://example.org",
"issued": "2021-01-01T19:23:24Z",
"proof": { ... }
},
// ... more status info here ...
}],
"proof": { ... }
}
This is also available: https://w3c-ccg.github.io/vc-status-list-2021/ (currently marked as experimental) Less details are available about the status, but is a much smaller payload for a large number of credentials.
Thanks, @roverwolf !
Changed title to include refreshing and revoking.