Verifiable Credential
A Verifiable Credential (VC) is a secure digital document that encapsulates information about a person or entity. These credentials facilitate easy sharing and automatic verification. A key feature of VCs is their ability for selective disclosure, which allows the holder to reveal only certain aspects of information while keeping other details private.
Credential Templates
A Verifiable Credential are issued from a credential template
Template fields
| Name | Type | Description |
|---|---|---|
| id | string | Corresponds to the id returned when credential template was created |
| type | string | Always VerifiableCredential |
| ns | string | ID of namespace in which credential template resides |
| createdBy | string | ID of account which defined the credential template |
| name | string | Name provided during credential template creation |
| schemaUri | string | HTTPS URL pointing to JSON Schema |
| contextUri | string | HTTPS URL pointing to JSON-LD Context |
| version | int | Version of template; increments whenever template is modified. |
| fields | object | JSON Object representing the credential template's fields |