sha1 field
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 22 Dec 2011 11:41:59 +0000 (12:41 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 22 Dec 2011 11:41:59 +0000 (12:41 +0100)
librarian/picture.py

index b770030..edf541f 100644 (file)
@@ -35,6 +35,7 @@ class PictureInfo(WorkInfo):
         Field(DCNS('subject.type'), 'kinds', salias='kind', multiple=True),
 
         Field(DCNS('format.dimensions'), 'dimensions', required=False),
+        Field(DCNS('format.checksum.sha1'), 'sha1', required=True),
         Field(DCNS('description.medium'), 'medium', required=False),
         Field(DCNS('description.dimensions'), 'original_dimensions', required=False),
         Field(DCNS('format'), 'mime_type', required=False),