Credential Template Preview
Display Properties
Default
Source
- Repository
- leifj/vctm-template
- Commit
66ba00f157b785126fb3bcc7175fcf7314ef3bef- Last Updated
- 2026-02-22T20:22:00Z
66ba00f157b785126fb3bcc7175fcf7314ef3bef| Path | Display Name |
|---|---|
claim_name |
|
another_claim |
|
selective_claim |
|
string |
|
integer |
|
date |
|
datetime |
|
optional_claim |
|
boolean |
|
image |
SD-JWT VC Type Metadata (IETF draft-ietf-oauth-sd-jwt-vc)
{
"claims": [
{
"description": "Description of this claim",
"display": [
{
"label": "Claim Label",
"lang": "en"
}
],
"path": [
"claim_name"
]
},
{
"description": "Description of another claim",
"display": [
{
"label": "Another Claim",
"lang": "en"
}
],
"path": [
"another_claim"
]
},
{
"description": "A claim with selective disclosure",
"display": [
{
"label": "Selective Claim",
"lang": "en"
}
],
"path": [
"selective_claim"
],
"sd": "always"
},
{
"description": "- Text values (default)",
"path": [
"string"
]
},
{
"description": "- Whole numbers",
"path": [
"integer"
]
},
{
"description": "- Date values (YYYY-MM-DD)",
"path": [
"date"
]
},
{
"description": "- Date with time (ISO 8601)",
"path": [
"datetime"
]
},
{
"description": "An optional claim",
"display": [
{
"label": "Optional Claim",
"lang": "en"
}
],
"path": [
"optional_claim"
]
},
{
"description": "- True/false values",
"path": [
"boolean"
]
},
{
"description": "- Base64-encoded image data",
"path": [
"image"
]
}
],
"display": [
{
"rendering": {
"simple": {
"background_color": "#1a365d",
"text_color": "#ffffff"
},
"svg_templates": [
{
"uri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgPCEtLSBCYWNrZ3JvdW5kIENpcmNsZSAtLT4KICA8Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9Ijk1IiBmaWxsPSIjMWEzNjVkIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZ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JrIC0gVmVyaWZpY2F0aW9uIFN5bWJvbCAtLT4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLCA5NSkiPgogICAgICA8Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIxNSIgZmlsbD0iIzJlY2M3MSIgb3BhY2l0eT0iMC45Ii8+CiAgICAgIDxwYXRoIGQ9Ik0gOCAxNSBMIDEzIDIwIEwgMjIgMTAiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIzIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KICAgIDwvZz4KICA8L2c+CiAgCiAgPCEtLSBUZXh0IC0tPgogIDx0ZXh0IHg9IjEwMCIgeT0iMTg1IiBmb250LWZhbWlseT0iQXJpYWwsIHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtd2VpZ2h0PSJib2xkIj4KICAgIERFTU8gQ1JFREVOVElBTAogIDwvdGV4dD4KPC9zdmc+Cg=="
}
]
}
}
],
"name": "doctype: com.example.credentials.your-credential",
"vct": "https://example.com/credentials/your-credential-id"
}
OpenID4VCI credential configuration for ISO 18013-5 mobile documents
{
"format": "mso_mdoc",
"doctype": "com/leifj/vctm-template/vctm.githubusercontent.raw.credentials.TEMPLATE",
"display": [
{
"locale": "en-US",
"name": "doctype: com.example.credentials.your-credential",
"background_color": "#1a365d",
"text_color": "#ffffff"
}
],
"claims": {
"com/leifj/vctm-template/vctm.githubusercontent.raw.credentials.TEMPLATE": {
"another_claim": {
"display": [
{
"locale": "en-US",
"name": "Another Claim"
}
],
"value_type": "tstr"
},
"boolean": {
"display": [
{
"locale": "en-US",
"name": "boolean"
}
],
"value_type": "tstr"
},
"claim_name": {
"display": [
{
"locale": "en-US",
"name": "Claim Label"
},
{
"locale": "sv",
"name": "Etikett"
},
{
"locale": "de-DE",
"name": "Bezeichnung"
}
],
"mandatory": true,
"value_type": "tstr"
},
"date": {
"display": [
{
"locale": "en-US",
"name": "date"
}
],
"value_type": "tstr"
},
"datetime": {
"display": [
{
"locale": "en-US",
"name": "datetime"
}
],
"value_type": "tstr"
},
"image": {
"display": [
{
"locale": "en-US",
"name": "image"
}
],
"value_type": "tstr"
},
"integer": {
"display": [
{
"locale": "en-US",
"name": "integer"
}
],
"value_type": "tstr"
},
"optional_claim": {
"display": [
{
"locale": "en-US",
"name": "Optional Claim"
}
],
"value_type": "tstr"
},
"selective_claim": {
"display": [
{
"locale": "en-US",
"name": "Selective Claim"
}
],
"value_type": "tstr"
},
"string": {
"display": [
{
"locale": "en-US",
"name": "string"
}
],
"value_type": "tstr"
}
}
}
}
W3C VCDM 2.0 JSON Schema
{
"type": [
"VerifiableCredential",
"doctype:com.example.credentials.yourcredential"
],
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://raw.githubusercontent.com/leifj/vctm-template/vctm/contexts/TEMPLATE/v1"
],
"name": "doctype: com.example.credentials.your-credential",
"display": {
"backgroundColor": "#1a365d",
"textColor": "#ffffff"
},
"credentialSchema": {
"type": "JsonSchema",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"another_claim": {
"type": "string",
"title": "Another Claim",
"description": "Description of another claim"
},
"boolean": {
"type": "string",
"title": "boolean",
"description": "- True/false values"
},
"claim_name": {
"type": "string",
"title": "Claim Label",
"description": "Description of this claim"
},
"date": {
"type": "string",
"title": "date",
"description": "- Date values (YYYY-MM-DD)"
},
"datetime": {
"type": "string",
"title": "datetime",
"description": "- Date with time (ISO 8601)"
},
"image": {
"type": "string",
"title": "image",
"description": "- Base64-encoded image data"
},
"integer": {
"type": "string",
"title": "integer",
"description": "- Whole numbers"
},
"optional_claim": {
"type": "string",
"title": "Optional Claim",
"description": "An optional claim"
},
"selective_claim": {
"type": "string",
"title": "Selective Claim",
"description": "A claim with selective disclosure"
},
"string": {
"type": "string",
"title": "string",
"description": "- Text values (default)"
}
},
"required": [
"claim_name"
]
}
}
}
}