Is it possible to have the key as a email array like the following setup?
{
“email”:[ {“email” : "email1@email.com", “type”:“primary”},
{“email” : "email2@email.com", “type”:“secondary”},
{“email” : "email3@email.com", “type”:“secondary”}],
“phone”:[ {“phone” : “8128123713”, “type”:“mobile”},
{“phone” : “9923402340”, “type”:“home”}],
“gender”:“1”
}
I would like to use email array is key which I can pick email as login