Masterdata is the necessary base data to run MOSIP services. The data resides in mosip_master
database. This data needs to be customized for a country specific deployment.
Masterdata may be uploaded in the following manner:
-
One-time bulk upload:
- Default masterdata (for sandbox installation): Using Helm chart. The default data uploaded during sandbox installation is available in mosip-data.
- Country specific data: Using Python scripts.
-
Updates: Updates to tables may be done using the Admin Portal.
The tables that need to be modified for country specific data are listed below. Other tables in mosip_master
DB are either system-filled or pre-filled and not to be modified.
- Copy Excel files from mosip-data to a folder.
- For all tables listed below modify
lang_code
and add corresponding rows for your configured languages. - Modify the files for your deployment as per guide below.
- Upload first time using scripts given here.
- Subsequently, update data ONLY using Admin Portal.
Category | Table | Guide |
---|---|---|
Documents | doc_category |
Categories of documents to be captured |
doc_type |
Specific documents related to a country | |
applicant_valid_document |
Mapping of document category, type and applicant type | |
Location | loc_hierarchy_list |
List of location hierarchy |
location |
List of locations stored in a hierarchical format | |
loc_holiday |
Holidays specific to different locations. Used in registration centre creation. | |
Machine | machine_type |
Example mobile, stationary. Refers to machine_spec . |
machine_spec |
Model, make of the registration machine | |
ID Schema | identity_schema |
Refer to ID Schema customisation. Update the JSON in schema_json column of identity_schema.xlsx |
dynamic_field |
Dynamic dropdowns used during data capture | |
id_type |
Only name and descr can be changed based on language |
|
ui_spec |
UI specification for registration and pre-registration UI screens. See UI spec guides | |
Registration client | permitted_local_config |
List of changeable configurations by the operator |
app_authentication_method |
Only method_seq can be changed |
|
app_detail |
Only name and descr can be changed based on language |
|
app_role_priority |
Only priority can be changed |
|
authentication_method |
Only method_seq can be changed |
|
reason_list |
List of reasons for a reason category | |
reason_category |
Only name and descr can be changed based on language |
|
Registration center | reg_center_type |
Type of center |
registration_center |
List of registration centers | |
registration_center_h |
Historical data for any modification done on a registration center. One time intialization of this table identical to registration_center . Thereafter, the data will be system updated |
|
reg_exceptional_holiday |
Exception holiday for a registration center | |
reg_working_nonworking |
Working and non-working day for a center | |
Biometrics | biometric_attribute |
Only name and descr can be changed based on language |
biometric_type |
Only name and descr can be changed based on language |
|
Templates | template |
Only name , descr , file_txt can be changed based on language |
template_file_format |
Only descr can be changed based on language |
|
template_type |
Only descr can be changed based on language |
|
Others | blocklisted_words |
List of blocked words |
daysofweek_list |
Only name can be changed based on language |
|
module_detail |
Only name and descr can be changed based on language |
|
process_list |
Only name and descr can be changed based on language |
|
status_list |
Only descr can be changed based on language |
|
status_type |
Only name and descr can be changed based on language |
|
title |
List of titles used in the country | |
zone |
List of administrative zones in a country |