...
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 | |
allowMarkdown | boolean | no | isBoolean | not implemented | if checked, authors have an additional editor for markdown |
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 | Most likely this is redundant - as we store everything in the "origin" field of the deck and we do not allow to have more than one translation in a certain language (we might create a revision instead, but for now it is just impossible - UI does not allow this) | |
tags | array of Tags | no | implemented | ||
contentItems | array of ContentItems | yes | implemented | ||
dataSources | array of DataSources | no | implemented | collects all data sources from slides | |
usage | array of objects { id: object_id, revision: object_id} | no | implemented |
...
property | type | required | format checking | state of implementation | remarks |
---|---|---|---|---|---|
_id | objectId, autoincrement | yes | isInteger | implemented | |
timestamp | date | yes | auto generated | should be format datetime | |
user | objectId | yes | isInteger | implemented (passed to service) | |
origin | SlideOrigin | no | implemented | references the slide revision this slide was translated from (for keeping track of the translation links) | |
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 | most likely a redundant field (except of status, which we might need) | |
translations | array of {language: 'string', slide_id: object_id} | no | implemented | language is in a 5-signs format | |
description | string | no | implemented | ||
contributors | [array of contributor ] | no | not implemented | ||
revisions | [ array of SlideRevisions ] | yes | auto generated | implemented | |
active | objectId (integer) | no | if the revision exists, when a new deck is added is set to 1 | not implemented | is this really needed? active shows on content items of resp.parent |
datasource | string | no | not implemented | ||
license | string enumeration | yes | is one of enumerables ['CC0', 'CC BY', 'CC BY-SA'] | implemented | |
lastUpdate | string, datetime | no | autogenerated on creation of new revision | not implemented |
SlideRevision =
property | type | required | format checking | state of implementation | remarks |
---|---|---|---|---|---|
id | integer, autoincrement | yes | isInteger | implemented | |
title | string | yes | implemented | ||
timestamp | date | yes | auto generated | implemented | |
content | string | yes | ?? only allowed tags | implemented | |
markdown | string | no | ?? only allowed tags | not implemented yet | |
user | integer, autoincrement | yes | isInteger | implemented | |
parent | object { id: objectId, revision: objectId } | no | not implemented | keeps link to a previsous revision | |
speakerNotes | string | no | implemented | ||
popularity | integer | no | isInteger | not implemented | |
comment | string | no | implemented | comment of revision | |
tags | array of Tags | no | implemented | ||
media | array | no | not implemented | ||
dataSources | array of DataSources | no | implemented | ||
language | string | yes | implemented | ||
usage | array of objects { id: object_id, revision: object_id} | no | not implemented |