FIRSTdotorg / FIRSTdotorg/global-irt

the email property should be a list of emails

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
82
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Other fields like phone-numbers and enckeys already are lists. Making the email field an "emails" list field would be a good idea as there might be more than one email per organisation (and therefore a reason for multiple enckeys). You could store multiple emails comma separated but then a client has to parse this list if he wants to know which encryption key is used for a specific email address, etc.

Contributor guide

Open the contributing guide

Research direction

Start by locating the data definition and client-facing entry points for the email, phone-numbers, and enckeys fields. Review how existing list fields are represented, then define what it means for multiple emails to map to their encryption keys; done means the schema and consuming clients consistently support that relationship.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.