...
Responsible:
objectid = { | |
type: 'string', | |
maxLength: 24, | |
minLength: 24 | |
}; |
user =
property | type | required | format checking | state of implementation |
---|---|---|---|---|
_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 | implemented | |
forename | string | no | implemented | |
gender | 'male', 'female', null | no |
| |
locale | string | no |
? |
| |||
hometown | string | no | implemented | |
location | string | no | implemented | |
languages | array of strings | no | ? |
|
picture | string, url | no | implemented | |
interests | array of strings | no |
| |
description | string | no | implemented | |
birthday | { |
year: integer, |
month: integer, |
day: integer |
} | no | implemented | ||
infodeck | objectId | no | isInteger, deck exists with such id | implemented |
Not yet implemented: preferences =
property | type | required | format checking | state of implementation |
---|---|---|---|---|
_id | integer, autoincrement | yes | isInteger |
|
...
Deck/Slide model
...
language | string | yes | isValidLanguage | |
theme | objectId | yes | theme exists with the id |