Demo Identity Credential

A demonstration verifiable credential for identity verification. This credential can be used as a template for creating your own VCTM credentials.

https://example.com/credentials/demo-identity

Credential Template Preview

SVG credential template

Display Properties

Default

Source

Repository
leifj/vctm-template
Commit
66ba00f157b785126fb3bcc7175fcf7314ef3bef
Last Updated
2026-02-22T20:22:00Z

Claims (6)

Path Display Name
email
nationality
national_id
given_name
family_name
birth_date

SD-JWT VC Type Metadata (IETF draft-ietf-oauth-sd-jwt-vc)

{
  "claims": [
    {
      "description": "Email address of the holder",
      "display": [
        {
          "label": "Email",
          "lang": "en"
        }
      ],
      "path": [
        "email"
      ]
    },
    {
      "description": "Nationality of the credential holder",
      "display": [
        {
          "label": "Nationality",
          "lang": "en"
        }
      ],
      "path": [
        "nationality"
      ]
    },
    {
      "description": "National identification number",
      "display": [
        {
          "label": "National ID",
          "lang": "en"
        }
      ],
      "path": [
        "national_id"
      ],
      "sd": "always"
    },
    {
      "description": "The given name of the credential holder",
      "display": [
        {
          "label": "Given Name",
          "lang": "en"
        }
      ],
      "path": [
        "given_name"
      ]
    },
    {
      "description": "The family name of the credential holder",
      "display": [
        {
          "label": "Family Name",
          "lang": "en"
        }
      ],
      "path": [
        "family_name"
      ]
    },
    {
      "description": "Date of birth of the holder",
      "display": [
        {
          "label": "Date of Birth",
          "lang": "en"
        }
      ],
      "path": [
        "birth_date"
      ],
      "sd": "always"
    }
  ],
  "description": "A demonstration verifiable credential for identity verification. This credential can be used as a template for creating your own VCTM credentials.",
  "display": [
    {
      "rendering": {
        "simple": {
          "background_color": "#1a365d",
          "text_color": "#ffffff"
        },
        "svg_templates": [
          {
            "uri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgPCEtLSBCYWNrZ3JvdW5kIENpcmNsZSAtLT4KICA8Y2lyY2xlIGN4PSIxMDAiIGN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ZmlsbD0iIzFhMzY1ZCIgb3BhY2l0eT0iMC40Ii8+CiAgICAKICAgIDwhLS0gQ2hlY2ttYXJrIC0gVmVyaWZpY2F0aW9uIFN5bWJvbCAtLT4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLCA5NSkiPgogICAgICA8Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIxNSIgZmlsbD0iIzJlY2M3MSIgb3BhY2l0eT0iMC45Ii8+CiAgICAgIDxwYXRoIGQ9Ik0gOCAxNSBMIDEzIDIwIEwgMjIgMTAiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIzIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KICAgIDwvZz4KICA8L2c+CiAgCiAgPCEtLSBUZXh0IC0tPgogIDx0ZXh0IHg9IjEwMCIgeT0iMTg1IiBmb250LWZhbWlseT0iQXJpYWwsIHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtd2VpZ2h0PSJib2xkIj4KICAgIERFTU8gQ1JFREVOVElBTAogIDwvdGV4dD4KPC9zdmc+Cg=="
          }
        ]
      }
    }
  ],
  "name": "Demo Identity Credential",
  "vct": "https://example.com/credentials/demo-identity"
}

OpenID4VCI credential configuration for ISO 18013-5 mobile documents

{
  "format": "mso_mdoc",
  "doctype": "com.example.credentials.demo-identity",
  "display": [
    {
      "locale": "en-US",
      "name": "Demo Identity Credential",
      "description": "A demonstration verifiable credential for identity verification. This credential can be used as a template for creating your own VCTM credentials.",
      "background_color": "#1a365d",
      "text_color": "#ffffff"
    }
  ],
  "claims": {
    "com.example.credentials.demo-identity": {
      "birth_date": {
        "display": [
          {
            "locale": "en-US",
            "name": "Date of Birth"
          },
          {
            "locale": "de-DE",
            "name": "Geburtsdatum"
          },
          {
            "locale": "fr",
            "name": "Date de naissance"
          }
        ],
        "value_type": "full-date"
      },
      "email": {
        "display": [
          {
            "locale": "en-US",
            "name": "Email"
          }
        ],
        "value_type": "tstr"
      },
      "family_name": {
        "display": [
          {
            "locale": "en-US",
            "name": "Family Name"
          },
          {
            "locale": "fr",
            "name": "Nom de famille"
          },
          {
            "locale": "de-DE",
            "name": "Familienname"
          }
        ],
        "mandatory": true,
        "value_type": "tstr"
      },
      "given_name": {
        "display": [
          {
            "locale": "en-US",
            "name": "Given Name"
          },
          {
            "locale": "de-DE",
            "name": "Vorname"
          },
          {
            "locale": "fr",
            "name": "Prénom"
          }
        ],
        "mandatory": true,
        "value_type": "tstr"
      },
      "national_id": {
        "display": [
          {
            "locale": "en-US",
            "name": "National ID"
          }
        ],
        "value_type": "tstr"
      },
      "nationality": {
        "display": [
          {
            "locale": "en-US",
            "name": "Nationality"
          },
          {
            "locale": "de-DE",
            "name": "Staatsangehörigkeit"
          },
          {
            "locale": "fr",
            "name": "Nationalité"
          }
        ],
        "value_type": "tstr"
      }
    }
  }
}

W3C VCDM 2.0 JSON Schema

{
  "type": [
    "VerifiableCredential",
    "DemoIdentityCredential"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://raw.githubusercontent.com/leifj/vctm-template/vctm/contexts/demo-identity/v1"
  ],
  "name": "Demo Identity Credential",
  "description": "A demonstration verifiable credential for identity verification. This credential can be used as a template for creating your own VCTM credentials.",
  "display": {
    "backgroundColor": "#1a365d",
    "textColor": "#ffffff"
  },
  "credentialSchema": {
    "type": "JsonSchema",
    "properties": {
      "credentialSubject": {
        "type": "object",
        "properties": {
          "birth_date": {
            "type": "string",
            "title": "Date of Birth",
            "description": "Date of birth of the holder",
            "format": "date"
          },
          "email": {
            "type": "string",
            "title": "Email",
            "description": "Email address of the holder"
          },
          "family_name": {
            "type": "string",
            "title": "Family Name",
            "description": "The family name of the credential holder"
          },
          "given_name": {
            "type": "string",
            "title": "Given Name",
            "description": "The given name of the credential holder"
          },
          "national_id": {
            "type": "string",
            "title": "National ID",
            "description": "National identification number"
          },
          "nationality": {
            "type": "string",
            "title": "Nationality",
            "description": "Nationality of the credential holder"
          }
        },
        "required": [
          "given_name",
          "family_name"
        ]
      }
    }
  }
}