Skip to content

Commit

Permalink
Add caption to list of valid file roles/uses
Browse files Browse the repository at this point in the history
This is needed for the media enhancement work cycle
  • Loading branch information
mjgiarlo committed Nov 13, 2023
1 parent 5d4d5e6 commit b4e6c8e
Show file tree
Hide file tree
Showing 4 changed files with 4,764 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/lib/pre_assembly/file_manifest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ class FileManifest
attr_reader :csv_filename, :staging_location

# the valid roles a file can have, if you specify a "role" column and the value is not one of these, it will be ignored
VALID_ROLES = %w[transcription annotations derivative master].freeze
VALID_ROLES = %w[
annotations
caption
derivative
master
transcription
].freeze

# the required columns that must exist in the file manifest
REQUIRED_COLUMNS = %w[druid filename resource_label sequence publish shelve preserve resource_type].freeze
Expand Down
Loading

0 comments on commit b4e6c8e

Please sign in to comment.