hydra-works 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +17 -8
  3. data/README.md +9 -9
  4. data/hydra-works.gemspec +3 -4
  5. data/lib/hydra/works.rb +22 -13
  6. data/lib/hydra/works/characterization.rb +31 -0
  7. data/lib/hydra/works/characterization/schema/audio_schema.rb +12 -0
  8. data/lib/hydra/works/characterization/schema/base_schema.rb +17 -0
  9. data/lib/hydra/works/characterization/schema/document_schema.rb +18 -0
  10. data/lib/hydra/works/characterization/schema/image_schema.rb +22 -0
  11. data/lib/hydra/works/characterization/schema/video_schema.rb +9 -0
  12. data/lib/hydra/works/models/characterization/already_there_strategy.rb +12 -0
  13. data/lib/hydra/works/models/characterization/fits_datastream.rb +162 -0
  14. data/lib/hydra/works/models/concerns/collection_behavior.rb +42 -34
  15. data/lib/hydra/works/models/concerns/file_set/characterization/audio.rb +14 -0
  16. data/lib/hydra/works/models/concerns/file_set/characterization/base.rb +23 -0
  17. data/lib/hydra/works/models/concerns/file_set/characterization/document.rb +10 -0
  18. data/lib/hydra/works/models/concerns/file_set/characterization/image.rb +10 -0
  19. data/lib/hydra/works/models/concerns/file_set/characterization/video.rb +17 -0
  20. data/lib/hydra/works/models/concerns/{generic_file → file_set}/contained_files.rb +1 -1
  21. data/lib/hydra/works/models/concerns/file_set/derivatives.rb +27 -0
  22. data/lib/hydra/works/models/concerns/{generic_file → file_set}/mime_types.rb +1 -1
  23. data/lib/hydra/works/models/concerns/{generic_file → file_set}/versioned_content.rb +2 -2
  24. data/lib/hydra/works/models/concerns/{generic_file → file_set}/virus_check.rb +1 -1
  25. data/lib/hydra/works/models/concerns/file_set_behavior.rb +67 -0
  26. data/lib/hydra/works/models/concerns/generic_file_behavior.rb +4 -50
  27. data/lib/hydra/works/models/concerns/generic_work_behavior.rb +5 -77
  28. data/lib/hydra/works/models/concerns/work_behavior.rb +118 -0
  29. data/lib/hydra/works/models/file_set.rb +7 -0
  30. data/lib/hydra/works/models/generic_file.rb +8 -8
  31. data/lib/hydra/works/models/generic_work.rb +15 -4
  32. data/lib/hydra/works/models/work.rb +6 -0
  33. data/lib/hydra/works/services/{generic_file/add_file_to_generic_file.rb → add_file_to_file_set.rb} +20 -20
  34. data/lib/hydra/works/services/add_file_to_generic_file.rb +8 -0
  35. data/lib/hydra/works/services/characterization_service.rb +118 -0
  36. data/lib/hydra/works/services/persist_derivative.rb +35 -0
  37. data/lib/hydra/works/services/{generic_file/upload_file_to_generic_file.rb → upload_file_to_file_set.rb} +3 -3
  38. data/lib/hydra/works/services/upload_file_to_generic_file.rb +8 -0
  39. data/lib/hydra/works/version.rb +1 -1
  40. data/lib/hydra/works/vocab/works_terms.rb +2 -2
  41. data/spec/fixtures/fits_0.6.2_avi.xml +29 -0
  42. data/spec/fixtures/fits_0.6.2_jp2.xml +36 -0
  43. data/spec/fixtures/fits_0.6.2_jpg.xml +43 -0
  44. data/spec/fixtures/fits_0.6.2_pdf.xml +42 -0
  45. data/spec/fixtures/fits_0.8.5_avi.xml +50 -0
  46. data/spec/fixtures/fits_0.8.5_docx.xml +41 -0
  47. data/spec/fixtures/fits_0.8.5_jp2.xml +51 -0
  48. data/spec/fixtures/fits_0.8.5_mp3.xml +47 -0
  49. data/spec/fixtures/fits_0.8.5_mp4.xml +47 -0
  50. data/spec/fixtures/fits_0.8.5_pdf.xml +54 -0
  51. data/spec/fixtures/pdf_fits.xml +54 -0
  52. data/spec/hydra/works/models/collection_spec.rb +58 -326
  53. data/spec/hydra/works/models/concerns/{generic_file → file_set}/contained_files_spec.rb +16 -16
  54. data/spec/hydra/works/models/concerns/{generic_file → file_set}/mime_types_spec.rb +2 -2
  55. data/spec/hydra/works/models/concerns/file_set/versioned_content_spec.rb +32 -0
  56. data/spec/hydra/works/models/concerns/{generic_file → file_set}/virus_check_spec.rb +3 -3
  57. data/spec/hydra/works/models/concerns/file_set_behavior_spec.rb +12 -0
  58. data/spec/hydra/works/models/generic_file_spec.rb +16 -13
  59. data/spec/hydra/works/models/generic_work_spec.rb +148 -318
  60. data/spec/hydra/works/services/{generic_file/add_file_to_generic_file_spec.rb → add_file_to_file_set_spec.rb} +4 -4
  61. data/spec/hydra/works/services/characterization_service_spec.rb +199 -0
  62. data/spec/hydra/works/services/persist_derivatives_spec.rb +57 -29
  63. data/spec/hydra/works/services/{generic_file/upload_file_spec.rb → upload_file_spec.rb} +7 -17
  64. data/spec/hydra/works_spec.rb +23 -59
  65. data/spec/spec_helper.rb +4 -2
  66. data/spec/support/file_set_helper.rb +14 -0
  67. metadata +84 -55
  68. data/lib/hydra/works/errors/full_text_extraction_error.rb +0 -5
  69. data/lib/hydra/works/models/concerns/block_child_objects.rb +0 -22
  70. data/lib/hydra/works/models/concerns/generic_file/derivatives.rb +0 -26
  71. data/lib/hydra/works/services/generic_file/full_text_extraction_service.rb +0 -57
  72. data/lib/hydra/works/services/generic_file/generate_thumbnail.rb +0 -13
  73. data/lib/hydra/works/services/generic_file/persist_derivative.rb +0 -20
  74. data/spec/hydra/works/models/concerns/block_child_objects_spec.rb +0 -17
  75. data/spec/hydra/works/models/concerns/generic_file/versioned_content_spec.rb +0 -32
  76. data/spec/hydra/works/models/concerns/generic_file_behavior_spec.rb +0 -12
  77. data/spec/hydra/works/services/full_text_extraction_service_spec.rb +0 -89
  78. data/spec/hydra/works/services/generic_file/generate/thumbnail_spec.rb +0 -19
@@ -0,0 +1,8 @@
1
+ module Hydra::Works
2
+ class UploadFileToGenericFile
3
+ def self.call(*args)
4
+ Deprecation.warn(UploadFileToGenericFile, "UploadFileToGenericFile is deprecated use UploadFileToFileSet. This will be removed in 0.4.0")
5
+ UploadFileToFileSet.call(*args)
6
+ end
7
+ end
8
+ end
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module Works
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -4,8 +4,8 @@ module Hydra::Works
4
4
  class WorksTerms < RDF::Vocabulary('http://projecthydra.org/works/models#')
5
5
  # Class definitions
6
6
  term :Collection
7
- term :GenericWork
8
- term :GenericFile
7
+ term :Work
8
+ term :FileSet
9
9
  term :File
10
10
  end
11
11
  end
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.6.2" timestamp="8/28/15 3:35 PM">
3
+ <identification status="CONFLICT">
4
+ <identity format="RIFF (little-endian) data, AVI, 356 x 264, 10.00 fps, video:, audio: uncompressed PCM (mono, 11025 Hz)" mimetype="video/x-msvideo" toolname="FITS" toolversion="0.6.2">
5
+ <tool toolname="file utility" toolversion="5.14" />
6
+ </identity>
7
+ <identity format="AVI" mimetype="video/x-msvideo" toolname="FITS" toolversion="0.6.2">
8
+ <tool toolname="Exiftool" toolversion="9.06" />
9
+ </identity>
10
+ <identity format="Audio/Video Interleaved Format" mimetype="video/x-msvideo" toolname="FITS" toolversion="0.6.2">
11
+ <tool toolname="Droid" toolversion="3.0" />
12
+ <externalIdentifier toolname="Droid" toolversion="3.0" type="puid">fmt/5</externalIdentifier>
13
+ </identity>
14
+ <identity format="Audio Video Interleave)" mimetype="video/x-msvideo" toolname="FITS" toolversion="0.6.2">
15
+ <tool toolname="ffident" toolversion="0.2" />
16
+ </identity>
17
+ </identification>
18
+ <fileinfo>
19
+ <lastmodified toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2015:08:11 14:59:03-04:00</lastmodified>
20
+ <filepath toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/countdown.avi</filepath>
21
+ <filename toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">countdown.avi</filename>
22
+ <size toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">723678</size>
23
+ <md5checksum toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">d43ffafa098925dae10feeca46dc9a87</md5checksum>
24
+ <fslastmodified toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">1439319543000</fslastmodified>
25
+ </fileinfo>
26
+ <filestatus />
27
+ <metadata />
28
+ </fits>
29
+
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.6.2" timestamp="8/28/15 3:33 PM">
3
+ <identification status="SINGLE_RESULT">
4
+ <identity format="JPEG 2000 JP2" mimetype="image/jp2" toolname="FITS" toolversion="0.6.2">
5
+ <tool toolname="Jhove" toolversion="1.5" />
6
+ </identity>
7
+ </identification>
8
+ <fileinfo>
9
+ <size toolname="Jhove" toolversion="1.5">11043</size>
10
+ <lastmodified toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2015:08:11 14:59:03-04:00</lastmodified>
11
+ <filepath toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/image.jp2</filepath>
12
+ <filename toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">image.jp2</filename>
13
+ <md5checksum toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">8ff299eda08d7c506273840d52a03bf3</md5checksum>
14
+ <fslastmodified toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">1439319543000</fslastmodified>
15
+ </fileinfo>
16
+ <filestatus>
17
+ <well-formed toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</well-formed>
18
+ <valid toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</valid>
19
+ </filestatus>
20
+ <metadata>
21
+ <image>
22
+ <byteOrder toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">big endian</byteOrder>
23
+ <compressionScheme toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">JPEG 2000 Lossless</compressionScheme>
24
+ <imageWidth toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">512</imageWidth>
25
+ <imageHeight toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">465</imageHeight>
26
+ <colorSpace toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">sRGB</colorSpace>
27
+ <tileWidth toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">512</tileWidth>
28
+ <tileHeight toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">465</tileHeight>
29
+ <qualityLayers toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">1</qualityLayers>
30
+ <resolutionLevels toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">3</resolutionLevels>
31
+ <bitsPerSample toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">8 8 8</bitsPerSample>
32
+ <samplesPerPixel toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">3</samplesPerPixel>
33
+ </image>
34
+ </metadata>
35
+ </fits>
36
+
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.6.2" timestamp="10/13/15 9:37 PM">
3
+ <identification>
4
+ <identity format="JPEG File Interchange Format" mimetype="image/jpeg" toolname="FITS" toolversion="0.6.2">
5
+ <tool toolname="Jhove" toolversion="1.5" />
6
+ <tool toolname="file utility" toolversion="5.11" />
7
+ <tool toolname="Exiftool" toolversion="9.06" />
8
+ <tool toolname="Droid" toolversion="3.0" />
9
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" />
10
+ <version toolname="Jhove" toolversion="1.5">1.02</version>
11
+ <externalIdentifier toolname="Droid" toolversion="3.0" type="puid">fmt/44</externalIdentifier>
12
+ </identity>
13
+ </identification>
14
+ <fileinfo>
15
+ <size toolname="Jhove" toolversion="1.5">57639</size>
16
+ <lastmodified toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2015:10:13 21:22:48+00:00</lastmodified>
17
+ <filepath toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">/opt/goldenseal/releases/20151013212118/tmp/uploads/6d/56/zw/65/MS002.002.DO.04436.basic.jpg</filepath>
18
+ <filename toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">MS002.002.DO.04436.basic.jpg</filename>
19
+ <md5checksum toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">18149600bc3ec619c2b306ad08799185</md5checksum>
20
+ <fslastmodified toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">1444771368000</fslastmodified>
21
+ </fileinfo>
22
+ <filestatus>
23
+ <well-formed toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</well-formed>
24
+ <valid toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</valid>
25
+ </filestatus>
26
+ <metadata>
27
+ <image>
28
+ <byteOrder toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">big endian</byteOrder>
29
+ <compressionScheme toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">JPEG (old-style)</compressionScheme>
30
+ <imageWidth toolname="Jhove" toolversion="1.5">600</imageWidth>
31
+ <imageHeight toolname="Jhove" toolversion="1.5">381</imageHeight>
32
+ <colorSpace toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">YCbCr</colorSpace>
33
+ <YCbCrSubSampling toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">1 1</YCbCrSubSampling>
34
+ <samplingFrequencyUnit toolname="Jhove" toolversion="1.5" status="CONFLICT">in.</samplingFrequencyUnit>
35
+ <samplingFrequencyUnit toolname="Exiftool" toolversion="9.06" status="CONFLICT">inches</samplingFrequencyUnit>
36
+ <xSamplingFrequency toolname="Jhove" toolversion="1.5">600</xSamplingFrequency>
37
+ <ySamplingFrequency toolname="Jhove" toolversion="1.5">600</ySamplingFrequency>
38
+ <bitsPerSample toolname="Jhove" toolversion="1.5">8 8 8</bitsPerSample>
39
+ <samplesPerPixel toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">3</samplesPerPixel>
40
+ <lightSource toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="SINGLE_RESULT">unknown</lightSource>
41
+ </image>
42
+ </metadata>
43
+ </fits>
@@ -0,0 +1,42 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.6.2" timestamp="8/28/15 3:35 PM">
3
+ <identification>
4
+ <identity format="Portable Document Format" mimetype="application/pdf" toolname="FITS" toolversion="0.6.2">
5
+ <tool toolname="Jhove" toolversion="1.5" />
6
+ <tool toolname="file utility" toolversion="5.14" />
7
+ <tool toolname="Exiftool" toolversion="9.06" />
8
+ <tool toolname="Droid" toolversion="3.0" />
9
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" />
10
+ <tool toolname="ffident" toolversion="0.2" />
11
+ <version toolname="Jhove" toolversion="1.5">1.3</version>
12
+ <externalIdentifier toolname="Droid" toolversion="3.0" type="puid">fmt/17</externalIdentifier>
13
+ </identity>
14
+ </identification>
15
+ <fileinfo>
16
+ <size toolname="Jhove" toolversion="1.5">7618</size>
17
+ <creatingApplicationName toolname="Exiftool" toolversion="9.06">Mac OS X 10.10.3 Quartz PDFContext/TextEdit</creatingApplicationName>
18
+ <lastmodified toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2015:08:07 14:49:00-04:00</lastmodified>
19
+ <created toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">2015:05:14 19:47:31Z</created>
20
+ <filepath toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/sample-file.pdf</filepath>
21
+ <filename toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">sample-file.pdf</filename>
22
+ <md5checksum toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">3a1735b5b30c4adc3f92c70004ae53ed</md5checksum>
23
+ <fslastmodified toolname="OIS File Information" toolversion="0.1" status="SINGLE_RESULT">1438973340000</fslastmodified>
24
+ </fileinfo>
25
+ <filestatus>
26
+ <well-formed toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</well-formed>
27
+ <valid toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</valid>
28
+ </filestatus>
29
+ <metadata>
30
+ <document>
31
+ <title toolname="Exiftool" toolversion="9.06">sample-file</title>
32
+ <pageCount toolname="Jhove" toolversion="1.5">1</pageCount>
33
+ <isTagged toolname="Jhove" toolversion="1.5">no</isTagged>
34
+ <hasOutline toolname="Jhove" toolversion="1.5">no</hasOutline>
35
+ <hasAnnotations toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">no</hasAnnotations>
36
+ <isRightsManaged toolname="Exiftool" toolversion="9.06" status="SINGLE_RESULT">no</isRightsManaged>
37
+ <isProtected toolname="Exiftool" toolversion="9.06">no</isProtected>
38
+ <hasForms toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="SINGLE_RESULT">no</hasForms>
39
+ </document>
40
+ </metadata>
41
+ </fits>
42
+
@@ -0,0 +1,50 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="8/28/15 3:36 PM">
3
+ <identification>
4
+ <identity format="Audio/Video Interleaved Format" mimetype="video/x-msvideo" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="file utility" toolversion="5.14" />
6
+ <tool toolname="Exiftool" toolversion="9.13" />
7
+ <tool toolname="ffident" toolversion="0.2" />
8
+ <tool toolname="Tika" toolversion="1.3" />
9
+ </identity>
10
+ </identification>
11
+ <fileinfo>
12
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:08:11 14:59:03-04:00</lastmodified>
13
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/countdown.avi</filepath>
14
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">countdown.avi</filename>
15
+ <size toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">723678</size>
16
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">d43ffafa098925dae10feeca46dc9a87</md5checksum>
17
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1439319543000</fslastmodified>
18
+ </fileinfo>
19
+ <filestatus />
20
+ <metadata>
21
+ <video>
22
+ <duration toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">14.10 s</duration>
23
+ <pixelAspectRatio toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">0/0</pixelAspectRatio>
24
+ <maxBitRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">0 kB/s</maxBitRate>
25
+ <videoCompressor toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">MSVC</videoCompressor>
26
+ <frameRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">10</frameRate>
27
+ <bitDepth toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">16</bitDepth>
28
+ <sampleRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">11025</sampleRate>
29
+ <audioSampleRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">11025</audioSampleRate>
30
+ <channels toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">1</channels>
31
+ <imageWidth toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">356</imageWidth>
32
+ <imageHeight toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">264</imageHeight>
33
+ <encoding toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">Microsoft PCM</encoding>
34
+ <compressionScheme toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">CRAM</compressionScheme>
35
+ </video>
36
+ </metadata>
37
+ <statistics fitsExecutionTime="850">
38
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
39
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
40
+ <tool toolname="Jhove" toolversion="1.5" executionTime="794" />
41
+ <tool toolname="file utility" toolversion="5.14" executionTime="571" />
42
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="612" />
43
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="423" />
44
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="110" />
45
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
46
+ <tool toolname="ffident" toolversion="0.2" executionTime="446" />
47
+ <tool toolname="Tika" toolversion="1.3" executionTime="195" />
48
+ </statistics>
49
+ </fits>
50
+
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="9/11/15 1:01 PM">
3
+ <identification status="CONFLICT">
4
+ <identity format="Microsoft Word 2007+" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="file utility" toolversion="5.14" />
6
+ </identity>
7
+ <identity format="DOCX" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" toolname="FITS" toolversion="0.8.5">
8
+ <tool toolname="Exiftool" toolversion="9.13" />
9
+ </identity>
10
+ <identity format="OpenDocument Text" mimetype="application/vnd.oasis.opendocument.text" toolname="FITS" toolversion="0.8.5">
11
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" />
12
+ </identity>
13
+ <identity format="Office Open XML Document" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" toolname="FITS" toolversion="0.8.5">
14
+ <tool toolname="Tika" toolversion="1.3" />
15
+ </identity>
16
+ </identification>
17
+ <fileinfo>
18
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:08:31 12:52:14-04:00</lastmodified>
19
+ <created toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2010:01:19 19:06:00Z</created>
20
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/charter.docx</filepath>
21
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">charter.docx</filename>
22
+ <size toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">24244</size>
23
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">f9a1603c78ab95edfc53452bfb83ff18</md5checksum>
24
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1441039934000</fslastmodified>
25
+ </fileinfo>
26
+ <filestatus />
27
+ <metadata />
28
+ <statistics fitsExecutionTime="1795">
29
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
30
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
31
+ <tool toolname="Jhove" toolversion="1.5" executionTime="590" />
32
+ <tool toolname="file utility" toolversion="5.14" executionTime="489" />
33
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="1163" />
34
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="442" />
35
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="150" />
36
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
37
+ <tool toolname="ffident" toolversion="0.2" executionTime="350" />
38
+ <tool toolname="Tika" toolversion="1.3" executionTime="1767" />
39
+ </statistics>
40
+ </fits>
41
+
@@ -0,0 +1,51 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="8/28/15 3:34 PM">
3
+ <identification>
4
+ <identity format="JPEG 2000 JP2" mimetype="image/jp2" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="Jhove" toolversion="1.5" />
6
+ <tool toolname="Exiftool" toolversion="9.13" />
7
+ <tool toolname="Tika" toolversion="1.3" />
8
+ </identity>
9
+ </identification>
10
+ <fileinfo>
11
+ <size toolname="Jhove" toolversion="1.5">11043</size>
12
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:08:11 14:59:03-04:00</lastmodified>
13
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/image.jp2</filepath>
14
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">image.jp2</filename>
15
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">8ff299eda08d7c506273840d52a03bf3</md5checksum>
16
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1439319543000</fslastmodified>
17
+ </fileinfo>
18
+ <filestatus>
19
+ <well-formed toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</well-formed>
20
+ <valid toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</valid>
21
+ </filestatus>
22
+ <metadata>
23
+ <image>
24
+ <byteOrder toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">big endian</byteOrder>
25
+ <compressionScheme toolname="Jhove" toolversion="1.5" status="CONFLICT">JPEG 2000 Lossless</compressionScheme>
26
+ <compressionScheme toolname="Exiftool" toolversion="9.13" status="CONFLICT">JPEG 2000</compressionScheme>
27
+ <imageWidth toolname="Jhove" toolversion="1.5">512</imageWidth>
28
+ <imageHeight toolname="Jhove" toolversion="1.5">465</imageHeight>
29
+ <colorSpace toolname="Jhove" toolversion="1.5">sRGB</colorSpace>
30
+ <tileWidth toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">512</tileWidth>
31
+ <tileHeight toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">465</tileHeight>
32
+ <qualityLayers toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">1</qualityLayers>
33
+ <resolutionLevels toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">3</resolutionLevels>
34
+ <bitsPerSample toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">8 8 8</bitsPerSample>
35
+ <samplesPerPixel toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">3</samplesPerPixel>
36
+ </image>
37
+ </metadata>
38
+ <statistics fitsExecutionTime="788">
39
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
40
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
41
+ <tool toolname="Jhove" toolversion="1.5" executionTime="722" />
42
+ <tool toolname="file utility" toolversion="5.14" executionTime="570" />
43
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="662" />
44
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="438" />
45
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="160" />
46
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
47
+ <tool toolname="ffident" toolversion="0.2" executionTime="437" />
48
+ <tool toolname="Tika" toolversion="1.3" executionTime="226" />
49
+ </statistics>
50
+ </fits>
51
+
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="9/11/15 12:40 PM">
3
+ <identification>
4
+ <identity format="MPEG 1/2 Audio Layer 3" mimetype="audio/mpeg" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="Exiftool" toolversion="9.13" />
6
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" />
7
+ <tool toolname="ffident" toolversion="0.2" />
8
+ <tool toolname="Tika" toolversion="1.3" />
9
+ <version toolname="NLNZ Metadata Extractor" toolversion="3.4GA">1</version>
10
+ </identity>
11
+ </identification>
12
+ <fileinfo>
13
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:08:31 12:52:14-04:00</lastmodified>
14
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/test5.mp3</filepath>
15
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">test5.mp3</filename>
16
+ <size toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">366464</size>
17
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">d98da8d92c397294164b02a0382eb0e6</md5checksum>
18
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1441039934000</fslastmodified>
19
+ </fileinfo>
20
+ <filestatus />
21
+ <metadata>
22
+ <audio>
23
+ <duration toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="SINGLE_RESULT">0:0:15:261</duration>
24
+ <bitRate toolname="Exiftool" toolversion="9.13" status="CONFLICT">192 kbps</bitRate>
25
+ <bitRate toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="CONFLICT">192000</bitRate>
26
+ <sampleRate toolname="Exiftool" toolversion="9.13">44100</sampleRate>
27
+ <channels toolname="Exiftool" toolversion="9.13">2</channels>
28
+ <milliseconds toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="SINGLE_RESULT">15261</milliseconds>
29
+ <author toolname="Tika" toolversion="1.3" status="SINGLE_RESULT">Hendrik Broekman</author>
30
+ <title toolname="Tika" toolversion="1.3" status="SINGLE_RESULT">BachGavotteShort</title>
31
+ <sampleRate toolname="Tika" toolversion="1.3" status="SINGLE_RESULT">44100</sampleRate>
32
+ </audio>
33
+ </metadata>
34
+ <statistics fitsExecutionTime="679">
35
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
36
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
37
+ <tool toolname="Jhove" toolversion="1.5" executionTime="645" />
38
+ <tool toolname="file utility" toolversion="5.14" executionTime="533" />
39
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="507" />
40
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="457" />
41
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="158" />
42
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
43
+ <tool toolname="ffident" toolversion="0.2" executionTime="443" />
44
+ <tool toolname="Tika" toolversion="1.3" executionTime="267" />
45
+ </statistics>
46
+ </fits>
47
+
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="9/10/15 5:27 PM">
3
+ <identification>
4
+ <identity format="ISO Media, MPEG v4 system, version 2" mimetype="video/mp4" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="file utility" toolversion="5.14" />
6
+ <tool toolname="Exiftool" toolversion="9.13" />
7
+ </identity>
8
+ </identification>
9
+ <fileinfo>
10
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:07:28 09:37:53-04:00</lastmodified>
11
+ <created toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2005:10:28 17:46:46</created>
12
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/curation_concerns/spec/fixtures/sample_mpeg4.mp4</filepath>
13
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">sample_mpeg4.mp4</filename>
14
+ <size toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">245779</size>
15
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">dc77a8de8c091c19d86df74280f6feb7</md5checksum>
16
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1438090673000</fslastmodified>
17
+ </fileinfo>
18
+ <filestatus />
19
+ <metadata>
20
+ <video>
21
+ <duration toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">4.97 s</duration>
22
+ <frameRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">30</frameRate>
23
+ <bitDepth toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">24</bitDepth>
24
+ <audioSampleRate toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">32000</audioSampleRate>
25
+ <channels toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2</channels>
26
+ <imageWidth toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">190</imageWidth>
27
+ <imageHeight toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">240</imageHeight>
28
+ <rotation toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">0</rotation>
29
+ <xSamplingFrequency toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">72</xSamplingFrequency>
30
+ <ySamplingFrequency toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">72</ySamplingFrequency>
31
+ <creatingApplicationName toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">mp4v</creatingApplicationName>
32
+ </video>
33
+ </metadata>
34
+ <statistics fitsExecutionTime="725">
35
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
36
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
37
+ <tool toolname="Jhove" toolversion="1.5" executionTime="639" />
38
+ <tool toolname="file utility" toolversion="5.14" executionTime="614" />
39
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="677" />
40
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="485" />
41
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="228" />
42
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
43
+ <tool toolname="ffident" toolversion="0.2" executionTime="490" />
44
+ <tool toolname="Tika" toolversion="1.3" executionTime="385" />
45
+ </statistics>
46
+ </fits>
47
+
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="0.8.5" timestamp="8/28/15 3:29 PM">
3
+ <identification>
4
+ <identity format="Portable Document Format" mimetype="application/pdf" toolname="FITS" toolversion="0.8.5">
5
+ <tool toolname="Jhove" toolversion="1.5" />
6
+ <tool toolname="file utility" toolversion="5.14" />
7
+ <tool toolname="Exiftool" toolversion="9.13" />
8
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" />
9
+ <tool toolname="ffident" toolversion="0.2" />
10
+ <tool toolname="Tika" toolversion="1.3" />
11
+ <version toolname="Jhove" toolversion="1.5">1.3</version>
12
+ </identity>
13
+ </identification>
14
+ <fileinfo>
15
+ <size toolname="Jhove" toolversion="1.5">7618</size>
16
+ <creatingApplicationName toolname="Exiftool" toolversion="9.13">Mac OS X 10.10.3 Quartz PDFContext/TextEdit</creatingApplicationName>
17
+ <lastmodified toolname="Exiftool" toolversion="9.13" status="CONFLICT">2015:08:07 14:49:00-04:00</lastmodified>
18
+ <lastmodified toolname="Tika" toolversion="1.3" status="CONFLICT">2015-05-14T19:47:31Z</lastmodified>
19
+ <created toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">2015:05:14 19:47:31Z</created>
20
+ <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/grosscol/workspace/hydra-works/spec/fixtures/sample-file.pdf</filepath>
21
+ <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">sample-file.pdf</filename>
22
+ <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">3a1735b5b30c4adc3f92c70004ae53ed</md5checksum>
23
+ <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1438973340000</fslastmodified>
24
+ </fileinfo>
25
+ <filestatus>
26
+ <well-formed toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</well-formed>
27
+ <valid toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">true</valid>
28
+ </filestatus>
29
+ <metadata>
30
+ <document>
31
+ <title toolname="Exiftool" toolversion="9.13">sample-file</title>
32
+ <pageCount toolname="Jhove" toolversion="1.5">1</pageCount>
33
+ <isTagged toolname="Jhove" toolversion="1.5">no</isTagged>
34
+ <hasOutline toolname="Jhove" toolversion="1.5">no</hasOutline>
35
+ <hasAnnotations toolname="Jhove" toolversion="1.5" status="SINGLE_RESULT">no</hasAnnotations>
36
+ <isRightsManaged toolname="Exiftool" toolversion="9.13" status="SINGLE_RESULT">no</isRightsManaged>
37
+ <isProtected toolname="Exiftool" toolversion="9.13">no</isProtected>
38
+ <hasForms toolname="NLNZ Metadata Extractor" toolversion="3.4GA" status="SINGLE_RESULT">no</hasForms>
39
+ </document>
40
+ </metadata>
41
+ <statistics fitsExecutionTime="939">
42
+ <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
43
+ <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
44
+ <tool toolname="Jhove" toolversion="1.5" executionTime="600" />
45
+ <tool toolname="file utility" toolversion="5.14" executionTime="543" />
46
+ <tool toolname="Exiftool" toolversion="9.13" executionTime="508" />
47
+ <tool toolname="NLNZ Metadata Extractor" toolversion="3.4GA" executionTime="451" />
48
+ <tool toolname="OIS File Information" toolversion="0.2" executionTime="113" />
49
+ <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
50
+ <tool toolname="ffident" toolversion="0.2" executionTime="437" />
51
+ <tool toolname="Tika" toolversion="1.3" executionTime="886" />
52
+ </statistics>
53
+ </fits>
54
+