...
property | type | required | format checking | state of implementation | Remarks |
---|---|---|---|---|---|
type | string | yes | implemented | ||
title | string | yes | implemented | ||
url | string | no | implemented | ||
comment | string | no | implemented | ||
authors | string | no | implemented | ||
year | string | no | implemented |
User=
property | type | required | format checking | state of implementation | remarks |
---|---|---|---|---|---|
id | integer | yes | ready to merge | ||
joined | string | yes | ISO date | ready to merge | the timestamp the user/group joined the deck editors |
username | string | no | see user service |
ready to merge | |||
picture | string | no | see user service model |
ready to merge |
Group =
property | type | required | format checking | state of implementation | remarks |
---|---|---|---|---|---|
id | integer | yes | ready to merge | ||
joined | string | yes | ISO date | ready to merge | the timestamp the user/group joined the deck editors |
name | string | no | see user service |
ready to merge |
EditorsRights=
property | type | required | state of implementation | remarks |
---|---|---|---|---|
users | array of Users | yes | ready to merge | lists the users that explicitly are editors of the deck |
groups | array of Groups | yes | ready to merge | lists the groups whose users explicitly can edit the deck |
DeckOrigin =
property | type | required | state of implemenation |
---|---|---|---|
id | integer | yes | implemented |
revision | integer | yes | implemented |
title | string | no | implemented |
user | integer | no | implemented |
Deck =
property | type | required | format checking | state of implementation | Remarks | |
---|---|---|---|---|---|---|
_id | integer, autoincrement | yes | isInteger | implemented | for now is 'string' in the code | |
timestamp | date | yes | auto generated | implemented | add 'format: datetime' | |
user | integer | yes | isInteger | implemented (passed to service) | ||
origin | DeckOrigin | no | implemented | references the deck revision this deck was forked from | ||
description | string | no | implemented | |||
translations | array of {language: 'string', deck_id: object_id} | no | not implemented | |||
translated_from | has field 'status' with possible values 'original', 'google', 'revised'auto generated | implemented | ||||
lastUpdate | string, datetime | no | auto-generated on creating new slide revision inside the deck | |||
revisions | [ array of DeckRevision ] | yes | auto generated | implemented | ||
active | integer | yes | if the revision exists, when a new deck is added is set to 1 | implemented | ||
datasource | string | no | if the whole deck is the adaptation of a resource | |||
license | string enumeration | yes | is one of enumerables ['CC0', 'CC BY', 'CC BY-SA'] | implemented | should move it from revision, it is the same for the whole deck | |
contributors | array of contributors | no | in process |
...