Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Responsible: Kurt Junghanns

 

objectid = {
 type: 'string',
 maxLength: 24,
 minLength: 24
}; 

 

user = 

propertytyperequiredformat checkingstate of implementation
_idinteger, autoincrementyesisInteger
  • autoincrement - not implemented
emailstringyesisEmail, unique
  • unique - not implemented
  • isEmail - controlled by ajv
usernamestringyesunique
  • unique - not implemented
passwordstring (contains SHA512)yesalphanumerical
  • hash is generated on frontend
defaultsobjectIdno

is integer,

preference object exists with such id

  • not correctly implemented for now
  • should decide on the preferences data model,
registereddateyesdate
  • need to decide on the date format
surnamestringyes implemented
forenamestringyes implemented
gender'male', 'female', nullno 
  • null value should be possible
localestringyesone of the available localesno 
  • need to decide on the locale format
hometownstringno implemented
locationstringno implemented
languagesarray of localeslanguagesnolocales language (like abovesee below)
  • see localelanguage
picturestringno 

implemented

interestsarray of stringsno 

implemented

descriptionstringno implemented
birthday

date

nodateimplemented
infodeckobjectIdnoisInteger, deck exists with such idimplemented

...

propertytyperequiredformat checkingstate of implementation
_idinteger, autoincrementyesisInteger

 

languagestringlanguageyesisValidLanguage 
themeobjectIdyestheme exists with the id