Thoryn

VCT templates · VCT templates

Diploma Credential VCT

VCT template for a university-issued diploma. Long-lived (no expiry). Carries programme, degree, GPA, graduation date.

Tested against:credentialIssuer: 1.0.0vctRegistry: 1.0.0

vct-templates recipe — shared category architecture: how this pattern composes with Hub, Broker, and the rest of the catalog

Issuer archetype

A university issuing diplomas to graduates. Each graduate receives the credential at graduation; it lives indefinitely in the holder's wallet. Employers + further-study programmes verify it via Broker — without re-contacting the university.

VCT URL

https://thoryn.org/vct/DiplomaCredential-v1

Claim schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DiplomaCredential",
  "type": "object",
  "required": ["institution", "programme", "degree", "graduated_at"],
  "properties": {
    "institution":  { "type": "string" },
    "programme":    { "type": "string" },
    "degree":       { "type": "string", "enum": ["BSc", "BA", "MSc", "MA", "PhD", "Other"] },
    "graduated_at": { "type": "string", "format": "date" },
    "gpa":          { "type": "number", "minimum": 0, "maximum": 10 },
    "honours":      { "type": "string", "enum": ["cum laude", "magna cum laude", "summa cum laude", "none"] },
    "thesis_title": { "type": "string" }
  }
}

Display metadata

{
  "name": "Diploma",
  "description": "University diploma credential.",
  "background_color": "#1a2a6e",
  "text_color": "#ffffff",
  "claims": [
    { "path": "institution",  "label": "Institution" },
    { "path": "programme",    "label": "Programme" },
    { "path": "degree",       "label": "Degree" },
    { "path": "graduated_at", "label": "Graduated" }
  ]
}

Sample minted credential

{
  "iss": "did:diploma:tu-delft",
  "sub": "did:key:zQ3sh...",
  "vct": "https://thoryn.org/vct/DiplomaCredential-v1",
  "iat": 1735000000,
  "institution": "TU Delft",
  "programme": "Computer Science",
  "degree": "MSc",
  "graduated_at": "2025-06-30",
  "gpa": 8.4,
  "honours": "cum laude"
}

Lifecycle

  • Expiry: none — diplomas don't expire (no exp claim)
  • Revocation: rare; only on retroactive rescission. Status-list driven, but bit flipped less than 0.01% of the time
  • Deferred flow: not used (graduation is synchronous)

See also