Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 3.1 KB

File metadata and controls

14 lines (7 loc) · 3.1 KB

User Consent

sunbird.user_consent [PRIMARY KEY (user_id, consumer_id, object_id)]

Table used to store user consent to share PII

Column NameData TypeDescriptionSample Data
user_idtextUUID of the user0dd78c26-4226-4cd5-b883-23e7dc277047
consumer_idtextorganisation Identifier01269878797503692810
object_idtextobject Identifier on which consent is provided on01269878797503692810 OR do_2130448790797926401216
categorieslist<text>
consent_datatext
consumer_typetextORGANISATION
created_ontimestampRecord created on2021-12-06 11:03:09.059000+0000
expirytimestampRecord expires on2022-03-16 11:03:09.057000+0000
idtextconsent identifierusr-consent:ed9d0289-8d5b-4d39-89d2-1a1b5ce69828:01269878797503692810:01269878797503692810
last_updated_ontimestamprecord recently updated on2021-12-06 11:03:09.059000+0000
object_typetextObject type on which user has provided consent to share PII Organisation/Collection
statustextConsent statusACTIVE/REVOKED

sunbird.user_declarations [PRIMARY KEY (userid, orgid, persona)]

Table used to store user declared fields details

Column NameData TypeDescriptionSample Data
useridtextUUID of the usered9d0289-8d5b-4d39-89d2-1a1b5ce69828
orgidtextOrganisation Identifier to which user belongs to01269878797503692810
personatextType of the teacher: default/teacherteacher
createdbytextNot used
createdontimestamprecord created on2020-12-07 12:06:59.467000+0000
errortypetextDeclared record validation error typeERROR-DISTRICT, ERROR-PHONE, ERROR-EMAIL, ERROR-SCHOOL ORG NAME, ERROR-SCHOOL ORG ID, ERROR-ID, ERROR-NAME, ERROR-STATE
statustextStatus of the declaration:
SUBMITTED, VALIDATED, REJECTED, ERROR
SUBMITTED
updatedbytextNot used
updatedontimestampNot used
userinfomap<text, text>User declared information{'declared-email': '', 'declared-ext-id': '987654321', 'declared-phone': '', 'declared-school-name': 'PUPS, REDDIYARPATTI', 'declared-school-udise-code': '33291500301'}