ARC: ID schema document
Reference document: https://docs.mosip.io/1.2.0/id-lifecycle-management/id-schema
ID Schema document update to implement selected handles.
Below links explain what is handle in detail:
https://mosip.atlassian.net/wiki/spaces/PROD/pages/1392803883
https://mosip.atlassian.net/wiki/spaces/DD/pages/1191674721
Need to define some changes in the Id-Schema in the respective environment:
"selectedHandles": {
"fieldCategory": "none",
"format": "none",
"type": "array",
"items": { "type": "string" },
"fieldType": "default"
},
Once this is done, Next step would be choose what are the fields that can be marked as selected handle. For this need to enable
“handle”: true
Let’s assume referenceIdentityNumber as a handle following changes required:
"referenceIdentityNumber": {
"bioAttributes": [],
"validators": [
{
"validator": "^([0-9]{10,30})$",
"arguments": [],
"type": "regex"
}
],
"fieldCategory": "pvt",
"format": "kyc",
"type": "string",
"fieldType": "default",
"handle": true
},
And similarly for email:
"email": {
"bioAttributes": [],
"validators": [
{
"validator": "^[A-Za-z0-9_\\-]+(\\.[A-Za-z0-9_]+)*@[A-Za-z0-9_-]+(\\.[A-Za-z0-9_]+)*(\\.[a-zA-Z]{2,})$",
"arguments": [],
"type": "regex"
}
],
"fieldCategory": "pvt",
"format": "none",
"type": "string",
"fieldType": "default",
"handle": true
},
These are the changes required to do in the Id-Schema in respective environment to implement selected handles feature.
, multiple selections available,
Related content
Biometric Field Validation
Biometric Field Validation
More like this
UI Specification
UI Specification
More like this
ID Schema
ID Schema
More like this
Sample ID Schema
Sample ID Schema
More like this