Presentation Templates
Presentation templates define the requirements for credential verification. They specify which credentials holders must present and which attributes must be disclosed during the verification process.
Overview
Presentation Templates are verification blueprints that define what credentials and attributes a holder must present. They enable selective disclosure, allowing holders to share only the necessary information while maintaining privacy.
Key Concepts
Selective Disclosure
Request only specific attributes from credentials, protecting holder privacy while meeting verification requirements.
Multi-Credential Verification
Require multiple credentials in a single verification request for comprehensive validation.
DCQL Query Generation
Automatically generates DCQL (Digital Credential Query Language) queries based on your configuration.
Attribute Matching
Set specific values that attributes must match for verification to succeed.
Creating a Presentation Template
Prerequisites
Before creating a presentation template, ensure you have:
- Created a Project: Presentation templates belong to projects
- Created Credential Templates: You'll select from existing credential templates
Step 1: Navigate to Templates
- Select your project from the project selector
- Navigate to the "Templates" section
- Click "Create Template" or select "Presentation Template"
Step 2: Basic Information
- Template Name: Enter a descriptive name (e.g., "Employee Access Verification")
- Description: Add a detailed description of what this verification process is for
- Explain the use case
- Describe when this verification would be used
- Include any relevant context
Step 3: Select Credential Templates
Add the credential templates that holders must present:
- Click "Add Credential" or "Select Credential Template"
- Choose from your existing credential templates
- For each credential template, you can:
- View Credential Details: See the credential's structure and attributes
- Set Purpose: Explain why this credential is required
- Select Attributes: Choose which attributes must be disclosed
Step 4: Configure Required Attributes
For each credential template, select which attributes are required:
- Expand Credential: Click to view all available attributes
- Select Attributes: Check the boxes for attributes that must be disclosed
- Set Attribute Purpose: Optionally specify why each attribute is needed
- Set Matching Values (optional): Specify exact values that must match
- Useful for verifying specific conditions
- Example: Verify age is 18 or older
- Example: Verify employee ID matches a specific value
Attribute Selection Best Practices
- Minimal Data: Only select attributes you actually need
- Clear Purpose: Document why each attribute is required
- Privacy Consideration: Request the minimum necessary information
- Nested Attributes: For Object-type attributes, you can select nested properties individually
Step 5: Configure Issuer Settings
- Select Issuer: Choose the issuer DID or X.509 certificate that will sign verification requests
- Issuer Type: Select whether to use:
- DID: Decentralized identifier (recommended)
- X.509: X.509 certificate
Step 6: Review and Save
- Review Configuration: Verify all credentials and attributes are correctly selected
- Check Requirements: Ensure the template covers all verification needs
- Click "Create Template": Save the presentation template
After creation, Skippy ID automatically:
- ✅ Creates or associates a verifier for this template
- ✅ Generates the DCQL query based on your selections
- ✅ Makes the template available for verification requests