{
  "type": [
    "VerifiableCredential",
    "StudentIDCredential"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://raw.githubusercontent.com/leifj/vctm-template/vctm/contexts/student-id/v1"
  ],
  "name": "Student ID Credential",
  "description": "A verifiable credential representing a student identification card. This credential demonstrates SVG template rendering with claim placeholders and multi-language support.",
  "display": {
    "backgroundColor": "#0047AB",
    "textColor": "#ffffff"
  },
  "credentialSchema": {
    "type": "JsonSchema",
    "properties": {
      "credentialSubject": {
        "type": "object",
        "properties": {
          "family_name": {
            "type": "string",
            "title": "Family Name",
            "description": "Student's family name"
          },
          "given_name": {
            "type": "string",
            "title": "Given Name",
            "description": "Student's given name"
          },
          "institution": {
            "type": "string",
            "title": "Institution",
            "description": "Name of the educational institution"
          },
          "photo": {
            "type": "string",
            "title": "Photo",
            "description": "Student photo",
            "contentEncoding": "base64"
          },
          "program": {
            "type": "string",
            "title": "Academic Program",
            "description": "Academic program or major"
          },
          "student_id": {
            "type": "string",
            "title": "Student ID",
            "description": "Unique student identification number"
          },
          "valid_from": {
            "type": "string",
            "title": "Valid From",
            "description": "Start date of validity",
            "format": "date"
          },
          "valid_until": {
            "type": "string",
            "title": "Valid Until",
            "description": "Expiration date of the credential",
            "format": "date"
          }
        },
        "required": [
          "student_id",
          "institution",
          "valid_from",
          "valid_until",
          "given_name",
          "family_name"
        ]
      }
    }
  }
}