BuildForSDGCohort2 / Team-258-group-a-frontend

1 stars 2 forks source link

Create a Candidate Model #50

Open leanny01 opened 4 years ago

leanny01 commented 4 years ago

The return list should be an array with the following format

[{
id: id ,
name:name,
status: status,
personalId:xxxxxxxxx,
contactDetails: {cellphone_1:12345678,cellphone_2:987654321, email:emailme@email.com}, // a json object address details  
addressDetails:{line_1:lalalla, line_2:blablabla,town:heaven,postalCode:1111},
language: [language_1,language_2,language_3],
document:{profilePicture:path,idScan:idPath,qualifications:[qualification_1,qualification_2,qualification_3...(more if they are overqualified..)],
skills:[skill_1,skill_2,skill_3, and more if any...],
socialLinks:[link_1,link_2,link_3...]

},
{
id: id ,
name:name,
status: status,
personalId:xxxxxxxxx,
contactDetails: {cellphone_1:12345678,cellphone_2:987654321, email:emailme@email.com}, // a json object address details  
addressDetails:{line_1:lalalla, line_2:blablabla,town:heaven,postalCode:1111},
language: [language_1,language_2,language_3],
document:{profilePicture:path,idScan:idPath,qualifications:[qualification_1,qualification_2,qualification_3...(more if they are overqualified..)],
skills:[skill_1,skill_2,skill_3, and more if any...],
socialLinks:[link_1,link_2,link_3...]

},
and more other ...]