codaga / tranquil

Webapp for better mental health management
MIT License
1 stars 2 forks source link

Mock JSON for users #10

Open angularganga opened 5 years ago

angularganga commented 5 years ago

user id user name address city country postal code phone email specialty gender isActive

davisokoth commented 5 years ago

Am not very sure about gender for this, would there be any harm in skipping that? And I imagine phone, email and specialty records could be in multiples so I was wondering if we could have them as arrays of objects? And we could also add a separate name for the clinic or practice Something kinda like this:

{
  user_id: 100,
  name: 'mimi',
  address: 'Thousand oaks, Luna',
  city: 'Talent Haven',
  country: 'Arctic',
  postal_code: '01320',
  phone: ['1029009090909', '909043092989'],
  email: ['info@minded.com', 'dramit@minded.com'],
  specialty: ['psychiatrist'],
  isactive: true
}
angularganga commented 5 years ago

Yes, we can skip the gender if you prefer. We can go with your recommendation to make them as arrays.