User model:
property | type | required | format checking |
---|---|---|---|
_id | integer, autoincrement | yes | isInteger |
string | yes | isEmail, unique | |
username | string | yes | unique |
password | string, md5 | yes | - |
defaults | objectId | no | is integer, preference object exists with such id |
registered | string, date | yes | ? |
surname | string | no | |
forename | string | no | |
gender | 'male', 'female', null | no | |
locale | string | no | |
hometown | string | no | |
location | string | no | |
languages | array of strings | no | ? |
picture | string, url | no | |
interests | array of strings | no | |
description | string | no | |
birthday | { year: integer, month: integer, day: integer } | no | |
infodeck | objectId | no | isInteger, deck exists with such id |
Deck/Slide model
User preferences