DICE Developer Docs
  • Developer Docs
    • DICE Test Drive
      • Sign-up for Issuer Portal
      • Issue Credentials
      • Verify Credentials
    • Key Concepts
      • DID & Verifiable Credentials
      • DICE ID Architecture
    • Platform Console
      • Dashboard
      • Customers
        • Onboard Customer
      • Credentials
        • Issue Credentials to New Customer
      • Schema
      • Batch Issuance
        • Batch Issuance - Useful Tips
      • Verifications
        • Verification Template
      • Templates
        • Certificate Template
          • Create Template
          • Manage Template
        • Email Template
          • Create Template
          • Manage Template
      • Organization
      • Departments
      • Organization Users
      • API Access
      • Callback Configuration
      • Tutorials
        • Credential Issuance from DICE ID Console
        • Credential Issuance using DICE ID APIs
        • Credential Verification using QR code
        • Credential Verification from DICE ID console
        • Batch Credential Issuance from DICE ID Console
    • Integrations
      • Auth0 Integration
        • Login using OIDC (First Factor Authentication)
        • Custom MFA Rule (For 2FA)
    • DICE ID SDK
      • DICE ID
        • DID & Verifiable Credentials
        • DICE ID Architecture
      • SDK Functionalities
      • Create Wallet
      • Create Connection
      • Creating a Schema
      • Issue a Credential
      • Send Presentation Request
      • Get Verification State
      • Configuration and Customization
      • Error Handling & Troubleshooting
      • Conclusion
      • Additional Resources
  • Getting Started with DICE ID Skill Credentials
    • Building Trust Ecosystems Powered by Credentials
    • DICE ID Integration for Issuers
    • DICE ID Integration for Verifiers
    • DICE ID Brand Usage Guidelines
    • DICE ID Onboarding Confirmation
    • Helpful Q&A
    • Troubleshooting Guide
Powered by GitBook
On this page
  1. Developer Docs
  2. Platform Console

Schema

Steps that cover how schema can be managed to specify the metadata for credentials

PreviousIssue Credentials to New CustomerNextBatch Issuance

Last updated 1 year ago

Schema represents the metadata or structure of the credential that you want to issue to your customers or users. The schema and corresponding credential definition gets stored on blockchain.

DICE ID platform provides ability to create multiple schemas to cater to different use cases. For e.g. you can define one schema for KYC credentials and another schema for Skill credentials. The number and type of attributes that can be specified in a schema is completely configurable.

On this screen you can view the schemas that have already been created for your organization or department along with the option of adding new schema.

Add Schema

For adding a schema you need to specify a unique combination of schema name and version.

  • Make the schema private - selecting this option will ensure that your schema is visible in your organization only. The advantage of keeping schema public is that it can be referred to by other organizations to setup verification of the credentials issued by you

  • Schema used for certificate issuance? - selecting this option will ensure that Cred_URL attribute is added to your schema. This attribute will be used to store the link to the certificate generated by DICE ID platform. To use this option you will be required to specify the certificate template. For more info please refer to Certificate Template

Add one or more attributes specifying the name which should not contain any spaces or special characters other than hyphen or underscore, and also specify the data type.

For each schema one attributed called "dice_display_name" will get mandatorily added. This attribute is a placeholder for specifying a user-friendly credential name that will get displayed in their identity wallet i.e. DICE ID mobile app installed on their phone.

Once you click on Create Schema you will be redirected to the previous screen and the new schema should be visible in the schema list.

Manage Schema

From the Schema list if you click on the name you will be redirected to the detailed page of the Schema which has the Edit and Delete options.

In the Edit mode you can specify a new version number and add or delete attributes. Each schema has a corresponding "Schema ID" and "Credential Definition ID" which will be required when using DICE ID APIs for integration.

Schema