/
Media

Media

responsible: Klaas Andries de Graaf


media =  


propertytyperequiredformat checkingstate of implementationComment
_idMongo ObjectIDnoMongo ObjectIDimplementedWill not be publicly referenced by this id, thus this format is the better choice
titlestringnostringimplementedMay be used as caption and alt text for images
ownerincrementedObjectIDyesincrementedObjectIDimplementedfrom JWT
typestring from enum (Mime-Types for images, video, audio)yesstring from enumimplemented
fileNamestring - sha256 + fileextensionyesstringimplemented
thumbnailNamestring - sha256 + fileextensionnostringimplemented
licensestringyesstringimplementedIntroduce an enum or not?
slidewikiCopyrightstringyesstringimplementedLicense specifics and copyright holder, autogenerated if not specified
originalCopyrightstringyesstringimplementedLicense specifics and copyright holder from the file, empty string in case of nonexistence
metadatastring (produced by e.g. `identify -verbose file` for images)yesstringimplemented
timestamptimestampnotimestampnot implementedAccording to Kurt, this is already encoded in a Mongo ObjectID

Related content

Comment
Comment
More like this
Deck Service (URL scheme, MongoDB schema)
Deck Service (URL scheme, MongoDB schema)
More like this
Tag
More like this
Notification
Notification
More like this
User
More like this
Deck/Slide
Deck/Slide
More like this