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 7 Next »

responsible: Marios Meimaris

object_id = {       

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

}


Deck = 

propertytyperequiredformat checkingstate of implementationRemarks

_id

integer, autoincrementyesisInteger

implemented

for now is 'string' in the code
timestampstring, datetimeyesauto generatedimplementedadd 'format: datetime'
userintegeryesisIntegerimplemented (passed to service)
descriptionstringno 
implemented
translationsarray of {language: 'string', deck_id: object_id}no


translated_from


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



has field 'status' with possible values 'original', 'google', 'revised'auto generatednot implemented

lastUpdatestring, datetimeno

auto-generated on creating new slide revision inside the deck
revisions[ array of DeckRevision ]yesauto generatedimplemented
tags[ array of strings ]no not implemented
activeobjectId (integer)yesif 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']not implemented should move it from revision, it is the same for the whole deck






 

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
timestampstringyesauto 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 not implementedfor now it is an object, should be just a 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 not implemented
contentItemsarray of ContentItemsyes implemented
dataSourcesarray of stringno not implementedcollects all data sources from slides
usage

array of objects

{ id: object_id, revision: object_id}


no not implemented

 

slide = 

propertytyperequiredformat checkingstate of implementationremarks

_id

objectId, autoincrementyesisInteger

implemented


timestampstring, datetimeyesauto generatedshould be format datetime
userobjectIdyesisIntegerimplemented (passed to service)
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
tags[ array of strings ]no not implemented
activeobjectId (integer)noif the revision exists, when a new deck is added is set to 1not implemented
datasourcestringno
not implemented
licensestring enumerationyesis one of enumerables ['CC0', 'CC BY', 'CC BY-SA']implementedshould move it from slide_revision
lastUpdatestring, datetimenoautogenerated on creation of new revisionnot implemented


slideRevision = 

propertytyperequiredformat checkingstate of implementationremarks

id

integer, autoincrementyesisInteger

implemented


titlestringyes implemented
timestampstring, datetimeyesauto 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
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
tagsarrayno not implemented
mediaarrayno not implemented
dataSourcesarray of stringsno not implemented
languagestringyes implemented
usage

array of objects

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

 

 

  • No labels