From 71e1be171f70c4b50d900a0f1186d2b02e8894de Mon Sep 17 00:00:00 2001 From: JenDiamond Date: Thu, 11 Jan 2024 16:02:34 -0800 Subject: [PATCH] feat: APPS-2395 og identifier plus external item record electronic locator (#955) * fix specs * add Identifier label to catalog_controller * change identifier from ssim to tesim * add electronic locator * add CustomSolrizerDescriptor for electronic_locator * add identifier to manifest_validator * fix attribute_rows_spec * delete electronic_locator from some yamls & add identifier test to import_and_show_work_spec * electronic_locator: External item record to hyrax.en.yml labels-default this adds it to the form in edit collection --- app/assets/csv/import_manifest.csv | 2 +- app/controllers/catalog_controller.rb | 16 ++++++++-------- app/forms/hyrax/californica_collections_form.rb | 5 +++-- app/forms/hyrax/work_form.rb | 2 +- app/importers/californica_mapper.rb | 7 ++++++- app/models/solr_document.rb | 8 ++++---- app/models/ucla_metadata.rb | 16 ++++++++++++---- .../hyrax/californica_collection_presenter.rb | 2 +- app/presenters/hyrax/work_presenter.rb | 2 +- app/views/hyrax/base/_attribute_rows.html.erb | 11 +++++------ config/locales/blacklight.en.yml | 1 + config/locales/hyrax.en.yml | 2 ++ spec/fixtures/coordinates_example.csv | 6 +++--- spec/fixtures/coordinates_example_update.csv | 4 ++-- .../example-ingest_dot_iiif_url.csv | 4 ++-- spec/fixtures/csv_import/good/all_fields.csv | 6 +++--- spec/fixtures/example-missing_thumbnail.csv | 4 ++-- spec/fixtures/example.csv | 6 +++--- spec/fixtures/simple_example.csv | 4 ++-- spec/forms/hyrax/child_work_form_spec.rb | 3 ++- spec/forms/hyrax/work_form_spec.rb | 3 ++- spec/importers/californica_csv_parser_spec.rb | 4 +++- spec/importers/californica_mapper_spec.rb | 6 ++++-- spec/system/edit_collection_spec.rb | 2 ++ spec/system/edit_work_spec.rb | 6 ++++-- spec/system/import_and_show_work_spec.rb | 3 ++- spec/system/show_collection_spec.rb | 3 ++- spec/uploaders/csv_manifest_validator_spec.rb | 4 +++- .../hyrax/base/_attribute_rows.html.erb_spec.rb | 10 +++++++--- 29 files changed, 93 insertions(+), 59 deletions(-) diff --git a/app/assets/csv/import_manifest.csv b/app/assets/csv/import_manifest.csv index 778d7a281..df48f5e09 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,Identifier +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 diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index ed2b4905e..703cca916 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -113,7 +113,7 @@ def self.modified_field config.add_show_field 'license_tesim' config.add_show_field 'resource_type_tesim', label: 'Resource Type' config.add_show_field 'format_tesim' - config.add_show_field 'identifier_tesim' + config.add_show_field 'identifier_tesim', label: 'Identifier' config.add_show_field 'ark_ssi', label: 'ARK' config.add_show_field 'access_copy_ssi' @@ -137,6 +137,7 @@ def self.modified_field config.add_show_field 'director_tesim' config.add_show_field 'edition_ssm', label: 'Edition' config.add_show_field 'editor_tesim' + config.add_show_field 'electronic_locator_ss', label: 'External item record' config.add_show_field 'engraver_tesim' config.add_show_field 'extent_tesim' config.add_show_field 'finding_aid_url_ssm' @@ -146,7 +147,6 @@ def self.modified_field config.add_show_field 'genre_tesim' config.add_show_field 'history_tesim', label: 'History' config.add_show_field 'host_tesim' - config.add_show_field 'identifier_global_ssim', label: 'Identifier' config.add_show_field 'iiif_manifest_url_ssi' config.add_show_field 'iiif_range_ssi' config.add_show_field 'iiif_viewing_hint_ssi' @@ -234,13 +234,13 @@ def self.modified_field # of Solr search fields. # creator, title, description, publisher, date_created, # subject, language, resource_type, format, identifier, based_near, - config.add_search_field('contributor') do |field| - # solr_parameters hash are sent to Solr as ordinary url query params. + # solr_parameters hash are sent to Solr as ordinary url query params. + # :solr_local_parameters will be sent using Solr LocalParams + # syntax, as eg {! qf=$title_qf }. This is neccesary to use + # Solr parameter de-referencing like $title_qf. + # See: http://wiki.apache.org/solr/LocalParams - # :solr_local_parameters will be sent using Solr LocalParams - # syntax, as eg {! qf=$title_qf }. This is neccesary to use - # 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, diff --git a/app/forms/hyrax/californica_collections_form.rb b/app/forms/hyrax/californica_collections_form.rb index 64ae7633f..2fff74854 100644 --- a/app/forms/hyrax/californica_collections_form.rb +++ b/app/forms/hyrax/californica_collections_form.rb @@ -24,6 +24,7 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :director, :edition, :editor, + :electronic_locator, :engraver, :featured_image, :finding_aid_url, @@ -33,7 +34,7 @@ class CalifornicaCollectionsForm < Hyrax::Forms::CollectionForm :genre, :history, :host, - :identifier_global, + :identifier, :iiif_range, :iiif_manifest_url, :iiif_text_direction, @@ -134,6 +135,7 @@ def secondary_terms :director, :edition, :editor, + :electronic_locator, :engraver, :extent, :featured_image, @@ -145,7 +147,6 @@ def secondary_terms :history, :host, :identifier, - :identifier_global, :iiif_manifest_url, :iiif_range, :iiif_text_direction, diff --git a/app/forms/hyrax/work_form.rb b/app/forms/hyrax/work_form.rb index 4a003fb1f..08a0cbb74 100644 --- a/app/forms/hyrax/work_form.rb +++ b/app/forms/hyrax/work_form.rb @@ -29,6 +29,7 @@ class WorkForm < Hyrax::Forms::WorkForm :director, :edition, :editor, + :electronic_locator, :engraver, :extent, :featured_image, @@ -39,7 +40,6 @@ class WorkForm < Hyrax::Forms::WorkForm :genre, :history, :host, - :identifier_global, :iiif_manifest_url, :iiif_range, :iiif_text_direction, diff --git a/app/importers/californica_mapper.rb b/app/importers/californica_mapper.rb index eab2ecf7b..27e31f379 100644 --- a/app/importers/californica_mapper.rb +++ b/app/importers/californica_mapper.rb @@ -37,6 +37,7 @@ class CalifornicaMapper < Darlingtonia::HashMapper dlcs_collection_name: "Relation.isPartOf", edition: ["Edition"], editor: ["Editor", "Name.editor"], + electronic_locator: ["External item record", "View Record"], engraver: ["Engraver", "Name.engraver"], extent: "Format.extent", featured_image: ["Featured image"], @@ -47,7 +48,7 @@ class CalifornicaMapper < Darlingtonia::HashMapper genre: ["Type.genre", "Genre"], history: ["History"], host: ["Host", "Name.host"], - identifier_global: ["Identifier"], + identifier: ["Identifier"], iiif_manifest_url: "IIIF Manifest URL", iiif_range: "IIIF Range", iiif_text_direction: "Text direction", @@ -449,4 +450,8 @@ def in_works_ids def thumbnail_link map_field(:thumbnail_link).to_a.first end + + def electronic_locator + map_field(:electronic_locator).to_a.first + end end diff --git a/app/models/solr_document.rb b/app/models/solr_document.rb index ed1e4a09b..603b82110 100644 --- a/app/models/solr_document.rb +++ b/app/models/solr_document.rb @@ -122,6 +122,10 @@ def editor self[:editor_tesim] end + def electronic_locator + self[:electronic_locator_ss] + end + def engraver self[:engraver_tesim] end @@ -166,10 +170,6 @@ def human_readable_related_record_title self[:human_readable_related_record_title_ssm] end - def identifier_global - self[:identifier_global_ssim] - end - def iiif_manifest_url self[:iiif_manifest_url_ssi] || "" end diff --git a/app/models/ucla_metadata.rb b/app/models/ucla_metadata.rb index 605efb9f6..4e7d85d54 100644 --- a/app/models/ucla_metadata.rb +++ b/app/models/ucla_metadata.rb @@ -2,7 +2,19 @@ module UclaMetadata extend ActiveSupport::Concern + # Custom module to extend Solrizer + module CustomSolrizerDescriptor + def self.single_valued_stored + @single_valued_stored ||= Solrizer::Descriptor.new(:string, :stored) + end + end + included do + # Use the custom Solrizer descriptor for electronic_locator + property :electronic_locator, predicate: ::RDF::URI.intern('http://id.loc.gov/ontologies/bibframe/electronicLocator'), multiple: false do |index| + index.as CustomSolrizerDescriptor.single_valued_stored + end + property :ark, predicate: ::RDF::Vocab::DC11.identifier, multiple: false do |index| index.as :stored_sortable end @@ -297,10 +309,6 @@ module UclaMetadata index.as :displayable end - property :identifier_global, predicate: ::RDF::URI.intern('http://id.loc.gov/ontologies/bibframe/Identifier') do |index| - index.as :symbol - end - property :opac_url, predicate: ::RDF::URI.intern('http://iflastandards.info/ns/unimarc/terms/ter%23e'), multiple: false do |index| index.as :stored_sortable end diff --git a/app/presenters/hyrax/californica_collection_presenter.rb b/app/presenters/hyrax/californica_collection_presenter.rb index 13ac493bb..01a1f5b45 100644 --- a/app/presenters/hyrax/californica_collection_presenter.rb +++ b/app/presenters/hyrax/californica_collection_presenter.rb @@ -30,6 +30,7 @@ def self.terms :director, :edition, :editor, + :electronic_locator, :engraver, :extent, :featured_image, @@ -40,7 +41,6 @@ def self.terms :genre, :history, :host, - :identifier_global, :iiif_manifest_url, :iiif_range, :iiif_viewing_hint, diff --git a/app/presenters/hyrax/work_presenter.rb b/app/presenters/hyrax/work_presenter.rb index 7e3e11efd..bc0f474aa 100644 --- a/app/presenters/hyrax/work_presenter.rb +++ b/app/presenters/hyrax/work_presenter.rb @@ -27,6 +27,7 @@ class WorkPresenter < Hyrax::WorkShowPresenter :dlcs_collection_name, :edition, :editor, + :electronic_locator, :engraver, :extent, :featured_image, @@ -38,7 +39,6 @@ class WorkPresenter < Hyrax::WorkShowPresenter :geographic_coordinates, :history, :host, - :identifier_global, :iiif_manifest_url, :iiif_range, :illustrations_note, diff --git a/app/views/hyrax/base/_attribute_rows.html.erb b/app/views/hyrax/base/_attribute_rows.html.erb index 7a9daa9f2..dde17242b 100644 --- a/app/views/hyrax/base/_attribute_rows.html.erb +++ b/app/views/hyrax/base/_attribute_rows.html.erb @@ -26,6 +26,7 @@ <%= presenter.attribute_to_html(:dlcs_collection_name, render_as: :faceted, html_dl: true, label: "DLCS Collection Name") %> <%= presenter.attribute_to_html(:edition, html_dl: true) %> <%= presenter.attribute_to_html(:editor, html_dl: true) %> +<%= presenter.attribute_to_html(:electronic_locator, html_dl: true, label: "External item record") %> <%= presenter.attribute_to_html(:engraver, html_dl: true) %> <%= presenter.attribute_to_html(:extent, html_dl: true) %> <%= presenter.attribute_to_html(:featured_image, html_dl: true) %> @@ -37,7 +38,6 @@ <%= presenter.attribute_to_html(:geographic_coordinates, html_dl: true) %> <%= presenter.attribute_to_html(:history, html_dl: true) %> <%= presenter.attribute_to_html(:host, render_as: :faceted, html_dl: true) %> -<%= presenter.attribute_to_html(:identifier_global, html_dl: true) %> <%= presenter.attribute_to_html(:identifier, render_as: :linked, search_field: 'identifier_tesim', html_dl: true) %> <%= presenter.attribute_to_html(:iiif_manifest_url, html_dl: true) %> <%= presenter.attribute_to_html(:iiif_range, html_dl: true) %> @@ -51,6 +51,7 @@ <%= 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(:local_identifier, html_dl: true) %> +<%= presenter.attribute_to_html(:local_rights_statement, html_dl: true) %> <%= presenter.attribute_to_html(:location, html_dl: true) %> <%= presenter.attribute_to_html(:lyricist, html_dl: true) %> <%= presenter.attribute_to_html(:masthead_parameters, html_dl: true) %> @@ -87,7 +88,6 @@ <% 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_url, render_as: :external_link, html_dl: true) %> @@ -99,21 +99,20 @@ <%= 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(:local_rights_statement, html_dl: true) %> <%= presenter.attribute_to_html(:scribe, 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_geographic, render_as: :faceted, html_dl: true) %> -<%= presenter.attribute_to_html(:subject_temporal, 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_temporal, render_as: :faceted, html_dl: true) %> <%= presenter.attribute_to_html(:subject_topic, html_dl: true) %> <%= presenter.attribute_to_html(:summary, html_dl: true) %> <%= presenter.attribute_to_html(:support, html_dl: true) %> <%= presenter.attribute_to_html(:tagline, html_dl: true) %> <%= presenter.attribute_to_html(:thumbnail_link, html_dl: true) %> -<%= presenter.attribute_to_html(:translator, html_dl: true) %> <%= presenter.attribute_to_html(:toc, html_dl: true) %> +<%= presenter.attribute_to_html(:translator, html_dl: true) %> <%= presenter.attribute_to_html(:uniform_title, html_dl: true) %> diff --git a/config/locales/blacklight.en.yml b/config/locales/blacklight.en.yml index 8b1ffe4a5..cfb891b1c 100644 --- a/config/locales/blacklight.en.yml +++ b/config/locales/blacklight.en.yml @@ -19,3 +19,4 @@ en: normalized_date_sim: 'Normalized Date' rights_country: 'Rights (country of creation)' services_contact: 'Rights services contact' + electronic_locator: 'External item record' diff --git a/config/locales/hyrax.en.yml b/config/locales/hyrax.en.yml index c39810d9c..7918b859b 100644 --- a/config/locales/hyrax.en.yml +++ b/config/locales/hyrax.en.yml @@ -47,6 +47,7 @@ en: subject_tesim: Subject subject: Subjects title_tesim: Title + electronic_locator: External item record simple_form: hints: defaults: @@ -64,6 +65,7 @@ en: rights_holder: 'Rights Holder' rights_statement: 'Copyright Status' services_contact: 'Rights services contact' + electronic_locator: External item record hyrax: account_name: My Institution Account Id dashboard: diff --git a/spec/fixtures/coordinates_example.csv b/spec/fixtures/coordinates_example.csv index b03494b73..debde21c1 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,Identifier -Los Angeles Daily News Negatives,Work,111/222,ark:/123/456,Completed with minimal metadata,https://test.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,Identifier-1 -Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://test.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,Identifier-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 +Los Angeles Daily News Negatives,Work,111/222,ark:/123/456,Completed with minimal metadata,https://test.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 +Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://test.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 diff --git a/spec/fixtures/coordinates_example_update.csv b/spec/fixtures/coordinates_example_update.csv index 7bb858392..6606e918d 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,Identifier -Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,https://test.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.linrary.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,Identifier-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 +Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,https://test.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 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 bf2077620..5e84283bb 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,Identifier -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,Identifier-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 +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 diff --git a/spec/fixtures/csv_import/good/all_fields.csv b/spec/fixtures/csv_import/good/all_fields.csv index 3f030c160..c379ea6e5 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 -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 -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 +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 +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 +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 diff --git a/spec/fixtures/example-missing_thumbnail.csv b/spec/fixtures/example-missing_thumbnail.csv index 2492fc1ce..b8b2fae7a 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 -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 +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 +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 diff --git a/spec/fixtures/example.csv b/spec/fixtures/example.csv index e8f97c56c..51492b5b2 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 -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 -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 +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 +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 +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 diff --git a/spec/fixtures/simple_example.csv b/spec/fixtures/simple_example.csv index 215bfd317..bc7a5f9e3 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 -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 +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 +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 diff --git a/spec/forms/hyrax/child_work_form_spec.rb b/spec/forms/hyrax/child_work_form_spec.rb index 6ff9ee8ec..2bf7cd4f1 100644 --- a/spec/forms/hyrax/child_work_form_spec.rb +++ b/spec/forms/hyrax/child_work_form_spec.rb @@ -15,13 +15,14 @@ :commentator, :dimensions, :edition, + :electronic_locator, :extent, :format_book, :funding_note, :genre, :history, :host, - :identifier_global, + :identifier, :latitude, :local_identifier, :local_rights_statement, diff --git a/spec/forms/hyrax/work_form_spec.rb b/spec/forms/hyrax/work_form_spec.rb index ed50490c2..b9436dd59 100644 --- a/spec/forms/hyrax/work_form_spec.rb +++ b/spec/forms/hyrax/work_form_spec.rb @@ -31,6 +31,7 @@ :director, :edition, :editor, + :electronic_locator, :engraver, :extent, :featured_image, @@ -41,7 +42,7 @@ :genre, :history, :host, - :identifier_global, + :identifier, :iiif_manifest_url, :iiif_range, :iiif_text_direction, diff --git a/spec/importers/californica_csv_parser_spec.rb b/spec/importers/californica_csv_parser_spec.rb index 29f52532a..a46773d35 100644 --- a/spec/importers/californica_csv_parser_spec.rb +++ b/spec/importers/californica_csv_parser_spec.rb @@ -175,7 +175,9 @@ 'Related Records', 'Edition', 'History', - 'Identifier'] + 'Identifier', + 'External item record', + 'View Record'] 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 b256b7be5..7982038d2 100644 --- a/spec/importers/californica_mapper_spec.rb +++ b/spec/importers/californica_mapper_spec.rb @@ -160,7 +160,9 @@ "Related Items" => "Related Items-1", # related_to "Edition" => "Edition-001", # edition "History" => "History-1", # history - "Identifier" => "Identifier-1" # identifier_global + "Identifier" => "Identifier-1", # identifier + "External item record" => "http://test.url/external/item/record", # electronic_locator + "View Record" => "http://test.url/view/record" # electronic_locator } end @@ -215,6 +217,7 @@ :dlcs_collection_name, :edition, :editor, + :electronic_locator, :engraver, :extent, :finding_aid_url, @@ -223,7 +226,6 @@ :funding_note, :genre, :history, - :identifier_global, :iiif_manifest_url, :iiif_viewing_hint, :illuminator, diff --git a/spec/system/edit_collection_spec.rb b/spec/system/edit_collection_spec.rb index 05da29e9c..dfbb41a59 100644 --- a/spec/system/edit_collection_spec.rb +++ b/spec/system/edit_collection_spec.rb @@ -25,6 +25,7 @@ description: ['Old Desc'], dimensions: ['Old Dim'], edition: ['Old Edition'], + electronic_locator: 'Old External item record', resource_type: ['http://id.loc.gov/vocabulary/resourceTypes/col'], # "collection" extent: ['Old Extent'], foliation: 'Old Foliation note', @@ -141,6 +142,7 @@ expect(find_field('Caption').value).to eq 'Old Cap' expect(find_field('Dimensions').value).to eq 'Old Dim' expect(find_field('Edition').value).to eq 'Old Edition' + expect(find_field('External item record').value).to eq 'Old External item record' expect(find_field('Funding Note').value).to eq 'Old Fund Note' expect(find_field('Genre').value).to eq 'Old Genre' expect(find_field('History').value).to eq 'Old History' diff --git a/spec/system/edit_work_spec.rb b/spec/system/edit_work_spec.rb index f0225fc46..1ebe1dd06 100644 --- a/spec/system/edit_work_spec.rb +++ b/spec/system/edit_work_spec.rb @@ -34,6 +34,7 @@ director: ['Old Director'], edition: ['Old Edition'], editor: ['Old Editor'], + electronic_locator: 'http://test.url/external/item/record', engraver: ['Old Engraver'], extent: ['Old Extent'], featured_image: 'Old Featured image', @@ -44,7 +45,7 @@ genre: ['Old Genre'], history: ['Old History'], host: ['Old Host'], - identifier_global: ['Old Identifier'], + identifier: ['Old Identifier'], iiif_manifest_url: 'https://test.iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k', iiif_range: 'Old Iiif range', iiif_text_direction: 'http://iiif.io/api/presentation/2#leftToRightDirection', # "left-to-right" @@ -149,6 +150,7 @@ expect(find_field('Dimensions').value).to eq 'Old Dim' expect(find_field("Director").value).to eq 'Old Director' expect(find_field('Editor').value).to eq 'Old Editor' + expect(find_field('External item record').value).to eq 'http://test.url/external/item/record' expect(find_field('Engraver').value).to eq 'Old Engraver' expect(find_field('Extent').value).to eq 'Old Extent' expect(find_field('Featured image').value).to eq 'Old Featured image' @@ -214,7 +216,7 @@ expect(find_field('Uniform title').value).to eq 'Old Uniform title' expect(find_field('Edition').value).to eq 'Old Edition' expect(find_field('History').value).to eq 'Old History' - expect(find_field('Identifier global').value).to eq 'Old Identifier' + expect(find_field('Identifier').value).to eq 'Old Identifier' # 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 2053f4510..c6e114c2d 100644 --- a/spec/system/import_and_show_work_spec.rb +++ b/spec/system/import_and_show_work_spec.rb @@ -56,6 +56,7 @@ expect(page).to have_content "uclamss_1387_b112_40911-1" # local_identifier expect(page).to have_content "[between 1942-1947]" # date_created expect(page).to have_content "Editor-1" + expect(page).to have_content "http://test.url/external/item/record" # electronic_locator expect(page).to have_content "Engraver-1" expect(page).to have_content "1 photograph" # extent expect(page).to have_content "Fake Medium" # medium @@ -78,6 +79,7 @@ expect(page).to have_content "left-to-right" # iiif_text_direction expect(page).to have_content "Mexican American Catholics" # uniform_title expect(page).to have_content "clusc_1_1_00010432a.tif" # preservation_copy + expect(page).to have_content "identifier" # identifier expect(page).to have_content "iiif-range" # iiif_range expect(page).to have_content "illustration-note" # illustrations_note expect(page).to have_content "Illustrator-1" # illustrator @@ -138,7 +140,6 @@ expect(page).to have_content "Local rights statement-1" # local_rights_statement expect(page).to have_content 'Edition-2' # edition expect(page).to have_content 'History-2' # history - expect(page).to have_content 'Identifier-2' # identifier_global # displays expected sfields on search results page visit("catalog?search_field=all_fields&q=") diff --git a/spec/system/show_collection_spec.rb b/spec/system/show_collection_spec.rb index efed0faef..5a3d01f98 100644 --- a/spec/system/show_collection_spec.rb +++ b/spec/system/show_collection_spec.rb @@ -21,6 +21,7 @@ dimensions: ['Old Dim'], edition: ['Old Edition'], editor: ['Old Editor'], + electronic_locator: 'External item record', engraver: ['Old Engraver'], extent: ['Old Extent'], caption: ['Old Cap'], @@ -28,7 +29,7 @@ funding_note: ['Old Fund Note'], genre: ['Old Genre'], history: ['Old History'], - identifier_global: ['Old Identifier'], + identifier: ['Old Identifier'], iiif_manifest_url: 'Old Iiif manifest url', iiif_range: 'Old Iiif range', iiif_viewing_hint: 'Old Iiif viewing hint', diff --git a/spec/uploaders/csv_manifest_validator_spec.rb b/spec/uploaders/csv_manifest_validator_spec.rb index 4dfbdf485..1fd98da23 100644 --- a/spec/uploaders/csv_manifest_validator_spec.rb +++ b/spec/uploaders/csv_manifest_validator_spec.rb @@ -212,6 +212,7 @@ "Format.extent", "Format.medium", "Genre", + "Identifier", "IIIF Access URL", "IIIF Manifest URL", "IIIF Range", @@ -339,7 +340,8 @@ "Related Records", "Edition", "History", - "Identifier" + "External item record", + "View Record" ) 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 06ff50d54..5061672c2 100644 --- a/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb +++ b/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb @@ -37,6 +37,7 @@ director: ['Director'], edition: ['Edition'], editor: ['Editor'], + electronic_locator: "External_item_record", engraver: ['engraver'], extent: ['extent'], finding_aid_url: ['Finding aid url'], @@ -45,7 +46,7 @@ genre: ['genre'], history: ['History'], host: ['Host'], - identifier_global: ['Identifier'], + identifier: ['Identifier'], iiif_text_direction: 'iiif_text_direction', iiif_viewing_hint: 'iiif_viewing_hint', illustrator: ['illustrator'], @@ -153,6 +154,9 @@ it 'has editor' do expect(page).to match(/editor/) end + it 'has electronic locator' do + expect(page).to match(/electronic_locator/) + end it 'has engraver' do expect(page).to match(/engraver/) end @@ -177,8 +181,8 @@ it 'has host' do expect(page).to match(/host/) end - it 'has identifier_global' do - expect(page).to match(/identifier_global/) + it 'has identifier' do + expect(page).to match(/identifier/) end it 'has interviewee' do expect(page).to match(/interviewee/)