Skip to main content
Version: Next

CredentialConfiguration

formatstringrequired
Example: jwt_vc_json
@contextstring[]required
Example: ["https://www.w3.org/2018/credentials/v1"]
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[]required
Example: ["https://www.w3.org/2018/credentials/v1"]
typestring[]required
Example: ["VerifiableCredential"]
credentialSubjectobject
Example: {"id":{"mandatory":true,"value_type":"string","display":[{"name":"ID","locale":"en-US"}]}}
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
  • ]
  • CredentialConfiguration
    {
    "format": "jwt_vc_json",
    "@context": [
    "https://www.w3.org/2018/credentials/v1"
    ],
    "scope": "openid",
    "cryptographic_binding_methods_supported": [
    "method1",
    "method2"
    ],
    "credential_signing_alg_values_supported": [
    "RS256",
    "ES256"
    ],
    "proof_types_supported": {
    "proof_signing_alg_values_supported": [
    "RS256"
    ]
    },
    "credential_definition": {
    "@context": [
    "https://www.w3.org/2018/credentials/v1"
    ],
    "type": [
    "VerifiableCredential"
    ],
    "credentialSubject": {
    "id": {
    "mandatory": true,
    "value_type": "string",
    "display": [
    {
    "name": "ID",
    "locale": "en-US"
    }
    ]
    }
    }
    },
    "display": [
    {
    "name": "Extended Display Name",
    "locale": "en-US",
    "description": "Extended display description",
    "background_color": "#ffffff",
    "background_image": {
    "uri": "https://example.com/background.png"
    },
    "text_color": "#000000",
    "logo": {
    "uri": "https://example.com/logo.png",
    "alt_text": "Logo alt text"
    }
    }
    ]
    }