Data Models


Current life dump: http://fileservice.experimental.slidewiki.org/dump/slidewiki.db.dump.tar

Rules:

  1. Each data model has a responsible person, it is his/her responsibility to ensure that the data model implementation on the master branch is equal to the one on the confluence page (or that the confluence page has remarks about how the current implementation differs from the confluence)
  2. No code changes to the data models on the master branch are made before they are proposed, discussed, and if agreed, changed in the confluence page first. The person who changes the data model code have to start a discussion here and have to ensure that this change is OK with at least the responsible person, before it is merged into the master branch.
  3. If a person proposes changes which are not part of a ticket (related to the corresponding microservice), then the change should be discussed here. If there is consensus, a ticket in JIRA should be created and assigned. And then the assigned person makes changes to the code.


Current responsible persons:

  1. User (+ preferences): Kurt Junghanns
  2. Deck/Slide (+deck/slide revisions, deck content): Marios Meimaris
  3. Media: Klaas Andries de Graaf
  4. User Testing (+questionnaries, statistics, questions): Darya Tarasowa
  5. ...


Important remarks.


  1. How to deal with dates:

In the code we store dates as: 


timestamp: new Date().toISOString();

In the data model:

timestamp:

{

type: 'string',

format: 'date-time'

}