Appendix Data Structures - User

Name Description Type Sample Values
id The user’s unique string identifier (not username) String abc123foobar
username The user’s username String jsnow
profiles A set of profiles applied to the user List (User Profile) [{“type”: ”user”, “name”: ”Jane Autumn”, “birthdate”: ”1985­01­28”, …}, {“type”: ”coach”, … }]
account A set of account­related data Account {“created_at”:”2010­05­31T14:30:20­07 :00”, “valid­email”:true, … }
privacy_preferences A set of user privacy preferences Privacy Preferences  
goal_preferences A set of user goal preferences Goal Preferences  
location_preferences A set of user location preferences Location Preferences  
diary_preferences A set of user diary preferences Diary Preferences