...
property | type | required | format checking | state of implementation | Remarks |
---|---|---|---|---|---|
user | integer | yes | isInteger | implemented | user id |
count | integer | yes | isInteger | implemented | count stores a number of occurrences of this user_id being an author of a deck revision |
DataSource =
property | type | required | format checking | state of implementation | Remarks |
---|---|---|---|---|---|
type | string | yes | implemented | ||
title { type: string, | string | yes | implemented | ||
url | string | no | |||
comment | string | no | |||
authors | string | ||||
year | string |
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) | ||
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 |
...
property | type | required | format checking | state of implementation | remarks |
---|---|---|---|---|---|
id | objectId, autoincrement (scope limited to parent item) | yes | isInteger | implemented | |
title | string | yes | implemented | ||
timestamp | date | yes | auto generated | implemented | |
user | objectid | yes | isInteger | implemented | |
parent | object {id: objectId, revision: objectId} | no | isInteger | not implemented | reference to a previous revision/branch etc. |
language | string | yes | implemented | ||
popularity | integer | no | isInteger | not implemented | |
theme | object | no | not implemented | ||
transition | object | no | not implemented | ||
comment | string | no | implemented | this is a comment of the revision - like in github | |
abstract | string | no | implemented | ||
footer | string | no | implemented |
changed to string | |
isFeatured | boolean | no | isBoolean | not implemented | |
priority | integer | no | isInteger | not implemented | |
visibility | boolean | no | isBoolean | not implemented | |
translated_from | object { status: string, enum['original', 'google', 'revised', null], source: { id: object_id, revision: object_id}, translator: {id: object_id, name: string} } | no | not implemented | ||
tags | array of string | no | implemented | ||
contentItems | array of ContentItems | yes | implemented | ||
dataSources | array of stringDataSources | no | not implemented | collects all data sources from slides | |
usage | array of objects { id: object_id, revision: object_id} | no | implemented |
...