Skip to content

Commit

Permalink
Updated social registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjoshi751 committed Dec 27, 2023
1 parent 72cb75c commit a27262e
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions platform/modules/social-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,52 @@ Social Registry (SR) is an independent module offered by OpenG2P to enable creat
* Bulk update using CSV
* Import of data from others sources
* Offline update using ODK Central

## Features

* Registry of human demographic data
* Should be a trusted source of truth
* Attestation
* Verifiable Credentials: should be able to issue VC 
* Person should have control over his/her data – person should be able to update the data (self service)
* Privacy & security of data (using MOSIP encryption modules)
* Should be possible to share this data with others (DPI)
* Compliant to standards like DCI/G2P Connect/GovStack
* Should be possible to add fields in the registry
* Timestamped data 
* Change log
* Reporting (Statistics)

## DB design

For attestation and change log maintain following tables:

* **Change log table**
* id of the field
* changed datetime
* changed by
* previous value
* new value
* comments
* **Attestation table**
* id of the field
* status (NEW, ATTESTED, REJECTED ..)
* attested by
* attestation datetime
* comments

The `status` fields will come from buisness processes and real use cases.

## User interface

UI required for the following:

* Person to login, view and update records
* Admin to view and attest fields with comments
* Download of CSV for chosen fields of registry
* Upload of attested CSV

## Bulk attestation

We should be able to download a CSV from the registry, apply bulk attestation, and upload back the CSV. The upload should trigger update of registry, change log and attestation table

0 comments on commit a27262e

Please sign in to comment.