require 'active_support/core_ext/string/strip' FactoryGirl.define do factory :krikri_original_record, class: Krikri::OriginalRecord do content '' initialize_with { new('123') } end factory :oai_dc_record, parent: :krikri_original_record do content <<-EOS.strip_heredoc 2014v-10-27T22:19:17Zhttp://oaipmh.huygens.knaw.nl/
oai:oaipmh.huygens.knaw.nl:arthurianfiction:MAN00000000102012-07-13T14:27:31Zarthurianfiction:manuscriptarthurianfiction
Aberystwyth, National Library of Wales, 446-E Bart Besamusca Tove Jansson Moomin Papa https://service.arthurianfiction.org/manuscript/MAN0000000010 2012-07-13T14:27:31Z Bart Besamusca model eng http://cdm16694.contentdm.oclc.org/oai/oai.php oai:cdm16694.contentdm.oclc.org:R6A001/1 2015-01-07 http://www.openarchives.org/OAI/2.0/
EOS end factory :oai_deleted_record, parent: :krikri_original_record do content <<-EOS.strip_heredoc 2015-03-02T15:56:51Z https://digital.library.in.gov/OAI/Server
oai:digital.library.in.gov:ACPL_coll14-1 1969-12-31T19:00:00Z
EOS end factory :cdm_qdc_record, parent: :krikri_original_record do content <<-EOS.strip_heredoc 2015-01-26T19:32:57Zhttp://digitallibrary.usc.edu/oai/oai.php
oai:digitallibrary.usc.edu:p15799coll117/02012-11-07p15799coll117
Letter, Cornelia A. Kelley to Andrew Viterbi, February 25, 2000 University of Southern California. Libraries 2000/2000 2000 item Boston Latin School University of Southern California Box 1, Folder 2 vit-m15 vit-m1 Andrew J. and Erna Viterbi Family Archives Academic Affiliations There are materials within the archives that are marked confidential or proprietary, or that contain information that is obviously confidential. Examples of the latter include letters of references and recommendations for employment, promotions, and awards; nominations for awards and honors; resumes of colleagues of Dr. Viterbi; and grade reports of students in Dr. Viterbi's classes at the University of California, Los Angeles, and the University of California, San Diego.; These restricted items were not scanned and, therefore, are not included in the USC Digital Archive.; Researchers wishing to see any of the restricted materials should consult with the USC Libraries Special Collections staff. There are materials within the archives that are marked confidential or proprietary, or that contain information that is obviously confidential. Examples of the latter include letters of references and recommendations for employment, promotions, and awards; nominations for awards and honors; resumes of colleagues of Dr. Viterbi; and grade reports of students in Dr. Viterbi's classes at the University of California, Los Angeles, and the University of California, San Diego.; These restricted items were not scanned and, therefore, are not included in the USC Digital Archive.; Researchers wishing to see any of the restricted materials should consult with the USC Libraries Special Collections staff. USC Libraries Special Collections Doheny Memorial Library 206, 3550 Trousdale Parkway, Los Angeles, California,90089-0189, 213-740-4035, specol@usc.edu VIT-000014 http://digitallibrary.usc.edu/cdm/ref/collection/p15799coll117/id/0
EOS end factory :json_record, parent: :krikri_original_record do initialize_with { new('456') } rec = { 'creator' => ['Tove Jansson', 'Moomintroll'], 'title' => 'Christmas in Moominvalley', 'subject' => 'Moomin Papa', 'identifier' => 'https://example.org/moomin/M00000000M1N', 'date' => '2012-07-13T14:27:31Z', 'language' => 'eng', 'contributor' => [{ 'name' => 'Snorkmaiden', 'role' => 'Actor (leading role)' }, { 'name' => 'Snufkin', 'role' => 'Director' }], 'translations' => { 'se' => 'Jul i Mumindalen', 'fi' => 'Muumilaakson joulu' } } content rec.to_json end factory :mods_record, parent: :krikri_original_record do content <<-EOS 2014-12-24T14:52:50Z http://repox.metro.org:8080/repox/OAIHandler
oai:repox.ist.utl.pt:p261501coll8:oai:cdm16694.contentdm.oclc.org:p261501coll8/110 2014-10-08 p261501coll8
Valley with snow in spots, barns and houses can be seen Franck Taylor Bowers creator 5 X 7 inches http://cdm16694.contentdm.oclc.org/cdm/ref/collection/p261501coll8/id/110 http://cdm16694.contentdm.oclc.org/utils/getthumbnail/collection/p261501coll8/id/110 This digital image may be used for one time personal use, as long as it is not altered in any way and proper credit is given that it is from the collection of the Broome County Historical Society. Prior written permission from the Broome County Historical Society is required for any other use of the images. still image Broome County Public Library http://cdm16694.contentdm.oclc.org/oai/oai.php oai:cdm16694.contentdm.oclc.org:p261501coll8/110 2014-10-08 http://www.openarchives.org/OAI/2.0/
EOS end end