UI Specifications
Content
Overview
The Registration Client UI is dynamically configured using JSON specifications derived from the ID Schema. This approach ensures that registration forms are country-specific and adaptable to different identity requirements.
Key Concepts
Process/Task: A registration workflow (NEW, UPDATE, LOST, CORRECTION)
Screen: A page within a process containing multiple fields
Field: Individual input elements with specific data types and validations
Dynamic Rendering: UI components are generated based on JSON specifications
Process & Task Configuration
Process Specification Structure
Process Configuration Parameters
id
String
Yes
Unique process identifier (NEW/UPDATE/LOST/CORRECTION)
order
Number
Yes
Display order on home screen
flow
String
Yes
Process flow type
label
Object
Yes
Multi-language process labels
screens
Array
Yes
Screen configurations for the process
caption
Object
No
Tooltip text for process
icon
String
No
Icon file name for process
isActive
Boolean
Yes
Enable/disable process
autoSelectedGroups
Array
No
Pre-selected field groups for UPDATE process
Supported Process Types
NEW
NEW
Initial registration
First-time identity creation
UPDATE
UPDATE
Update existing identity
Demographic/biometric updates
LOST
LOST
Replace lost identity
UIN card replacement
BIOMETRIC_CORRECTION
CORRECTION
Correct biometric data
Fix biometric capture errors
Screen Configuration
Screen Specification Structure
Screen Configuration Parameters
order
Number
Yes
Screen sequence in process
name
String
Yes
Unique screen identifier
label
Object
Yes
Multi-language screen titles
caption
Object
No
Screen description/tooltip
fields
Array
Yes
Field configurations
layoutTemplate
String
No
Custom layout template
preRegFetchRequired
Boolean
No
Enable pre-registration data fetch
additionalInfoRequestIdRequired
Boolean
No
Capture additional info request ID
active
Boolean
Yes
Show/hide screen
Screen Types & Navigation
Data Entry
Capture user information
Next/Previous buttons
Review
Display entered data for confirmation
Edit/Confirm options
Document Upload
File upload interface
Upload/Preview/Remove
Biometric Capture
Biometric data collection
Capture/Retry/Exception
Field Specifications
Field Configuration Structure
Essential Field Parameters
id
String
Yes
Unique field identifier matching ID Schema
"fullName"
inputRequired
Boolean
Yes
Whether UI input is needed
true
type
String
Yes
Data type from ID Schema
"string"
controlType
String
Yes
UI component type
"textbox"
label
Object
Yes
Multi-language field labels
{"eng": "Full Name"}
required
Boolean
Yes
Mandatory field flag
true
Control Types Reference
textbox
Single-line text input
String data
Names, addresses, ID numbers
fileupload
File selection and upload
Document/image files
Certificates, photos, proof documents
dropdown
Selection from predefined options
Selected value from list
Country, state, document type
checkbox
Boolean selection
True/false
Consent acceptance, optional flags
button
Action trigger or selection
Click event/selected option
Language selection, navigation
date
Date picker with calendar
Date value
Date of birth, expiry dates
ageDate
Age-based date validation
Date with age constraints
DOB with min/max age limits
html
Custom HTML content display
Static/dynamic content
Terms & conditions, instructions
biometrics
Biometric capture interface
Biometric data
Fingerprints, iris, face capture
Field Types
default
Standard form fields
Static configuration in UI spec
dynamic
Runtime-configurable fields
Values loaded from master data
Data Types
string
Text data
Names, addresses, phone numbers
simpleType
Basic data types
Numbers, booleans, simple strings
documentType
Document uploads
Certificates, ID proofs, photos
biometricsType
Biometric data
Fingerprints, iris scans, face images
Advanced Field Parameters
minimum
Number
Minimum value/length
Date ranges, text length
maximum
Number
Maximum value/length
Age limits, character limits
format
String
Text case formatting
"uppercase", "lowercase", "none"
validators
Array
Validation rules
Regex patterns, custom validations
fieldCategory
String
Data sharing category
"pvt", "evidence", "kyc"
alignmentGroup
String
Horizontal field grouping
Layout arrangement
visible
Object
Conditional display logic
MVEL expressions
group
String
Field grouping for UPDATE process
Group-based updates
transliterate
Boolean
Auto-transliteration support
Multi-language names
Biometric Field Configuration
Biometric Attributes Reference
face
Facial photograph
All ages
leftEye, rightEye
Iris scans
All ages
leftThumb, rightThumb
Thumb fingerprints
Adults/Children
leftIndex, rightIndex
Index fingerprints
Adults/Children
leftMiddle, rightMiddle
Middle fingerprints
Adults/Children
leftRing, rightRing
Ring fingerprints
Adults/Children
leftLittle, rightLittle
Little fingerprints
Adults/Children
Navigation Flow
User Journey Through Registration
Navigation Controls
Next
Move to next screen
After validation passes
Previous
Return to previous screen
All screens except first
Home
Return to home screen
All screens
Save
Save current progress
All data entry screens
Submit
Submit completed form
Final review screen
Screen Progression Logic
Linear Flow: Screens appear in
ordersequenceConditional Display: Based on
visibleexpressionsValidation Gates: Next screen unlocked after validation
Group-based Navigation: UPDATE process allows group selection
Validation Framework
Validator Configuration
Validation Types
regex
Regular expression validation
Pattern in validator field
required
Mandatory field check
required: true
length
String length validation
minimum/maximum values
date
Date range validation
Date constraints
age
Age-based validation
Age group calculations
Error Handling
UI_1xxxxx
Field validation errors
UI_100001 - Invalid format
UI_2xxxxx
Screen validation errors
UI_200001 - Missing required field
UI_3xxxxx
Process validation errors
UI_300001 - Process not available
Custom Validation Examples
Best Practices
1. Field Configuration
Do's
Use descriptive field IDs that match ID Schema exactly
Provide comprehensive labels in all supported languages
Set appropriate field categories (
pvt,evidence,kyc)Configure proper validation for data integrity
Use alignment groups for logical field grouping
Don'ts
Don't use generic field IDs like
field1,field2Don't skip validation for critical fields
Don't ignore multi-language requirements
Don't use inappropriate control types for data
2. Screen Design
Recommended Patterns
Field Grouping Example
3. Process Configuration
Process Naming Convention
Use UPPERCASE for process IDs
Use descriptive icons for visual identification
Set logical order for home screen display
Enable isActive only for ready processes
4. Conditional Logic
Visibility Expression Example
Required Field Logic
Common Use Cases
1. Age-Based Field Display
Scenario: Show spouse details only for married adults
2. Document Type Configuration
Scenario: Configure proof of address document upload
3. Biometric Exception Handling
Scenario: Configure fingerprint capture with exception support
4. Dynamic Dropdown Configuration
Scenario: Country-based state selection
5. Multi-Language Name Entry
Scenario: Name entry with transliteration
Troubleshooting
Common Issues & Solutions
Field Not Displaying
Problem: Field configured but not visible Solutions:
Check
visibleexpression syntaxVerify
activeflag on screenConfirm field
idmatches ID SchemaValidate
inputRequiredsetting
Validation Not Working
Problem: Field accepts invalid data Solutions:
Verify regex pattern syntax
Check
langCodespecificityConfirm validator
typeis supportedTest with sample data
Biometric Capture Issues
Problem: Biometric fields not capturing data Solutions:
Verify
bioAttributesconfigurationCheck device connectivity
Confirm
exceptionPhotoRequiredsettingValidate age group conditions
Navigation Problems
Problem: Cannot proceed to next screen Solutions:
Check required field completion
Verify validation rules pass
Confirm screen
ordersequenceCheck conditional navigation logic
Debug Checklist
Error Code Reference
UI_1xxxxx
Field validation
Check field configuration and input data
UI_2xxxxx
Screen validation
Verify screen-level requirements
UI_3xxxxx
Process validation
Check process configuration
BIO_xxxxx
Biometric errors
Verify device and biometric settings
DOC_xxxxx
Document errors
Check file type and upload settings
Advanced Configuration
Custom HTML Fields
Location Hierarchy
Change Actions
This comprehensive guide provides the foundation for configuring and customizing Registration Client UI specifications to meet specific country requirements while maintaining consistency and usability.
Last updated
Was this helpful?