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