Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

responsible: Marios Meimaris

object_id = {       

type: 'string', //should be 'integer'
maxLength: 24, //does not need to be so long
minLength: 1

}


Contributor = 

propertytyperequiredformat checkingstate of implementationRemarks

user

integeryesisInteger

implemented

user id
countintegeryesisIntegerimplementedcount stores a number of occurrences of this user_id being an author of a deck revision

 

DataSource = 

propertytyperequiredformat checkingstate of implementationRemarks

type

stringyes

implemented


title

stringyes
implemented
urlstringno
implemented
commentstringno
implemented
authorsstringno
implemented
yearstringno
implemented

 


Deck = 

propertytyperequiredformat checkingstate of implementationRemarks

_id

integer, autoincrementyesisInteger

implemented

for now is 'string' in the code
timestampdateyesauto generatedimplementedadd 'format: datetime'
userintegeryesisIntegerimplemented (passed to service)
descriptionstringno implemented

translationsarray of {language: 'string', deck_id: object_id}no
not implemented
translated_from


{ status: enum('original', 'google', 'revised', null)



has field 'status' with possible values 'original', 'google', 'revised'auto generated
implemented
lastUpdatestring, datetimeno

auto-generated on creating new slide revision inside the deck
revisions[ array of DeckRevision ]yesauto generatedimplemented
activeintegeryesif the revision exists, when a new deck is added is set to 1implemented
datasource string no   if the whole deck is the adaptation of a resource
licensestring enumerationyesis one of enumerables ['CC0', 'CC BY', 'CC BY-SA']implemented should move it from revision, it is the same for the whole deck
contributorsarray of contributorsno
in process

 

ContentItem = 

propertytyperequiredformat checkingstate of implementation

order

integeryesisInteger

implemented

kindstringyesenum ('deck', 'slide')implemented
refobject:
{id, revision} 
yes implemented
ref.idintegeryesisIntegerimplemented
ref.revisionintegeryesisIntegerimplemented

 

deck_revision = 

propertytyperequiredformat checkingstate of implementationremarks

id

objectId, autoincrement (scope limited to parent item)yesisInteger

implemented


titlestringyes implemented
timestampdateyesauto generatedimplemented
userobjectidyesisIntegerimplemented
parentobject {id: objectId, revision: objectId}noisIntegernot implementedreference to a previous revision/branch etc.
languagestringyes implemented
popularityintegernoisIntegernot implemented
themeobjectno not implemented
transitionobjectno not implemented
commentstringno implementedthis is a comment of the revision - like in github
abstractstringno implemented
footerstringno implemented

for now it is an object, should be just a string

changed to string

isFeaturedbooleannoisBooleannot implemented
priorityintegernoisIntegernot implemented
visibilitybooleannoisBooleannot 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
tagsarray of stringno implemented
contentItemsarray of ContentItemsyes implemented
dataSources

array of DataSources

no implementedcollects all data sources from slides
usage

array of objects

{ id: object_id, revision: object_id}


no implemented

 

slide = 

propertytyperequiredformat checkingstate of implementationremarks

_id

objectId, autoincrementyesisInteger

implemented


timestampdateyesauto generatedshould be format datetime
userobjectIdyesisIntegerimplemented (passed to service)
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
translationsarray of {language: 'string', slide_id: object_id}no
not implemented
descriptionstringno implemented
contributors[array of contributor ]no not implemented
revisions[ array of slideRevisions ]yesauto generatedimplemented
activeobjectId (integer)noif the revision exists, when a new deck is added is set to 1not implemented

is this really needed?

active shows on content items of resp.parent

datasourcestringno
not implemented
licensestring enumerationyesis one of enumerables ['CC0', 'CC BY', 'CC BY-SA']implementedshould move it from slide_revision moved
lastUpdatestring, datetimenoautogenerated on creation of new revisionnot implemented


slideRevision = 

propertytyperequiredformat checkingstate of implementationremarks

id

integer, autoincrementyesisInteger

implemented


titlestringyes implemented
timestampdateyesauto generatedimplemented
contentstringyes?? only allowed tagsimplemented
userinteger, autoincrementyesisIntegerimplemented
parent

object { id: objectId, revision: objectId }

no
not implementedkeeps link to a previsous revision
speakerNotesstringno implemented
popularityintegernoisIntegernot implemented
commentstringno implementedcomment of revision
tagsarrayno implemented
mediaarrayno not implemented
dataSourcesarray of DataSourcesno implemented
languagestringyes implemented
usage

array of objects

{ id: object_id, revision: object_id}
no not implemented

 

 

  • No labels