/
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.

  1. 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:

1"selectedHandles": { 2          "fieldCategory": "none", 3          "format": "none", 4          "type": "array", 5          "items": { "type": "string" }, 6          "fieldType": "default" 7        },

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

1“handle”: true

Let’s assume referenceIdentityNumber as a handle following changes required:

1"referenceIdentityNumber": { 2          "bioAttributes": [], 3          "validators": [ 4            { 5              "validator": "^([0-9]{10,30})$", 6              "arguments": [], 7              "type": "regex" 8            } 9          ], 10          "fieldCategory": "pvt", 11          "format": "kyc", 12          "type": "string", 13          "fieldType": "default", 14          "handle": true 15        },

And similarly for email:

1"email": { 2          "bioAttributes": [], 3          "validators": [ 4            { 5              "validator": "^[A-Za-z0-9_\\-]+(\\.[A-Za-z0-9_]+)*@[A-Za-z0-9_-]+(\\.[A-Za-z0-9_]+)*(\\.[a-zA-Z]{2,})$", 6              "arguments": [], 7              "type": "regex" 8            } 9          ], 10          "fieldCategory": "pvt", 11          "format": "none", 12          "type": "string", 13          "fieldType": "default", 14          "handle": true 15        },

These are the changes required to do in the Id-Schema in respective environment to implement selected handles feature.