Skip to main content
Version: v0.13.0

CredentialConfiguration

formatstringrequired

Possible values: [jwt_vc_json, jwt_vc_json-ld, ldp_vc, iso_mso_mdoc]

Example: jwt_vc_json
@contextstring[]required
Example: ["https://www.w3.org/ns/credentials/v2"]
scopestring
Example: openid
cryptographic_binding_methods_supportedstring[]
Example: ["method1","method2"]
credential_signing_alg_values_supportedstring[]
Example: ["RS256","ES256"]
proof_types_supported object
property name* object
proof_signing_alg_values_supportedstring[]
credential_definition object
@contextstring[]
Example: ["https://www.w3.org/ns/credentials/v2"]
typestring[]required
Example: ["VerifiableCredential","UniversityDegree"]
credential_metadata object
display object[]
  • Array [
  • namestring
    Example: Extended Display Name
    localestring
    Example: en-US
    logo object
    uristringrequired
    Example: https://example.com/image.png
    alt_textstring
    Example: Logo alt text
    descriptionstring
    Example: Extended display description
    background_colorstring
    Example: #ffffff
    background_image object
    uristringrequired
    Example: https://example.com/image.png
    text_colorstring
    Example: #000000
  • ]
  • claims object[]
  • Array [
  • path object[]required
  • Array [
  • oneOf
    string
  • ]
  • mandatoryboolean
    Example: true
    display object[]
  • Array [
  • namestring
    Example: Display Name
    localestring
    Example: en-US
  • ]
  • ]
  • CredentialConfiguration
    {
    "format": "jwt_vc_json",
    "@context": [
    "https://www.w3.org/ns/credentials/v2"
    ],
    "scope": "openid",
    "cryptographic_binding_methods_supported": [
    "method1",
    "method2"
    ],
    "credential_signing_alg_values_supported": [
    "RS256",
    "ES256"
    ],
    "proof_types_supported": {
    "jwt": {
    "proof_signing_alg_values_supported": [
    "RS256",
    "ES256"
    ]
    },
    "di_vp": {
    "proof_signing_alg_values_supported": [
    "EdDSA"
    ]
    },
    "attestation": {
    "proof_signing_alg_values_supported": [
    "ES256"
    ]
    }
    },
    "credential_definition": {
    "@context": [
    "https://www.w3.org/ns/credentials/v2"
    ],
    "type": [
    "VerifiableCredential",
    "UniversityDegree"
    ]
    },
    "credential_metadata": {
    "display": [
    {
    "name": "University Degree",
    "locale": "en-US",
    "description": "A verified university degree credential",
    "background_color": "#ffffff",
    "text_color": "#000000",
    "logo": {
    "uri": "https://example.com/logo.png",
    "alt_text": "Logo alt text"
    }
    }
    ],
    "claims": [
    {
    "path": [
    "name"
    ],
    "mandatory": true,
    "display": [
    {
    "name": "Full Name",
    "locale": "en-US"
    }
    ]
    }
    ]
    }
    }