diff --git a/app/assets/csv/import_manifest.csv b/app/assets/csv/import_manifest.csv index e0dd35b1..ea1b0b9f 100644 --- a/app/assets/csv/import_manifest.csv +++ b/app/assets/csv/import_manifest.csv @@ -1 +1 @@ -Object Type,Title,Item ARK,Parent ARK,Rights.copyrightStatus,File Name,AltIdentifier.local,AltTitle.other,Binding note,Condition note,Coverage.geographic,Date.creation,Date.normalized,Description.caption,Description.fundingNote,Description.latitude,Description.longitude,Description.note,Format.dimensions,Format.extent,Format.medium,Language,Name.architect,Name.photographer,Name.repository,Name.subject,Name.repository,Opac url,Project Name,Publisher.publisherName,Relation.isPartOf,Rights.countryCreation,Rights.rightsHolderContact,Subject,Type.genre,Type.typeOfResource,Place of origin,AltTitle.uniform,Support,Summary,Page layout,Text direction,viewingHint,IIIF Range,Illustrations note,Provenance; Description.history,Table of Contents; Description.tableOfContents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Masthead,Representative image,Featured image,Tagline,Subject geographic,Subject temporal,Translator,Name.translator,Commentator,Name.commentator,Colophon,Finding Aid URL, Alt ID.url, Rubricator,Name.rubricator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder +Object Type,Title,Item ARK,Parent ARK,Rights.copyrightStatus,File Name,AltIdentifier.local,AltTitle.other,Binding note,Condition note,Coverage.geographic,Date.creation,Date.normalized,Description.caption,Description.fundingNote,Description.latitude,Description.longitude,Description.note,Format.dimensions,Format.extent,Format.medium,Language,Name.architect,Name.photographer,Name.repository,Name.subject,Name.repository,Opac url,Project Name,Publisher.publisherName,Relation.isPartOf,Rights.countryCreation,Rights.rightsHolderContact,Subject,Type.genre,Type.typeOfResource,Place of origin,AltTitle.uniform,Support,Summary,Page layout,Text direction,viewingHint,IIIF Range,Illustrations note,Provenance; Description.history,Table of Contents; Description.tableOfContents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Masthead,Representative image,Featured image,Tagline,Subject geographic,Subject temporal,Translator,Name.translator,Commentator,Name.commentator,Colophon,Finding Aid URL, Alt ID.url, Rubricator,Name.rubricator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Name.arranger,Collector,Name.collector,Inscription,Librettist,Name.librettist,Script diff --git a/app/assets/markdown/importer_guide.md b/app/assets/markdown/importer_guide.md index 802fc72f..a344c1c4 100644 --- a/app/assets/markdown/importer_guide.md +++ b/app/assets/markdown/importer_guide.md @@ -15,9 +15,14 @@ - [AdminNote](#note_admin) - [AltTitle.other](#alttitleother) - [AltTitle.uniform](#alttitleuniform) + - [Archival Collection Number](#archive-collection-number) + - [Archival Collection Title](#archival-collection-title) + - [Arranger](#arranger) - [Author](#author) - [Binding note](#binding-note) + - [Box](#box) - [Collation](#collation) + - [Collector](#collector) - [Colophon](#colophon) - [Condition note](#condition-note) - [Content disclaimer](#contentdisclaimer) @@ -33,26 +38,31 @@ - [Description.note](#descriptionnote) - [Featured image (not in use)](#featured-image-not-in-use) - [Finding Aid URL](#finding-aid-url) + - [Folder](#folder) - [Foliation](#foliation) - - [Format](#format_book) - [Format.dimensions](#formatdimensions) - [Format.extent](#formatextent) - [Format.medium](#formatmedium) + - [Format](#format_book) - [Genre](#genre) - [Host](#host) - [IIIF Access URL](#iiif-access-url) - [IIIF Range (for future use in Festerize to generate Ranges)](#iiif-range-for-future-use-in-festerize-to-generate-ranges) - [Illustrations note](#illustrations-note) + - [Inscription](#inscription) - [Item Sequence](#item-sequence) - [Language](#language) + - [Librettist](#librettist) - [License](#license) - [Local identifier](#local-identifier) - [Masthead](#masthead) - [Musician](#musician) - [Name.architect](#namearchitect) + - [Name.arranger](#arranger) - [Name.artist](#nameartist) - [Name.calligrapher](#namecalligrapher) - [Name.cartographer](#namecartographer) + - [Name.collector](#collector) - [Name.commentator](#namecommentator) - [Name.composer](#namecomposer) - [Name.creator](#namecreator) @@ -63,6 +73,7 @@ - [Name.illustrator](#nameillustrator) - [Name.interviewee](#nameinterviewee) - [Name.interviewer](#nameinterviewer) + - [Name.librettist](#librettist) - [Name.lyricist](#namelyricist) - [Name.musician](#namemusician) - [Name.photographer](#namephotographer) @@ -74,8 +85,8 @@ - [Name.rubricator](#namerubricator) - [Name.scribe](#namescribe) - [Name.translator](#nametranslator) - - [Note](#note) - [Note.admin](#note_admin) + - [Note](#note) - [Opac url](#opac-url) - [Page layout](#page-layout) - [Place of origin](#place-of-origin) @@ -84,37 +95,34 @@ - [Project Name](#project-name) - [Provenance](#provenance) - [Publisher.publisherName](#publisherpublishername) - - [Related Records](#human_readable_related_record_title_ssm) - - [Related Items](#related_to) - [References](# citation_source) + - [Related Items](#related_to) + - [Related Records](#human_readable_related_record_title_ssm) - [Relation.isPartOf](#relationispartof) - [Repository](#repository) - [Representative image](#representative-image) - [Researcher](#researcher) - [Rights.countryCreation](#rightscountrycreation) - [Rights.rightsHolderContact](#rightsrightsholdercontact) - - [Rights.statementLocal](# local_rights_statement) + - [Rights.statementLocal](# local_rights_statement) + - [Script](#script) - [Series](#series) - [Statement of Responsibility](#resp_statement) + - [Subject culturalObject](#subject-culturalobject) + - [Subject domainTopic](#subject-domaintopic) - [Subject geographic](#subject-geographic) - [Subject name](#subject-name) - [Subject temporal](#subject-temporal) - - [Subject culturalObject](#subject-culturalobject) - - [Subject domainTopic](#subject-domaintopic) - [Subject topic](#subject-topic) - [Summary](#summary) - [Support](#support) - - [Text direction (for Festerize only)](#text-direction-for-festerize-only) - [Table of Contents](#table-of-contents) - [Tagline](#tagline) + - [Text direction (for Festerize only)](#text-direction-for-festerize-only) - [Thumbnail](#thumbnail) - [Type.typeOfResource](#typetypeofresource) - [viewingHint (for Festerize only)](#viewinghint-for-festerize-only) - [Visibility](#visibility) - - [Archival Collection Title](#archival-collection-title) - - [Archival Collection Number](#archive-collection-number) - - [Box](#box) - - [Folder](#folder) ## Required Fields @@ -212,6 +220,8 @@ Also accepts: `AltTitle.translated`, `AltTitle.descriptive`, `AltTitle.parallel` A uniform title from a controlled vocabulary. Can be multivalued. +#### Arranger + #### Author The author of the work being described. Can be multivalued. @@ -222,6 +232,8 @@ Also accepts: `Description.binding` #### Collation +#### Collector + #### Colophon A transcription or translation of a colophon, or a not on the location of a book or manuscript's colophon. @@ -312,6 +324,8 @@ _Note: Complex objects generally do not have IIIF Access URLs in the Work rows, Also accepts: `Description.illustrations` +#### Inscription + #### Item Sequence Required for Page rows of complex objects to generate manifests using Festerize. Work rows should not have Item Sequence values. @@ -320,6 +334,8 @@ Required for Page rows of complex objects to generate manifests using Festerize. Language of the resource. Must be the 3-letter ISO 639-2 code. Can be multivalued. +#### Librettist + #### License #### Local identifier @@ -480,6 +496,8 @@ Also accepts: `Rights.rightsHolderName`, `Personal or Corporate Name.copyrightHo #### Rights.statementLocal Local rights statement +#### Script + #### Series #### Statement of Responsibility diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 8edd4249..51b3b79f 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -72,6 +72,9 @@ def self.modified_field config.add_facet_field solr_name('musician', :facetable), label: 'Musician', limit: 5 config.add_facet_field solr_name('printer', :facetable), label: 'Printer', limit: 5 config.add_facet_field solr_name('researcher', :facetable), label: 'Researcher', limit: 5 + config.add_facet_field solr_name('arranger', :facetable), label: 'Arranger', limit: 5 + config.add_facet_field solr_name('collector', :facetable), label: 'Collector', limit: 5 + config.add_facet_field solr_name('librettist', :facetable), label: 'Librettist', limit: 5 # The generic_type isn't displayed on the facet list # It's used to give a label to the filter that comes from the user profile @@ -206,6 +209,11 @@ def self.modified_field config.add_show_field 'archival_collection_number_ssi' config.add_show_field 'archival_collection_box_ssi' config.add_show_field 'archival_collection_folder_ssi' + config.add_show_field 'arranger_tesim' + config.add_show_field 'collector_tesim' + config.add_show_field 'inscription_tesim' + config.add_show_field 'librettist_tesim' + config.add_show_field 'script_tesim' # "fielded" search configuration. Used by pulldown among other places. # For supported keys in hash, see rdoc for Blacklight::SearchFields @@ -244,125 +252,71 @@ def self.modified_field # Solr parameter de-referencing like $title_qf. # See: http://wiki.apache.org/solr/LocalParams - config.add_search_field('contributor') do |field| - solr_name = solr_name('contributor', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('author') do |field| - solr_name = solr_name('author', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('based_near') do |field| - solr_name = solr_name('based_near_label', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('artist') do |field| - solr_name = solr_name('artist', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('binding_note') do |field| - solr_name = solr_name('binding_note', :stored_sortable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('cartographer') do |field| - solr_name = solr_name('cartographer', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - # References - config.add_search_field('citation_source') do |field| - solr_name = solr_name('citation_source', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('collation') do |field| - solr_name = solr_name('collation', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('colophon') do |field| - solr_name = solr_name('colophon', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('commentator') do |field| - solr_name = solr_name('commentator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('composer') do |field| - solr_name = solr_name('composer', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('creator') do |field| - solr_name = solr_name('creator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('title') do |field| - solr_name = solr_name('title', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('date_created') do |field| - solr_name = solr_name('created', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('depositor') do |field| - solr_name = solr_name('depositor', :symbol) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } + [ + 'arranger', + 'artist', + 'author', + 'cartographer', + 'citation_source', + 'collation', + 'collector', + 'colophon', + 'commentator', + 'composer', + 'contributor', + 'created', + 'creator', + 'director', + 'foliation', + 'format', + 'format_book', + 'host', + 'iiif_viewing_hint', + 'illuminator', + 'illustrator', + 'inscription', + 'interviewee', + 'interviewer', + 'keyword', + 'language', + 'librettist', + 'license', + 'lyricist', + 'musician', + 'note_admin', + 'printer', + 'producer', + 'program', + 'publisher', + 'recipient', + 'repository', + 'researcher', + 'resource_type', + 'resp_statement', + 'rights_statement', + 'rubricator', + 'scribe', + 'script', + 'series', + 'subject', + 'subject_cultural_object', + 'subject_domain_topic', + 'subject_geographic', + 'subject_temporal', + 'subject_topic', + 'summary', + 'support', + 'title', + 'translator', + 'uniform_title' + ].each do |field_name| + config.add_search_field(field_name) do |field| + solr_name = solr_name(field_name, :stored_searchable) + field.solr_local_parameters = { + qf: solr_name, + pf: solr_name + } + end end config.add_search_field('description') do |field| @@ -374,336 +328,36 @@ def self.modified_field } end - config.add_search_field('director') do |field| - solr_name = solr_name('director', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('foliation') do |field| - solr_name = solr_name('foliation', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('format_book') do |field| - solr_name = solr_name('format_book', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('illuminator') do |field| - solr_name = solr_name('illuminator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('interviewee') do |field| - solr_name = solr_name('interviewee', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('interviewer') do |field| - solr_name = solr_name('interviewer', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('lyricist') do |field| - solr_name = solr_name('lyricist', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('note_admin') do |field| - solr_name = solr_name('note_admin', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('opac_url') do |field| - solr_name = solr_name('opac_url', :stored_sortable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('producer') do |field| - solr_name = solr_name('producer', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('program') do |field| - solr_name = solr_name('program', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('publisher') do |field| - solr_name = solr_name('publisher', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('recipient') do |field| - solr_name = solr_name('recipient', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field(' resp_statement') do |field| - solr_name = solr_name(' resp_statement', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('scribe') do |field| - solr_name = solr_name('scribe', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject') do |field| - solr_name = solr_name('subject', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject_geographic') do |field| - solr_name = solr_name('subject_geographic', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject_temporal') do |field| - solr_name = solr_name('subject_temporal', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject_cultural_object') do |field| - solr_name = solr_name('subject_cultural_object', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject_domain_topic') do |field| - solr_name = solr_name('subject_domain_topic', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('language') do |field| - solr_name = solr_name('language', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('resource_type') do |field| - solr_name = solr_name('resource_type', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('format') do |field| - solr_name = solr_name('format', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('host') do |field| - solr_name = solr_name('host', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('identifier') do |field| - solr_name = solr_name('id', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } + { + 'date_created' => 'created', + 'based_near' => 'based_near_label', + 'identifier' => 'id' + }.each do |field_name, field_solr_name| + config.add_search_field(field_name) do |field| + solr_name = solr_name(field_solr_name, :stored_searchable) + field.solr_local_parameters = { + qf: solr_name, + pf: solr_name + } + end end - config.add_search_field('iiif_manifest_url') do |field| - solr_name = solr_name('iiif_manifest_url', :stored_sortable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('iiif_viewing_hint') do |field| - solr_name = solr_name('iiif_viewing_hint', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } + [ + 'binding_note', + 'opac_url', + 'iiif_manifest_url' + ].each do |field_name| + config.add_search_field(field_name) do |field| + solr_name = solr_name(field_name, :stored_sortable) + field.solr_local_parameters = { + qf: solr_name, + pf: solr_name + } + end end - config.add_search_field('illustrator') do |field| - solr_name = solr_name('illustrator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('keyword') do |field| - solr_name = solr_name('keyword', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('rights_statement') do |field| - solr_name = solr_name('rights_statement', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('rubricator') do |field| - solr_name = solr_name('rubricator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('license') do |field| - solr_name = solr_name('license', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('musician') do |field| - solr_name = solr_name('musician', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('printer') do |field| - solr_name = solr_name('printer', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('subject_topic') do |field| - solr_name = solr_name('subject_topic', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('summary') do |field| - solr_name = solr_name('summary', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('support') do |field| - solr_name = solr_name('support', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('uniform_title') do |field| - solr_name = solr_name('uniform_title', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('translator') do |field| - solr_name = solr_name('translator', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('repository') do |field| - solr_name = solr_name('repository', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('researcher') do |field| - solr_name = solr_name('researcher', :stored_searchable) - field.solr_local_parameters = { - qf: solr_name, - pf: solr_name - } - end - - config.add_search_field('series') do |field| - solr_name = solr_name('series', :stored_searchable) + config.add_search_field('depositor') do |field| + solr_name = solr_name('depositor', :symbol) field.solr_local_parameters = { qf: solr_name, pf: solr_name diff --git a/app/forms/hyrax/californica_collections_form.rb b/app/forms/hyrax/californica_collections_form.rb index 6b8902ba..ee510241 100644 --- a/app/forms/hyrax/californica_collections_form.rb +++ b/app/forms/hyrax/californica_collections_form.rb @@ -4,20 +4,21 @@ module Hyrax class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm self.terms += [ :alternative_title, - :ark, - :artist, - :extent, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, + :ark, + :arranger, + :artist, :binding_note, :calligrapher, :caption, :cartographer, :citation_source, :collation, + :collector, :colophon, :commentator, :composer, @@ -30,6 +31,7 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :editor, :electronic_locator, :engraver, + :extent, :featured_image, :finding_aid_url, :foliation, @@ -39,19 +41,22 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :history, :host, :identifier, - :iiif_range, :iiif_manifest_url, + :iiif_range, :iiif_text_direction, :iiif_viewing_hint, :illuminator, - :illustrator, :illustrations_note, - :interviewer, + :illustrator, + :inscription, :interviewee, + :interviewer, :latitude, - :longitude, + :librettist, :local_identifier, + :local_rights_statement, :location, + :longitude, :lyricist, :masthead_parameters, :medium, @@ -60,8 +65,8 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :normalized_date, :note, :note_admin, - :opac_url, :oai_set, + :opac_url, :page_layout, :photographer, :place_of_origin, @@ -71,8 +76,8 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :program, :provenance, :recipient, - :related_to, :related_record, + :related_to, :related_url, :repository, :representative_image, @@ -82,21 +87,22 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :rights_country, :rights_holder, :rubricator, - :local_rights_statement, :scribe, + :script, :series, :services_contact, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, :subject_topic, + :summary, :tagline, :thumbnail_link, - :summary, :toc, :translator, - :uniform_title] + :uniform_title, + ] self.required_fields = [:title, :ark] @@ -118,18 +124,20 @@ def primary_terms def secondary_terms [ :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, + :arranger, :artist, - :binding_note, :based_near, + :binding_note, :calligrapher, :caption, :cartographer, :citation_source, :collation, + :collector, :colophon, :commentator, :composer, @@ -161,14 +169,17 @@ def secondary_terms :iiif_viewing_hint, :illuminator, :illustrations_note, - :interviewer, + :inscription, :interviewee, + :interviewer, :keyword, :language, :latitude, + :librettist, :license, - :location, :local_identifier, + :local_rights_statement, + :location, :longitude, :lyricist, :masthead_parameters, @@ -176,10 +187,10 @@ def secondary_terms :musician, :named_subject, :normalized_date, - :note_admin, :note, - :opac_url, + :note_admin, :oai_set, + :opac_url, :page_layout, :photographer, :place_of_origin, @@ -201,22 +212,22 @@ def secondary_terms :rights_country, :rights_holder, :rubricator, + :scribe, + :script, :series, :services_contact, - :local_rights_statement, - :scribe, :subject, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, :subject_topic, :summary, :tagline, :thumbnail_link, :toc, :translator, - :uniform_title + :uniform_title, ] end end diff --git a/app/forms/hyrax/work_form.rb b/app/forms/hyrax/work_form.rb index bd13f01d..e3c4a62b 100644 --- a/app/forms/hyrax/work_form.rb +++ b/app/forms/hyrax/work_form.rb @@ -8,11 +8,12 @@ class WorkForm < Hyrax::Forms::WorkForm :access_copy, :alternative_title, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, :ark, + :arranger, :artist, :author, :binding_note, @@ -21,9 +22,10 @@ class WorkForm < Hyrax::Forms::WorkForm :cartographer, :citation_source, :collation, + :collector, :colophon, - :composer, :commentator, + :composer, :condition_note, :content_disclaimer, :contents_note, @@ -51,11 +53,14 @@ class WorkForm < Hyrax::Forms::WorkForm :illuminator, :illustrations_note, :illustrator, - :interviewer, + :inscription, :interviewee, + :interviewer, :latitude, + :librettist, :license, :local_identifier, + :local_rights_statement, :location, :longitude, :lyricist, @@ -66,8 +71,8 @@ class WorkForm < Hyrax::Forms::WorkForm :normalized_date, :note, :note_admin, - :opac_url, :oai_set, + :opac_url, :page_layout, :photographer, :place_of_origin, @@ -88,13 +93,13 @@ class WorkForm < Hyrax::Forms::WorkForm :rights_country, :rights_holder, :rubricator, - :local_rights_statement, :scribe, + :script, :series, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, :subject_topic, :summary, :support, diff --git a/app/importers/californica_mapper.rb b/app/importers/californica_mapper.rb index fa65067c..004fd99b 100644 --- a/app/importers/californica_mapper.rb +++ b/app/importers/californica_mapper.rb @@ -13,6 +13,7 @@ class CalifornicaMapper < Darlingtonia::HashMapper "Alternate Title.inscribed", "AltTitle.descriptive", "Alternate Title.other"], + arranger: ["Arranger", "Name.arranger"], architect: "Name.architect", archival_collection_title: "Archival Collection Title", archival_collection_number: "Archival Collection Number", @@ -27,6 +28,7 @@ class CalifornicaMapper < Darlingtonia::HashMapper cartographer: ["Cartographer", "Name.cartographer"], citation_source: ["References"], collation: "Collation", + collector: ["Collector", "Name.collector"], colophon: ["Colophon", "Description.colophon"], commentator: ["Commentator", "Name.commentator"], composer: "Name.composer", @@ -60,10 +62,12 @@ class CalifornicaMapper < Darlingtonia::HashMapper illuminator: ["Illuminator", "Name.illuminator"], illustrations_note: ["Illustrations note", "Description.illustrations"], illustrator: ["Illustrator", "Name.illustrator"], + inscription: "Inscription", interviewer: ["Interviewer", "Name.interviewer"], interviewee: ["Interviewee", "Name.interviewee"], language: "Language", latitude: "Description.latitude", + librettist: ["Librettist", "Name.librettist"], license: "License", local_identifier: ["Alternate Identifier.local", "AltIdentifier.callNo", @@ -123,6 +127,7 @@ class CalifornicaMapper < Darlingtonia::HashMapper rights_statement: "Rights.copyrightStatus", rubricator: ["Rubricator", "Name.rubricator"], scribe: "Name.scribe", + script: "Script", series: "Series", services_contact: "Rights.servicesContact", subject: "Subject", diff --git a/app/models/solr_document.rb b/app/models/solr_document.rb index 65957764..4ce1cfca 100644 --- a/app/models/solr_document.rb +++ b/app/models/solr_document.rb @@ -42,6 +42,10 @@ def ark self[:ark_ssi] end + def arranger + self[:arranger_tesim] + end + def architect self[:architect_tesim] end @@ -74,6 +78,10 @@ def collation self[:collation_ssi] end + def collector + self[:collector_tesim] + end + def colophon self[:colophon_tesim] end @@ -206,10 +214,18 @@ def interviewer self[:interviewer_tesim] end + def inscription + self[:inscription_tesim] + end + def latitude self[Solrizer.solr_name('latitude')] end + def librettist + self[:librettist_tesim] + end + def location self[Solrizer.solr_name('location')] end @@ -346,6 +362,10 @@ def scribe self[:scribe_tesim] end + def script + self[:script_tesim] + end + def series self[:series_tesim] end diff --git a/app/models/ucla_metadata.rb b/app/models/ucla_metadata.rb index 6b02eac5..c10500e9 100644 --- a/app/models/ucla_metadata.rb +++ b/app/models/ucla_metadata.rb @@ -338,6 +338,26 @@ def self.single_valued_stored index.as :stored_sortable end + property :arranger, predicate: ::RDF::URI.intern('http://id.loc.gov/vocabulary/relators/arr') do |index| + index.as :stored_searchable, :facetable + end + + property :collector, predicate: ::RDF::URI.intern('http://id.loc.gov/vocabulary/relators/col') do |index| + index.as :stored_searchable, :facetable + end + + property :inscription, predicate: ::RDF::URI.intern('http://www.cidoc-crm.org/cidoc-crm/E34_Inscription') do |index| + index.as :stored_searchable + end + + property :librettist, predicate: ::RDF::URI.intern('http://id.loc.gov/vocabulary/relators/lbt') do |index| + index.as :stored_searchable, :facetable + end + + property :script, predicate: ::RDF::URI.intern('http://id.loc.gov/ontologies/bibframe/Script') do |index| + index.as :stored_searchable + end + # --------------- property :dlcs_collection_name, predicate: ::RDF::URI.intern('https://bib.schema.org/Collection') do |index| diff --git a/app/presenters/hyrax/californica_collection_presenter.rb b/app/presenters/hyrax/californica_collection_presenter.rb index 3fe1fe83..b39f8a8c 100644 --- a/app/presenters/hyrax/californica_collection_presenter.rb +++ b/app/presenters/hyrax/californica_collection_presenter.rb @@ -7,27 +7,29 @@ def self.terms [ :alternative_title, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, :ark, + :arranger, :artist, :author, - :binding_note, :based_near, + :binding_note, :calligrapher, - :cartographer, :caption, + :cartographer, :citation_source, :collation, + :collector, :colophon, - :composer, :commentator, - :contributor, + :composer, :condition_note, :content_disclaimer, :contents_note, + :contributor, :creator, :date_created, :dimensions, @@ -45,22 +47,26 @@ def self.terms :genre, :history, :host, + :identifier, :iiif_manifest_url, :iiif_range, + :iiif_text_direction, :iiif_viewing_hint, + :illuminator, :illustrations_note, :illustrator, - :identifier, - :illuminator, - :interviewer, + :inscription, :interviewee, + :interviewer, :keyword, - :location, :language, :latitude, + :librettist, :license, - :longitude, :local_identifier, + :local_rights_statement, + :location, + :longitude, :lyricist, :masthead_parameters, :medium, @@ -75,41 +81,40 @@ def self.terms :place_of_origin, :printer, :printmaker, - :provenance, - :program, :producer, + :program, + :provenance, :publisher, :recipient, :related_record, :related_to, :related_url, - :representative_image, :repository, + :representative_image, :researcher, + :resource_type, :resp_statement, :rights_country, :rights_holder, # This invokes License renderer from hyrax gem - :local_rights_statement, - :resource_type, :rubricator, :scribe, + :script, :series, :services_contact, :size, :subject, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, :subject_topic, - :support, :summary, + :support, :tagline, :thumbnail_link, - :iiif_text_direction, - :translator, :toc, :total_items, + :translator, :uniform_title ] end diff --git a/app/presenters/hyrax/work_presenter.rb b/app/presenters/hyrax/work_presenter.rb index 83f176cf..ed22a536 100644 --- a/app/presenters/hyrax/work_presenter.rb +++ b/app/presenters/hyrax/work_presenter.rb @@ -2,16 +2,18 @@ # Generated via # `rails generate hyrax:work Work` module Hyrax + # rubocop:disable Metrics/ClassLength class WorkPresenter < Hyrax::WorkShowPresenter delegate( :access_copy, :alternative_title, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, :ark, + :arranger, :artist, :author, :binding_note, @@ -20,6 +22,7 @@ class WorkPresenter < Hyrax::WorkShowPresenter :cartographer, :citation_source, :collation, + :collector, :colophon, :commentator, :composer, @@ -43,16 +46,21 @@ class WorkPresenter < Hyrax::WorkShowPresenter :geographic_coordinates, :history, :host, + :human_readable_related_record_title, :iiif_manifest_url, :iiif_range, - :illustrations_note, - :illustrator, + :iiif_text_direction, :iiif_viewing_hint, :illuminator, - :interviewer, + :illustrations_note, + :illustrator, + :inscription, :interviewee, + :interviewer, + :librettist, :license, :local_identifier, + :local_rights_statement, :location, :lyricist, :masthead_parameters, @@ -74,7 +82,6 @@ class WorkPresenter < Hyrax::WorkShowPresenter :provenance, :recipient, :related_record, - :human_readable_related_record_title, :related_to, :repository, :representative_image, @@ -84,21 +91,20 @@ class WorkPresenter < Hyrax::WorkShowPresenter :rights_country, :rights_holder, :rubricator, - :local_rights_statement, :scribe, + :script, :series, - :subject_topic, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, + :subject_topic, :summary, :support, :tagline, :thumbnail_link, - :translator, :toc, - :iiif_text_direction, + :translator, :uniform_title, to: :solr_document ) diff --git a/app/views/hyrax/base/_attribute_rows.html.erb b/app/views/hyrax/base/_attribute_rows.html.erb index 1e0f624a..a5a86a7f 100644 --- a/app/views/hyrax/base/_attribute_rows.html.erb +++ b/app/views/hyrax/base/_attribute_rows.html.erb @@ -1,26 +1,27 @@ <%= presenter.attribute_to_html(:access_copy, html_dl: true) %> -<%= presenter.attribute_to_html(:note_admin, html_dl: true, label: 'AdminNote') %> <%= presenter.attribute_to_html(:alternative_title, html_dl: true) %> <%= presenter.attribute_to_html(:architect, html_dl: true) %> -<%= presenter.attribute_to_html(:archival_collection_title, html_dl: true) %> -<%= presenter.attribute_to_html(:archival_collection_number, html_dl: true) %> <%= presenter.attribute_to_html(:archival_collection_box, html_dl: true) %> <%= presenter.attribute_to_html(:archival_collection_folder, html_dl: true) %> -<%= presenter.attribute_to_html(:artist, html_dl: true) %> +<%= presenter.attribute_to_html(:archival_collection_number, html_dl: true) %> +<%= presenter.attribute_to_html(:archival_collection_title, html_dl: true) %> <%= presenter.attribute_to_html(:ark, html_dl: true) %> +<%= presenter.attribute_to_html(:arranger, render_as: :faceted, html_dl: true) %> +<%= presenter.attribute_to_html(:artist, html_dl: true) %> <%= presenter.attribute_to_html(:author, html_dl: true) %> -<%= presenter.attribute_to_html(:binding_note, html_dl: true) %> <%= presenter.attribute_to_html(:based_near_label, html_dl: true) %> +<%= presenter.attribute_to_html(:binding_note, html_dl: true) %> <%= presenter.attribute_to_html(:calligrapher, html_dl: true) %> <%= presenter.attribute_to_html(:caption, html_dl: true) %> <%= presenter.attribute_to_html(:cartographer, html_dl: true) %> <%= presenter.attribute_to_html(:collation, html_dl: true) %> +<%= presenter.attribute_to_html(:collector, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:colophon, html_dl: true) %> <%= presenter.attribute_to_html(:commentator, html_dl: true) %> +<%= presenter.attribute_to_html(:composer, html_dl: true) %> <%= presenter.attribute_to_html(:condition_note, html_dl: true) %> <%= presenter.attribute_to_html(:content_disclaimer, html_dl: true) %> <%= presenter.attribute_to_html(:contents_note, html_dl: true) %> -<%= presenter.attribute_to_html(:composer, html_dl: true) %> <%= presenter.attribute_to_html(:contributor, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:creator, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:date_created, render_as: :linked, search_field: 'date_created_tesim', html_dl: true) %> @@ -50,10 +51,12 @@ <%= presenter.attribute_to_html(:illuminator, html_dl: true) %> <%= presenter.attribute_to_html(:illustrations_note, html_dl: true) %> <%= presenter.attribute_to_html(:illustrator, html_dl: true) %> +<%= presenter.attribute_to_html(:inscription, html_dl: true) %> <%= presenter.attribute_to_html(:interviewee, html_dl: true) %> <%= presenter.attribute_to_html(:interviewer, html_dl: true) %> <%= presenter.attribute_to_html(:keyword, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:language, render_as: :language, html_dl: true) %> +<%= presenter.attribute_to_html(:librettist, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:local_identifier, html_dl: true) %> <%= presenter.attribute_to_html(:local_rights_statement, html_dl: true) %> <%= presenter.attribute_to_html(:location, html_dl: true) %> @@ -64,6 +67,7 @@ <%= presenter.attribute_to_html(:named_subject, html_dl: true) %> <%= presenter.attribute_to_html(:normalized_date, html_dl: true) %> <%= presenter.attribute_to_html(:note, html_dl: true) %> +<%= presenter.attribute_to_html(:note_admin, html_dl: true, label: 'AdminNote') %> <%= presenter.attribute_to_html(:opac_url, html_dl: true) %> <%= presenter.attribute_to_html(:page_layout, html_dl: true) %> <%= presenter.attribute_to_html(:photographer, html_dl: true) %> @@ -92,25 +96,26 @@ <% end %> -<%= presenter.attribute_to_html(:related_to, html_dl: true, label: 'Related Items') %> <%= presenter.attribute_to_html(:citation_source, html_dl: true, label: "References") %> +<%= presenter.attribute_to_html(:related_to, html_dl: true, label: 'Related Items') %> <%= presenter.attribute_to_html(:related_url, render_as: :external_link, html_dl: true) %> <%= presenter.attribute_to_html(:repository, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:representative_image, html_dl: true) %> <%= presenter.attribute_to_html(:researcher, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:resource_type, render_as: :resource_type, html_dl: true) %> +<%= presenter.attribute_to_html(:resp_statement, html_dl: true, label: "Statement of Responsibility") %> <%= presenter.attribute_to_html(:rights_country, html_dl: true) %> <%= presenter.attribute_to_html(:rights_holder, html_dl: true) %> <%= presenter.attribute_to_html(:rights_statement, render_as: :rights_statement, html_dl: true) %> <%= presenter.attribute_to_html(:rubricator, html_dl: true) %> <%= presenter.attribute_to_html(:scribe, html_dl: true) %> +<%= presenter.attribute_to_html(:script, html_dl: true) %> <%= presenter.attribute_to_html(:series, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:source, html_dl: true) %> -<%= presenter.attribute_to_html(:resp_statement, html_dl: true, label: "Statement of Responsibility") %> <%= presenter.attribute_to_html(:subject, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:subject_cultural_object, render_as: :faceted, html_dl: true) %> -<%= presenter.attribute_to_html(:subject_geographic, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:subject_domain_topic, render_as: :faceted, html_dl: true) %> +<%= presenter.attribute_to_html(:subject_geographic, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:subject_temporal, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:subject_topic, html_dl: true) %> <%= presenter.attribute_to_html(:summary, html_dl: true) %> diff --git a/spec/fixtures/coordinates_example.csv b/spec/fixtures/coordinates_example.csv index 9fa9d26a..8abe68c7 100644 --- a/spec/fixtures/coordinates_example.csv +++ b/spec/fixtures/coordinates_example.csv @@ -1,3 +1,3 @@ -Project Name,Object Type,Parent ARK,Item ARK,Item Status,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Illustrator,Name.illustrator,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statement,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Los Angeles Daily News Negatives,Work,111/222,ark:/123/456,Completed with minimal metadata,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Work ark:/123/456",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 -Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,ark:/123/456,Edition-2,History-2,http://test.url/external/item/record2,http://test.url/view/record2,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2 +Project Name,Object Type,Parent ARK,Item ARK,Item Status,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Illustrator,Name.illustrator,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statement,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Name.arranger,Collector,Name.collector,Inscription,Librettist,Name.librettist,Script +Los Angeles Daily News Negatives,Work,111/222,ark:/123/456,Completed with minimal metadata,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Work ark:/123/456",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger,Name-arranger,Collector-1,Name-collector,Inscription-1,Librettist-1,Name-librettist,Script-1 +Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,ark:/123/456,Edition-2,History-2,http://test.url/external/item/record2,http://test.url/view/record2,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2,Arranger-2,Name-arranger-2,Collector-2,Name-collector-2,Inscription-2,Librettist-2,Name-librettist-2,Script-2 diff --git a/spec/fixtures/coordinates_example_update.csv b/spec/fixtures/coordinates_example_update.csv index 4217d35d..abd7ad98 100644 --- a/spec/fixtures/coordinates_example_update.csv +++ b/spec/fixtures/coordinates_example_update.csv @@ -1,2 +1,2 @@ -Project Name,Object Type,Parent ARK,Item ARK,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,Author,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance; Description.history,Table of Contents; Description.tableOfContents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note; Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statementLocal,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Better Extent,,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Better Funding Note,-118.239577,34.05707,Better Caption,clusc_1_1_00010432a.tif, Famous Author,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Illustrator-1,Illustrator-PersonName,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 +Project Name,Object Type,Parent ARK,Item ARK,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,Author,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance; Description.history,Table of Contents; Description.tableOfContents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note; Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statementLocal,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Name.arranger,Collector,Name.collector,Inscription,Librettist,Name.librettist,Script +Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Better Extent,,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Better Funding Note,-118.239577,34.05707,Better Caption,clusc_1_1_00010432a.tif, Famous Author,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Illustrator-1,Illustrator-PersonName,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger,Name-arranger,Collector-1,Name-collector,Inscription-1,Librettist-1,Name-librettist,Script-1 diff --git a/spec/fixtures/csv_import/csv_files_with_problems/example-ingest_dot_iiif_url.csv b/spec/fixtures/csv_import/csv_files_with_problems/example-ingest_dot_iiif_url.csv index c832a399..4abc10da 100644 --- a/spec/fixtures/csv_import/csv_files_with_problems/example-ingest_dot_iiif_url.csv +++ b/spec/fixtures/csv_import/csv_files_with_problems/example-ingest_dot_iiif_url.csv @@ -1,2 +1,2 @@ -Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,IIIF Manifest URL,Subject.culturalObject,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,https://ingest.iiif.library.ucla.edu/id/manifest,subject-culturalObject-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 +Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,IIIF Manifest URL,Subject.culturalObject,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Collector,Inscription,Librettist,Script +Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,https://ingest.iiif.library.ucla.edu/id/manifest,subject-culturalObject-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger-1,Collector-1,Inscription-1,Librettist-1,Script-1 diff --git a/spec/fixtures/csv_import/good/all_fields.csv b/spec/fixtures/csv_import/good/all_fields.csv index d76a6c52..c505b4ee 100644 --- a/spec/fixtures/csv_import/good/all_fields.csv +++ b/spec/fixtures/csv_import/good/all_fields.csv @@ -1,3 +1,3 @@ -Object Type,Title,Item ARK,Parent ARK,Rights.copyrightStatus,File Name,AltIdentifier.local,Coverage.geographic,Date.creation,Date.normalized,Description.caption,Description.fundingNote,Description.latitude,Description.longitude,Description.note,Format.dimensions,Format.extent,Format.medium,Language,Name.photographer,Name.repository,Name.subject,Project Name,Publisher.publisherName,Relation.isPartOf,Rights.countryCreation,Rights.rightsHolderContact,Rights.servicesContact,Subject,Type.genre,Type.typeOfResource,Name.architect,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,IIIF Manifest URL,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Collection,"Bennett (Walter E.) Photographic Collection, 1937-1983 (bulk 1952-1982)",21198/zz00011f8m,,copyrighted,,Collection 686,,1937-1983,1937/1983,,,,,"Walter E. Bennett (1921-1995) was the first salaried photographer for Time, where he worked from 1952 to 1982. The collection consists of photographic materials such as prints, negatives and slides. It also includes miscellaneous manuscripts and ephemera related to Bennett's life and career.",,,,,"Bennett, Walter E. (Walter Edward), 1921-1995","University of California, Los Angeles. $b Library Special Collections",,,,,,,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,,,,Los Angeles,"Bennett (Walter E.) Photographic Collection, 1937-1983 (bulk 1952-1982)",UCLA,A collection of photos by Walter Bennett,summary_1,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,manifest_url_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Calligrapher-2,Editor-1,Editor-2,Engraver-1,Engraver-2,Note,Printmaker-1,Printmaker-2,contents_note-1,contents_note-2,https://fake.url/iiif/ark%3A%2F13030%2Fzz00011f8m,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,External item record-1,View Record-1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 -Work,Anti-war demonstrators attend the 1971 May Day Protest in Washington D.C.,21198/zz0001q2jd,21198/zz00011f8m,copyrighted,food.tif,uclamss_686_b4_f16_1,,"May 3, 1971",1971-05-03,,,,,,35 mm,,1 photograph|~|color slide,,"Bennett, Walter E. (Walter Edward), 1921-1995","University of California, Los Angeles. $b Library Special Collections",,,,,,,,"Demonstrations--Washington (D.C.)|~|Vietnamese Conflict, 1961-1975--Protest movements--Washington (D.C)",news photographs,still image,Imhotep,"Walter Bennett Collection","Walter Bennett Colección",California,Anti-war demonstrators attend the 1971 May Day Protest in Washington D.C.,UCLA,Famous Author,May Day protest in 1971,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,manifest_url_2,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fzz0001q2jd,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-2,subject-culturalObject-2,subject-domain-topic-2,Series-2,Host-2,Name.host-2,Musician-2,Name.musician-2,Printer-2,Name.printer-2,Researcher-2,Name.researcher-2,Statement of Responsibility-2,References-2,AdminNote-2,Description.adminnote-2,Note.admin-2,Format-2,Related Items-2,Local rights statement-2,RelatedRecords-2,Edition-2,History-2,Identifier-2,External item record-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2 +Object Type,Title,Item ARK,Parent ARK,Rights.copyrightStatus,File Name,AltIdentifier.local,Coverage.geographic,Date.creation,Date.normalized,Description.caption,Description.fundingNote,Description.latitude,Description.longitude,Description.note,Format.dimensions,Format.extent,Format.medium,Language,Name.photographer,Name.repository,Name.subject,Project Name,Publisher.publisherName,Relation.isPartOf,Rights.countryCreation,Rights.rightsHolderContact,Rights.servicesContact,Subject,Type.genre,Type.typeOfResource,Name.architect,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,IIIF Manifest URL,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Collector,Inscription,Librettist,Script +Collection,"Bennett (Walter E.) Photographic Collection, 1937-1983 (bulk 1952-1982)",21198/zz00011f8m,,copyrighted,,Collection 686,,1937-1983,1937/1983,,,,,"Walter E. Bennett (1921-1995) was the first salaried photographer for Time, where he worked from 1952 to 1982. The collection consists of photographic materials such as prints, negatives and slides. It also includes miscellaneous manuscripts and ephemera related to Bennett's life and career.",,,,,"Bennett, Walter E. (Walter Edward), 1921-1995","University of California, Los Angeles. $b Library Special Collections",,,,,,,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,,,,Los Angeles,"Bennett (Walter E.) Photographic Collection, 1937-1983 (bulk 1952-1982)",UCLA,A collection of photos by Walter Bennett,summary_1,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,manifest_url_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Calligrapher-2,Editor-1,Editor-2,Engraver-1,Engraver-2,Note,Printmaker-1,Printmaker-2,contents_note-1,contents_note-2,https://fake.url/iiif/ark%3A%2F13030%2Fzz00011f8m,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,External item record-1,View Record-1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger-1,Collector-1,Inscription-1,Librettist-1,Script-1 +Work,Anti-war demonstrators attend the 1971 May Day Protest in Washington D.C.,21198/zz0001q2jd,21198/zz00011f8m,copyrighted,food.tif,uclamss_686_b4_f16_1,,"May 3, 1971",1971-05-03,,,,,,35 mm,,1 photograph|~|color slide,,"Bennett, Walter E. (Walter Edward), 1921-1995","University of California, Los Angeles. $b Library Special Collections",,,,,,,,"Demonstrations--Washington (D.C.)|~|Vietnamese Conflict, 1961-1975--Protest movements--Washington (D.C)",news photographs,still image,Imhotep,"Walter Bennett Collection","Walter Bennett Colección",California,Anti-war demonstrators attend the 1971 May Day Protest in Washington D.C.,UCLA,Famous Author,May Day protest in 1971,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,manifest_url_2,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fzz0001q2jd,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-2,subject-culturalObject-2,subject-domain-topic-2,Series-2,Host-2,Name.host-2,Musician-2,Name.musician-2,Printer-2,Name.printer-2,Researcher-2,Name.researcher-2,Statement of Responsibility-2,References-2,AdminNote-2,Description.adminnote-2,Note.admin-2,Format-2,Related Items-2,Local rights statement-2,RelatedRecords-2,Edition-2,History-2,Identifier-2,External item record-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2,Arranger-2,Collector-2,Inscription-2,Librettist-2,Script-2 diff --git a/spec/fixtures/example-missing_thumbnail.csv b/spec/fixtures/example-missing_thumbnail.csv index 85e9e3ce..8c067f6c 100644 --- a/spec/fixtures/example-missing_thumbnail.csv +++ b/spec/fixtures/example-missing_thumbnail.csv @@ -1,2 +1,2 @@ -Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Subject.culturalObject,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,subject-culturalObject-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 +Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Subject.culturalObject,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Collector,Inscription,Librettist,Script +Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,subject-culturalObject-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger-1,Collector-1,Inscription-1,Librettist-1,Script-1 diff --git a/spec/fixtures/example.csv b/spec/fixtures/example.csv index 6bea986b..b0ecfa50 100644 --- a/spec/fixtures/example.csv +++ b/spec/fixtures/example.csv @@ -1,3 +1,3 @@ -Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz00294ab9,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Related Item Record Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-2,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 -Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-2,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,21198/zz00294ab9,Edition-2,History-2,Identifier-2,http://test.url/external/item/record2,http://test.url/view/record2,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2 +Object Type,Project Name,Parent ARK,Item ARK,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Provenance,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note,Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,License,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Name.arranger,Collector,Name.collector,Inscription,Librettist,Name.librettist,Script +Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz00294ab9,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Related Item Record Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-2,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,,Box-1,Folder-1,Arranger,Name-arranger,Collector-1,Name-collector,Inscription-1,Librettist-1,Name-librettist,Script-1 +Work,Los Angeles Daily News Negatives,21198/zz00294nz8,21198/zz0002nq4w,Eminent domain--California--Los Angeles|~|Demonstrations--California--Los Angeles County|~|Express highways--California--Los Angeles County--Design and construction|~|Government|~|Transportation|~|Activism|~|Interstate 10,still image,copyrighted,news photographs,Los Angeles County (Calif.). $b Board of Supervisors,Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",,,,1947-09-17,uclalat_1387_b107_40098,"Protesters with signs in gallery of Los Angeles County Supervisors hearing over eminent domain for construction of Harbor Freeway, Calif., 1947","September 17, 1947",1 photograph,b&w negative,10 x 12.5 cm.,"At the Hall of Records, 220 N. Broadway.|~|Description 2",Info about funding,-118.243865,34.054133,This example does not have a caption.,clusc_1_1_00010432a.tif,"Protesters with signs"," manifestante n común",Los Angeles,Los Angeles Daily News Negatives,UCLA,Famous Author,Protesters with signs,images,left-to-right,Green,paged,iiif-range,illustration-note,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,example_opac_url,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,http://creativecommons.org/publicdomain/zero/1.0/,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F21198%2Fzz0002nq4w,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-2,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,21198/zz00294ab9,Edition-2,History-2,Identifier-2,http://test.url/external/item/record2,http://test.url/view/record2,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2,Arranger-2,Name-arranger-2,Collector-2,Name-collector-2,Inscription-2,Librettist-2,Name-librettist-2,Script-2 diff --git a/spec/fixtures/simple_example.csv b/spec/fixtures/simple_example.csv index c997e560..d2ab61d2 100644 --- a/spec/fixtures/simple_example.csv +++ b/spec/fixtures/simple_example.csv @@ -1,2 +1,2 @@ -License,Project Name,Object Type,Parent ARK,Item ARK,Item Status,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder -http://creativecommons.org/publicdomain/mark/1.0/,Project-Name,Work,111/222,13030/hb338nb26f,Completed,Subject,still image,copyrighted,news photos,Name-subject,Coverage-geographic,Relation-isPartOf,Publisher-Name,Rights-Creation,Rights-HolderContact,Architect,Photographer,Repositor-Name,2-14-2020,AltIdentifier,Title,Date-creation,Format-extent,Format-medium,Dimensions,Description-note,FundingNote,Longitude,Latitude,Caption,File-Name,AltTitle-other,AltTitle-translated,Place of origin,AltTitle-Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Hhistory,Table of Contents,SubjectConceptTopic,Subject-DescriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Iilluminator,Lyricist,Composer,Scribe,Name-Scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name-Commentator,Translator,Translator,Subject temporal,Opac url,Subject geographic,Colophon,Description-Colophon,Finding Aid URL,Alt ID-Url,Rubricator,Name-Rubricator,Name-Creator,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1 +License,Project Name,Object Type,Parent ARK,Item ARK,Item Status,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Illustrator,Name.illustrator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Content disclaimer,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Cartographer,Name.cartographer,Artist,Name.artist,Recipient,Name.recipient,Director,Name.director,Producer,Name.producer,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,Identifier,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder,Arranger,Collector,Inscription,Librettist,Script +http://creativecommons.org/publicdomain/mark/1.0/,Project-Name,Work,111/222,13030/hb338nb26f,Completed,Subject,still image,copyrighted,news photos,Name-subject,Coverage-geographic,Relation-isPartOf,Publisher-Name,Rights-Creation,Rights-HolderContact,Architect,Photographer,Repositor-Name,2-14-2020,AltIdentifier,Title,Date-creation,Format-extent,Format-medium,Dimensions,Description-note,FundingNote,Longitude,Latitude,Caption,File-Name,AltTitle-other,AltTitle-translated,Place of origin,AltTitle-Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Hhistory,Table of Contents,SubjectConceptTopic,Subject-DescriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Iilluminator,Lyricist,Composer,Scribe,Name-Scribe,Condition note,Masthead,Representative image,Featured image,Tagline,Commentator,Name-Commentator,Translator,Translator,Subject temporal,Opac url,Subject geographic,Colophon,Description-Colophon,Finding Aid URL,Alt ID-Url,Rubricator,Name-Rubricator,Name-Creator,Illustrator-1,Illustrator-2,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Disclaimer: Warning,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Cartographer-1,Cartographer-2,Artist-1,Artist-2,Recipient-1,Recipient-2,Director-1,Director-2,Producer-1,Producer-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,RelatedRecords-1,Edition-1,History-1,Identifier-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1,Arranger-1,Collector-1,Inscription-1,Librettist-1,Script-1 diff --git a/spec/forms/hyrax/child_work_form_spec.rb b/spec/forms/hyrax/child_work_form_spec.rb index c777ec47..409c0eae 100644 --- a/spec/forms/hyrax/child_work_form_spec.rb +++ b/spec/forms/hyrax/child_work_form_spec.rb @@ -10,12 +10,14 @@ expect(form.terms).to include( :access_copy, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, + :arranger, :caption, :citation_source, + :collector, :commentator, :dimensions, :edition, @@ -27,7 +29,9 @@ :history, :host, :identifier, + :inscription, :latitude, + :librettist, :local_identifier, :local_rights_statement, :longitude, @@ -46,10 +50,11 @@ :resp_statement, :rights_country, :rights_holder, + :script, :series, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_temporal, :translator ) end diff --git a/spec/forms/hyrax/work_form_spec.rb b/spec/forms/hyrax/work_form_spec.rb index 7211a119..7c2834d5 100644 --- a/spec/forms/hyrax/work_form_spec.rb +++ b/spec/forms/hyrax/work_form_spec.rb @@ -10,11 +10,12 @@ :access_copy, :alternative_title, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, :ark, + :arranger, :artist, :author, :binding_note, @@ -23,9 +24,10 @@ :cartographer, :citation_source, :collation, + :collector, :colophon, - :composer, :commentator, + :composer, :condition_note, :content_disclaimer, :contents_note, @@ -54,9 +56,11 @@ :illuminator, :illustrations_note, :illustrator, - :interviewer, + :inscription, :interviewee, + :interviewer, :latitude, + :librettist, :license, :local_identifier, :local_rights_statement, @@ -70,8 +74,8 @@ :normalized_date, :note, :note_admin, - :opac_url, :oai_set, + :opac_url, :page_layout, :photographer, :place_of_origin, @@ -93,6 +97,7 @@ :rights_holder, :rubricator, :scribe, + :script, :series, :subject_cultural_object, :subject_domain_topic, diff --git a/spec/importers/californica_csv_parser_spec.rb b/spec/importers/californica_csv_parser_spec.rb index 6ed00ead..1f825cc8 100644 --- a/spec/importers/californica_csv_parser_spec.rb +++ b/spec/importers/californica_csv_parser_spec.rb @@ -47,141 +47,151 @@ describe '#headers' do let(:expected_headers) do - ['Object Type', - 'Project Name', - 'Parent ARK', - 'Item ARK', - 'Subject', - 'Type.typeOfResource', - 'Rights.copyrightStatus', - 'Type.genre', - 'Name.subject', - 'Coverage.geographic', - 'Relation.isPartOf', - 'Publisher.publisherName', - 'Rights.countryCreation', - 'Rights.rightsHolderContact', - 'Name.architect', - 'Name.photographer', - 'Name.repository', - 'Date.normalized', - 'AltIdentifier.local', - 'Title', - 'Date.creation', - 'Format.extent', - 'Format.medium', - 'Format.dimensions', - 'Description.note', - 'Description.fundingNote', - 'Description.longitude', - 'Description.latitude', - 'Description.caption', - 'File Name', - 'AltTitle.other', - 'AltTitle.translated', - 'Place of origin', - 'AltTitle.uniform', - 'Support', - 'Author', - 'Summary', - 'Page layout', - 'Text direction', - 'Binding note', - 'viewingHint', - 'IIIF Range', - 'Illustrations note', - 'Provenance', - 'Table of Contents', - 'Subject.conceptTopic', - 'Subject.descriptiveTopic', - 'Collation', - 'Foliation note', - 'Foliation', - 'Illuminator', - 'Name.illuminator', - 'Name.lyricist', - 'Name.composer', - 'Scribe', - 'Name.scribe', - 'Condition note', - 'Masthead', - 'Representative image', - 'Featured image', - 'Tagline', - 'Commentator', - 'Name.commentator', - 'Translator', - 'Name.translator', - 'Subject temporal', - 'Opac url', - 'Subject geographic', - 'Colophon', - 'Description.colophon', - 'Finding Aid URL', - 'Alt ID.url', - 'Rubricator', - 'Name.rubricator', - 'Name.creator', - 'License', - 'Illustrator', - 'Name.illustrator', - 'Calligrapher', - 'Name.calligrapher', - 'Editor', - 'Name.editor', - 'Engraver', - 'Name.engraver', - 'Note', - 'Printmaker', - 'Name.printmaker', - 'Contents note', - 'Description.contents', - 'Thumbnail', - 'Artist', - 'Name.artist', - 'Cartographer', - 'Name.cartographer', - 'Content disclaimer', - 'Director', - 'Name.director', - 'Interviewer', - 'Name.interviewer', - 'Interviewee', - 'Name.interviewee', - 'Producer', - 'Name.producer', - 'Recipient', - 'Name.recipient', - 'Program', - 'Subject.culturalObject', - 'Subject.domainTopic', - 'Series', - 'Host', - 'Name.host', - 'Musician', - 'Name.musician', - 'Printer', - 'Name.printer', - 'Researcher', - 'Name.researcher', - 'Statement of Responsibility', - 'References', - 'AdminNote', - 'Description.adminnote', - 'Note.admin', - 'Format', - 'Related Items', - 'Rights.statementLocal', - 'Related Records', - 'Edition', - 'History', - 'Identifier', - 'External item record', - 'View Record', - 'Archival Collection Title', - 'Archival Collection Number', - 'Box', - 'Folder'] + [ + 'Object Type', + 'Project Name', + 'Parent ARK', + 'Item ARK', + 'Subject', + 'Type.typeOfResource', + 'Rights.copyrightStatus', + 'Type.genre', + 'Name.subject', + 'Coverage.geographic', + 'Relation.isPartOf', + 'Publisher.publisherName', + 'Rights.countryCreation', + 'Rights.rightsHolderContact', + 'Name.architect', + 'Name.photographer', + 'Name.repository', + 'Date.normalized', + 'AltIdentifier.local', + 'Title', + 'Date.creation', + 'Format.extent', + 'Format.medium', + 'Format.dimensions', + 'Description.note', + 'Description.fundingNote', + 'Description.longitude', + 'Description.latitude', + 'Description.caption', + 'File Name', + 'AltTitle.other', + 'AltTitle.translated', + 'Place of origin', + 'AltTitle.uniform', + 'Support', + 'Author', + 'Summary', + 'Page layout', + 'Text direction', + 'Binding note', + 'viewingHint', + 'IIIF Range', + 'Illustrations note', + 'Provenance', + 'Table of Contents', + 'Subject.conceptTopic', + 'Subject.descriptiveTopic', + 'Collation', + 'Foliation note', + 'Foliation', + 'Illuminator', + 'Name.illuminator', + 'Name.lyricist', + 'Name.composer', + 'Scribe', + 'Name.scribe', + 'Condition note', + 'Masthead', + 'Representative image', + 'Featured image', + 'Tagline', + 'Commentator', + 'Name.commentator', + 'Translator', + 'Name.translator', + 'Subject temporal', + 'Opac url', + 'Subject geographic', + 'Colophon', + 'Description.colophon', + 'Finding Aid URL', + 'Alt ID.url', + 'Rubricator', + 'Name.rubricator', + 'Name.creator', + 'License', + 'Illustrator', + 'Name.illustrator', + 'Calligrapher', + 'Name.calligrapher', + 'Editor', + 'Name.editor', + 'Engraver', + 'Name.engraver', + 'Note', + 'Printmaker', + 'Name.printmaker', + 'Contents note', + 'Description.contents', + 'Thumbnail', + 'Artist', + 'Name.artist', + 'Cartographer', + 'Name.cartographer', + 'Content disclaimer', + 'Director', + 'Name.director', + 'Interviewer', + 'Name.interviewer', + 'Interviewee', + 'Name.interviewee', + 'Producer', + 'Name.producer', + 'Recipient', + 'Name.recipient', + 'Program', + 'Subject.culturalObject', + 'Subject.domainTopic', + 'Series', + 'Host', + 'Name.host', + 'Musician', + 'Name.musician', + 'Printer', + 'Name.printer', + 'Researcher', + 'Name.researcher', + 'Statement of Responsibility', + 'References', + 'AdminNote', + 'Description.adminnote', + 'Note.admin', + 'Format', + 'Related Items', + 'Rights.statementLocal', + 'Related Records', + 'Edition', + 'History', + 'Identifier', + 'External item record', + 'View Record', + 'Archival Collection Title', + 'Archival Collection Number', + 'Box', + 'Folder', + 'Arranger', + 'Name.arranger', + 'Collector', + 'Name.collector', + 'Inscription', + 'Librettist', + 'Name.librettist', + 'Script' + ] end # order of the csv headers should be mainted spec/fixtures/example.csv. diff --git a/spec/importers/californica_mapper_spec.rb b/spec/importers/californica_mapper_spec.rb index 72e52bf5..1c81fc52 100644 --- a/spec/importers/californica_mapper_spec.rb +++ b/spec/importers/californica_mapper_spec.rb @@ -162,7 +162,15 @@ "History" => "History-1", # history "Identifier" => "Identifier-1", # identifier "External item record" => "http://test.url/external/item/record", # electronic_locator - "View Record" => "http://test.url/view/record" # electronic_locator + "View Record" => "http://test.url/view/record", # electronic_locator + "Arranger" => "Arranger-1", # arranger + "Name.arranger" => "Arranger-2", # arranger + "Collector" => "Collector-1", # collector + "Name.collector" => "Collector-2", # collector + "Inscription" => "Inscription-1", # inscription + "Librettist" => "Librettist-1", # librettist + "Name.librettist" => "Librettist-2", # librettist + "Script" => "Script-1", # script } end @@ -199,105 +207,110 @@ expect(mapper.fields).to include( :alternative_title, :architect, - :archival_collection_title, - :archival_collection_number, :archival_collection_box, :archival_collection_folder, + :archival_collection_number, + :archival_collection_title, :ark, + :arranger, + :artist, :binding_note, :calligrapher, :caption, + :cartographer, :citation_source, :collation, + :collector, :colophon, :commentator, :composer, :condition_note, + :content_disclaimer, :contents_note, :creator, :date_created, :description, :dimensions, + :director, :dlcs_collection_name, :edition, :editor, :electronic_locator, :engraver, :extent, + :featured_image, :finding_aid_url, :foliation, :format_book, :funding_note, :genre, :history, + :host, :iiif_manifest_url, + :iiif_text_direction, :iiif_viewing_hint, :illuminator, :illustrator, + :inscription, + :interviewee, + :interviewer, :language, - :license, :latitude, + :librettist, + :license, :local_identifier, + :local_rights_statement, :location, :longitude, :lyricist, :masthead_parameters, :medium, + :musician, :named_subject, :normalized_date, :note, :note_admin, :opac_url, - :publisher, - :photographer, :page_layout, + :photographer, :place_of_origin, + :printer, :printmaker, - :publisher, + :producer, :program, :provenance, + :publisher, + :publisher, + :recipient, + :related_record, + :related_to, :repository, + :representative_image, + :researcher, :resource_type, :resp_statement, :rights_country, :rights_holder, :rights_statement, :rubricator, - :local_rights_statement, :scribe, + :script, :series, :services_contact, :subject, - :subject_geographic, - :subject_temporal, :subject_cultural_object, :subject_domain_topic, + :subject_geographic, + :subject_temporal, :summary, :support, - :toc, + :tagline, :thumbnail_link, - :translator, - :iiif_text_direction, :title, + :toc, + :translator, :uniform_title, - :visibility, - :representative_image, - :featured_image, - :tagline, - :artist, - :cartographer, - :content_disclaimer, - :director, - :interviewer, - :interviewee, - :producer, - :recipient, - :host, - :musician, - :printer, - :researcher, - :related_to, - :related_record + :visibility ) end end diff --git a/spec/system/edit_collection_spec.rb b/spec/system/edit_collection_spec.rb index f5df1419..20b08962 100644 --- a/spec/system/edit_collection_spec.rb +++ b/spec/system/edit_collection_spec.rb @@ -10,108 +10,113 @@ let(:collection_attrs) do { - title: ['Old Title'], - architect: ['Old architect'], alternative_title: ['alternative title'], + architect: ['Old architect'], + archival_collection_box: 'Old Box', + archival_collection_folder: 'Old Folder', + archival_collection_number: 'Old Archival Collection Number', + archival_collection_title: 'Old Archival Collection Title', ark: 'ark:/abc/1234', + arranger: ['Old Arranger'], + artist: ['Old Artist'], author: ['Old Author'], + binding_note: 'Old Binding note', + calligrapher: ['Old Calligrapher'], caption: ['Old Cap'], + cartographer: ['Old Cartographer'], citation_source: ['Old References'], collation: 'Old Collation', + collector: ['Old Collector'], + colophon: ['Old Colophon'], + commentator: ['Old Commentator'], composer: ['Old Composer'], - rights_statement: ['http://vocabs.library.ucla.edu/rights/copyrighted'], # "copyrighted" - publisher: ['Old Pub'], + condition_note: 'Old Condition note', + content_disclaimer: ['Old Disclaimer'], + contents_note: ['Old Contents note'], + creator: ['Old name creator'], date_created: ['Old Creation Date'], description: ['Old Desc'], dimensions: ['Old Dim'], + director: ['Old Director'], edition: ['Old Edition'], + editor: ['Old Editor'], electronic_locator: 'Old External item record', - resource_type: ['http://id.loc.gov/vocabulary/resourceTypes/col'], # "collection" + engraver: ['Old Engraver'], extent: ['Old Extent'], + featured_image: 'Old Featured image', + finding_aid_url: ['Old Finding aid url'], foliation: 'Old Foliation note', + format_book: ['Old Format'], funding_note: ['Old Fund Note'], genre: ['Old Genre'], history: ['Old History'], + host: ['Old Host'], identifier: ['Old Identifier'], iiif_manifest_url: 'https://iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k', - iiif_viewing_hint: 'Old Iiif viewing hint', iiif_range: 'Old IIIF Range', + iiif_text_direction: 'http://iiif.io/api/presentation/2#leftToRightDirection', # "left-to-right" + iiif_viewing_hint: 'Old Iiif viewing hint', illuminator: ['Old Illuminator'], illustrations_note: ['Old Illustrations note'], illustrator: ['Old Illustrator'], + inscription: ['Old Inscription'], + interviewee: ['Old Interviewee'], + interviewer: ['Old Interviewer'], language: ['ang'], latitude: ['Old Lat'], - longitude: ['Old Long'], + librettist: ['Old Librettist'], + license: ['http://creativecommons.org/publicdomain/zero/1.0/'], local_identifier: ['Old Local ID'], + local_rights_statement: ['Old Local rights statement'], + location: ['Old Loc'], + longitude: ['Old Long'], lyricist: ['Old Lyricist'], masthead_parameters: 'Old Masthead Parameters', medium: ['Old Medium'], + musician: ['Old Musician'], named_subject: ['Old Name/Subj'], normalized_date: ['1900/1901'], + note: ['Old Note'], + note_admin: ['Old AdminNote'], + opac_url: 'https://www.library.ucla.edu', page_layout: ['Old Page layout'], + photographer: ['Old Photographer'], place_of_origin: ['Old Place of origin'], + printer: ['Old Printer'], + printmaker: ['Old Printmaker'], + producer: ['Old Producer'], + program: ['Old Program'], provenance: ['Old Provenance'], + publisher: ['Old Pub'], + recipient: ['Old Recipient'], + related_record: ['Old Related Records'], + related_to: ['Old Related Items'], repository: ['Old Repository'], - location: ['Old Loc'], + representative_image: 'Old Representative image', + researcher: ['Old Researcher'], + resource_type: ['http://id.loc.gov/vocabulary/resourceTypes/col'], # "collection" + resp_statement: ['Old Statement of Responsibility'], rights_country: ['Old Rights Country'], rights_holder: ['Old Rights Holder'], - photographer: ['Old Photographer'], - services_contact: ['Old Services Contact'], - opac_url: 'https://www.library.ucla.edu', - binding_note: 'Old Binding note', + rights_statement: ['http://vocabs.library.ucla.edu/rights/copyrighted'], # "copyrighted" + rubricator: ['Old rubricator'], scribe: ['Old Scribe'], + script: ['Old Script'], + series: ['Old Series'], + services_contact: ['Old Services Contact'], subject: ['Old Subj'], + subject_cultural_object: ['Old Subject cultural object'], + subject_domain_topic: ['Old Subject domain topic'], + subject_geographic: ['Old Subject geographic'], + subject_temporal: ['Old Subject temporal'], subject_topic: ['Old Subject Topic'], summary: ['Old Summary'], support: ['Old Supprt'], - toc: ['Old Table of Contents'], - iiif_text_direction: 'http://iiif.io/api/presentation/2#leftToRightDirection', # "left-to-right" - uniform_title: ['Old Uniform title'], - condition_note: 'Old Condition note', - representative_image: 'Old Representative image', - featured_image: 'Old Featured image', tagline: 'Old Tagline', - commentator: ['Old Commentator'], - subject_geographic: ['Old Subject geographic'], - subject_temporal: ['Old Subject temporal'], - subject_cultural_object: ['Old Subject cultural object'], - subject_domain_topic: ['Old Subject domain topic'], + title: ['Old Title'], + toc: ['Old Table of Contents'], translator: ['Old Translator'], - colophon: ['Old Colophon'], - finding_aid_url: ['Old Finding aid url'], - rubricator: ['Old rubricator'], - creator: ['Old name creator'], - license: ['http://creativecommons.org/publicdomain/zero/1.0/'], - calligrapher: ['Old Calligrapher'], - engraver: ['Old Engraver'], - editor: ['Old Editor'], - note: ['Old Note'], - printmaker: ['Old Printmaker'], - contents_note: ['Old Contents note'], - local_rights_statement: ['Old Local rights statement'], - content_disclaimer: ['Old Disclaimer'], - interviewer: ['Old Interviewer'], - interviewee: ['Old Interviewee'], - cartographer: ['Old Cartographer'], - artist: ['Old Artist'], - recipient: ['Old Recipient'], - director: ['Old Director'], - producer: ['Old Producer'], - program: ['Old Program'], - series: ['Old Series'], - host: ['Old Host'], - musician: ['Old Musician'], - printer: ['Old Printer'], - researcher: ['Old Researcher'], - resp_statement: ['Old Statement of Responsibility'], - note_admin: ['Old AdminNote'], - format_book: ['Old Format'], - related_to: ['Old Related Items'], - related_record: ['Old Related Records'], - archival_collection_title: 'Old Archival Collection Title', - archival_collection_number: 'Old Archival Collection Number', - archival_collection_box: 'Old Box', - archival_collection_folder: 'Old Folder' + uniform_title: ['Old Uniform title'] } end @@ -229,6 +234,11 @@ expect(find_field('Archival collection number').value).to eq 'Old Archival Collection Number' expect(find_field('Archival collection box').value).to eq 'Old Box' expect(find_field('Archival collection folder').value).to eq 'Old Folder' + expect(find_field('Arranger').value).to eq 'Old Arranger' + expect(find_field('Collector').value).to eq 'Old Collector' + expect(find_field('Inscription').value).to eq 'Old Inscription' + expect(find_field('Librettist').value).to eq 'Old Librettist' + expect(find_field('Script').value).to eq 'Old Script' # Edit some fields in the form fill_in 'Title', with: 'New Title' diff --git a/spec/system/edit_work_spec.rb b/spec/system/edit_work_spec.rb index c5f16822..c2fbd27a 100644 --- a/spec/system/edit_work_spec.rb +++ b/spec/system/edit_work_spec.rb @@ -11,7 +11,12 @@ access_copy: 'dlmasters/ethiopian/masters/abc123.tif', alternative_title: ['Alternative title'], architect: ['Old Architect'], + archival_collection_box: 'Old Box', + archival_collection_folder: 'Old Folder', + archival_collection_number: 'Old Archival Collection Number', + archival_collection_title: 'Old Archival Collection Title', ark: 'ark:/abc/3456', + arranger: ['Old Arranger'], artist: ['Old Artist'], author: ['Old Author'], binding_note: 'Old Binding note', @@ -20,9 +25,10 @@ cartographer: ['Old Cartographer'], citation_source: ['Old References'], collation: 'Old Collation', + collector: ['Old Collector'], colophon: ['Old Colophon'], - composer: ['Old Composer'], commentator: ['Old Commentator'], + composer: ['Old Composer'], condition_note: 'Old Condition note', content_disclaimer: ['Old Disclaimer'], contents_note: ['Old Contents note'], @@ -53,10 +59,12 @@ illuminator: ['Old Illuminator'], illustrations_note: ['Old Illustrations note'], illustrator: ['Old Illustrator'], - interviewer: ['Old Interviewer'], + inscription: ['Old Inscription'], interviewee: ['Old Interviewee'], + interviewer: ['Old Interviewer'], language: ['ang'], latitude: ['Old Lat'], + librettist: ['Old Librettist'], license: ['http://creativecommons.org/publicdomain/zero/1.0/'], local_identifier: ['Old Local ID'], local_rights_statement: ['Old Local rights statement'], @@ -94,6 +102,7 @@ rights_statement: ['http://vocabs.library.ucla.edu/rights/copyrighted'], # "copyrighted" rubricator: ['Old rubricator'], scribe: ['Old Scribe'], + script: ['Old Script'], series: ['Old Series'], subject: ['Old Subj'], subject_cultural_object: ['Old Subject cultural object'], @@ -104,15 +113,11 @@ summary: ['Old Summary'], support: ['Old Support'], tagline: 'Old Tagline', - title: ['Old Title'], thumbnail_link: 'https://fake.url/iiif/ark%3A%2Fabc%2F3456', + title: ['Old Title'], toc: ['Old Table of contents'], translator: ['Old Translator'], - uniform_title: ['Old Uniform title'], - archival_collection_title: 'Old Archival Collection Title', - archival_collection_number: 'Old Archival Collection Number', - archival_collection_box: 'Old Box', - archival_collection_folder: 'Old Folder' + uniform_title: ['Old Uniform title'] } end @@ -225,6 +230,11 @@ expect(find_field('Archival collection number').value).to eq 'Old Archival Collection Number' expect(find_field('Archival collection box').value).to eq 'Old Box' expect(find_field('Archival collection folder').value).to eq 'Old Folder' + expect(find_field('Arranger').value).to eq 'Old Arranger' + expect(find_field('Collector').value).to eq 'Old Collector' + expect(find_field('Inscription').value).to eq 'Old Inscription' + expect(find_field('Librettist').value).to eq 'Old Librettist' + expect(find_field('Script').value).to eq 'Old Script' # Edit some fields in the form fill_in 'Title', with: 'New Title' diff --git a/spec/system/import_and_show_work_spec.rb b/spec/system/import_and_show_work_spec.rb index 8ba88ceb..fd13c18a 100644 --- a/spec/system/import_and_show_work_spec.rb +++ b/spec/system/import_and_show_work_spec.rb @@ -144,6 +144,11 @@ expect(page).to have_content 'Archival Collection Number-2' # archival_collection_number expect(page).to have_content 'Box' # box expect(page).to have_content 'Folder' # folder + expect(page).to have_content 'Arranger' # arranger + expect(page).to have_content 'Collector' # collector + expect(page).to have_content 'Inscription' # inscription + expect(page).to have_content 'Librettist' # librettist + expect(page).to have_content 'Script' # script # displays expected sfields on search results page visit("catalog?search_field=all_fields&q=") @@ -153,7 +158,7 @@ # displays expected facets facet_headings = page.all(:css, 'h3.facet-field-heading').to_a.map(&:text) - expect(facet_headings).to contain_exactly("Subject", "Creator", "Resource Type", "Genre", "Names", "Location", "Normalized Date", "Extent", "Medium", "Dimensions", "Language", "Collection", "Subject geographic", "Subject temporal", "Repository", "Subject cultural object", "Subject domain topic", "Series", "Host", "Musician", "Printer", "Researcher") + expect(facet_headings).to contain_exactly("Subject", "Creator", "Resource Type", "Genre", "Names", "Location", "Normalized Date", "Extent", "Medium", "Dimensions", "Language", "Collection", "Subject geographic", "Subject temporal", "Repository", "Subject cultural object", "Subject domain topic", "Series", "Host", "Musician", "Printer", "Researcher", "Arranger", "Collector", "Librettist") # importing the same object twice expect(work.funding_note.first).to eq "Fake Funding Note" diff --git a/spec/system/show_collection_spec.rb b/spec/system/show_collection_spec.rb index 45e1d896..3c863600 100644 --- a/spec/system/show_collection_spec.rb +++ b/spec/system/show_collection_spec.rb @@ -11,37 +11,67 @@ { alternative_title: ['Alternative Title'], architect: ['Old Architect'], + archival_collection_box: 'Box', + archival_collection_folder: 'Folder', + archival_collection_number: 'Archival Collection Number', + archival_collection_title: 'Archival Collection Title', + arranger: ['Old Arranger'], + artist: ['Old Artist'], author: ['Old Author'], binding_note: 'Old Binding note', calligrapher: ['Old Calligrapher'], + caption: ['Old Cap'], + cartographer: ['Old Cartographer'], citation_source: ['Old References'], + collation: 'Old Collation', + collector: ['Old Collector'], + colophon: ['Old Colophon'], + commentator: ['Old Commentator'], + composer: ['Old Composer'], + condition_note: 'Old Condition note', + content_disclaimer: ['Old Disclaimer'], contents_note: ['Old Contents note'], + creator: ['Old name creator'], date_created: ['Old Creation Date'], description: ['Old Desc'], dimensions: ['Old Dim'], + director: ['Old Director'], edition: ['Old Edition'], editor: ['Old Editor'], electronic_locator: 'External item record', engraver: ['Old Engraver'], extent: ['Old Extent'], - caption: ['Old Cap'], + featured_image: 'Old Featured image', + finding_aid_url: ['Old Finding aid url'], + foliation: 'Old Foliation note', format_book: ['Old Format'], funding_note: ['Old Fund Note'], genre: ['Old Genre'], history: ['Old History'], + host: ['Old Host'], identifier: ['Old Identifier'], iiif_manifest_url: 'Old Iiif manifest url', iiif_range: 'Old Iiif range', + iiif_text_direction: 'Old IIIF Text direction', iiif_viewing_hint: 'Old Iiif viewing hint', + illuminator: ['Old Illuminator'], illustrations_note: ['Old Illustrations note'], illustrator: ['Old Illustrator'], + inscription: ['Old Inscription'], + interviewee: ['Old Interviewee'], + interviewer: ['Old Interviewer'], language: ['ang'], latitude: ['Old Lat'], - longitude: ['Old Long'], + librettist: ['Old Librettist'], + license: ['Creative Commons CC0 1.0 Universal'], local_identifier: ['Old Local ID'], local_rights_statement: ['Old Local rights statement'], location: ['Old Loc'], + longitude: ['Old Long'], + lyricist: ['Old Lyricist'], + masthead_parameters: 'Old Masthead Parameters', medium: ['Old Medium'], + musician: ['Old Musician'], named_subject: ['Old Name/Subj'], normalized_date: ['1900/1901'], note: ['Old Note'], @@ -50,66 +80,41 @@ page_layout: ['Old Page layout'], photographer: ['Old Photographer'], place_of_origin: ['Old Place of origin'], + printer: ['Old Printer'], printmaker: ['Old Printmaker'], + producer: ['Old Producer'], program: ['Old Program'], provenance: ['Old Provenance'], publisher: ['Old Pub'], + recipient: ['Old Recipient'], + related_record: ['RelatedRecords-1'], related_to: ['Old Related Items'], repository: ['Old Repository'], + representative_image: 'Old Representative image', + researcher: ['Old Researcher'], resource_type: ['Image'], + resp_statement: ['Old Statement of Responsibility'], rights_country: ['Old Rights Country'], rights_holder: ['Old Rights Holder'], rights_statement: ['http://rightsstatements.org/vocab/InC/1.0/'], # "copyrighted" + rubricator: ['Old rubricator'], + scribe: ['Old Scribe'], + script: ['Old Script'], + series: ['Old Series'], services_contact: ['UCLA Special Collections'], subject: ['Old Subj'], + subject_cultural_object: ['Old Subject cultural object'], + subject_domain_topic: ['Old Subject domain topic'], + subject_geographic: ['Old Subject geographic'], + subject_temporal: ['Old Subject temporal'], subject_topic: ['Old Subject topic'], summary: ['Old Summary'], support: ['Old Support'], - iiif_text_direction: 'Old IIIF Text direction', + tagline: 'Old Tagline', title: ['Old Title'], toc: ['Old Table of contents'], - uniform_title: ['Old Uniform title'], - collation: 'Old Collation', - composer: ['Old Composer'], - foliation: 'Old Foliation note', - illuminator: ['Old Illuminator'], - lyricist: ['Old Lyricist'], - masthead_parameters: 'Old Masthead Parameters', - scribe: ['Old Scribe'], - condition_note: 'Old Condition note', - representative_image: 'Old Representative image', - featured_image: 'Old Featured image', - tagline: 'Old Tagline', - commentator: ['Old Commentator'], - subject_geographic: ['Old Subject geographic'], - subject_temporal: ['Old Subject temporal'], - subject_cultural_object: ['Old Subject cultural object'], - subject_domain_topic: ['Old Subject domain topic'], translator: ['Old Translator'], - colophon: ['Old Colophon'], - finding_aid_url: ['Old Finding aid url'], - rubricator: ['Old rubricator'], - creator: ['Old name creator'], - license: ['Creative Commons CC0 1.0 Universal'], - content_disclaimer: ['Old Disclaimer'], - interviewer: ['Old Interviewer'], - interviewee: ['Old Interviewee'], - cartographer: ['Old Cartographer'], - artist: ['Old Artist'], - recipient: ['Old Recipient'], - director: ['Old Director'], - producer: ['Old Producer'], - series: ['Old Series'], - host: ['Old Host'], - musician: ['Old Musician'], - printer: ['Old Printer'], - researcher: ['Old Researcher'], - resp_statement: ['Old Statement of Responsibility'], - related_record: ['RelatedRecords-1'], - archival_collection_title: 'Archival Collection Title', - archival_collection_number: 'Archival Collection Number', - archival_collection_box: 'Box', - archival_collection_folder: 'Folder' + uniform_title: ['Old Uniform title'] } end diff --git a/spec/uploaders/csv_manifest_validator_spec.rb b/spec/uploaders/csv_manifest_validator_spec.rb index 2d71b46c..370d0bd6 100644 --- a/spec/uploaders/csv_manifest_validator_spec.rb +++ b/spec/uploaders/csv_manifest_validator_spec.rb @@ -345,7 +345,15 @@ "Archival Collection Title", "Archival Collection Number", "Box", - "Folder" + "Folder", + "Arranger", + "Name.arranger", + "Collector", + "Name.collector", + "Inscription", + "Librettist", + "Name.librettist", + "Script" ) end end diff --git a/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb b/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb index dade6253..c0b2ed9e 100644 --- a/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb +++ b/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb @@ -96,7 +96,12 @@ archival_collection_title: 'Archival_collection_title', archival_collection_number: 'Archival_collection_number', archival_collection_box: 'Box', - archival_collection_folder: 'Folder' + archival_collection_folder: 'Folder', + arranger: ['Arranger'], + collector: ['Collector'], + inscription: ['Inscription'], + librettist: ['Librettist'], + script: ['Script'] ) end