<div dir="ltr">Hi Regine,<div><br></div><div>That does make sense, the issue I'm having is that I don't really understand which note or field that is referring to. Maybe I'm missing something very obvious, but nothing in that part of the error seems to correspond to anything in the XML file and I don't get what "index 1" is pointing at, so I don't know what I need to adjust or add in order to fix the error. Can you shine any light on that or is that very dependent on what's in the actual XML file?</div><div><br></div><div>Thanks,</div><div>Jared</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 22, 2022 at 11:38 AM Regine I. Heberlein <<a href="mailto:heberlei@princeton.edu">heberlei@princeton.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_8222378214643572561WordSection1">
<p class="MsoNormal">Hi Jared,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I think what “notes/1/subnotes/0/content : Property is required but was missing“ is telling you is that the note at index 1 in the notes array is missing a required property “content” in the subnotes at index 0.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Looking at your example, the second note (i.e. index 1) is this one, and it is indeed missing the “content” property:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">{"jsonmodel_type"=>"note_multipart", "subnotes"=>[{"jsonmodel_type"=>"note_text"}], "label"=>"Physical Medium", "type"=>"phystech"}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hope this helps!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regine<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Regine Heberlein (she/her)<u></u><u></u></p>
<p class="MsoNormal">Library IT Data Analyst<u></u><u></u></p>
<p class="MsoNormal">609-258-6156<u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:heberlei@princeton.edu" target="_blank"><span style="color:rgb(5,99,193)">heberlei@princeton.edu</span></a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:12pt;color:rgb(51,51,51);background:white">**</span><i><span style="font-size:12pt;color:black;background:white">My working day may not be your working day. Please do not feel obliged to reply to this email outside
 of your normal working hours.</span></i><span style="font-size:12pt;color:rgb(51,51,51);background:white">**</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black"><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Jared Walske <<a href="mailto:jwalske@minlib.net" target="_blank">jwalske@minlib.net</a>><br>
<b>Reply-To: </b>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Date: </b>Tuesday, March 22, 2022 at 11:29 AM<br>
<b>To: </b>"<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>" <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject: </b>[Archivesspace_Users_Group] MARC XML Resource import trouble<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I've been trying to import a MARC record into ASpace and have run into an error that has left me stumped. Here's a copy of it:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal">The following errors were found:<br>
notes/1/subnotes/0/content : Property is required but was missing<br>
<br>
 For JSONModel(:resource): <br>
 #<JSONModel(:resource) {"jsonmodel_type"=>"resource", "external_ids"=>[], <br>
"subjects"=>[{"ref"=>"/subjects/import_31cb4c8a-0f7f-447d-b873-ffc31a750013"}, <br>
{"ref"=>"/subjects/import_e0cb9c60-895d-416f-a855-68b2ba160e53"}, <br>
{"ref"=>"/subjects/import_2455c12d-0159-4aa1-9d1b-fafb85031b0a"}, <br>
{"ref"=>"/subjects/import_52a10162-67b5-4021-bdab-b2ef070d4a9d"}], <br>
"linked_events"=>[], "extents"=>[{"jsonmodel_type"=>"extent", <br>
"container_summary"=>"xiii, 194 pages including frontispiece, illustrations, maps, genealogical table, plates, 22 cm.", "portion"=>"whole", "number"=>"1", "extent_type"=>"linear_feet"}], "lang_materials"=>[{"jsonmodel_type"=>"lang_material",
<br>
"notes"=>[], "language_and_script"=>{"jsonmodel_type"=>"language_and_script", "language"=>"eng"}}], "dates"=>[{"jsonmodel_type"=>"date", "label"=>"creation", "date_type"=>"single", "begin"=>"1935"}], "external_documents"=>[], "rights_statements"=>[], "linked_agents"=>[{"role"=>"creator",
 "terms"=>[], "ref"=>"/agents/people/import_acefcf37-4c97-4cae-9ae3-d7297bf53620"}], "is_slug_auto"=>true, "restrictions"=>false, "revision_statements"=>[], "instances"=>[], "deaccessions"=>[], "related_accessions"=>[], "classifications"=>[], "notes"=>[{"jsonmodel_type"=>"note_multipart",
 "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"1935."}], "label"=>"Publication Date", "type"=>"odd"}, {"jsonmodel_type"=>"note_multipart", "subnotes"=>[{"jsonmodel_type"=>"note_text"}], "label"=>"Physical Medium", "type"=>"phystech"},
<br>
{"jsonmodel_type"=>"note_multipart", "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"\"Companion volume: The real founders of New England, stories of their life along the coast, 1602-1628\"--Page [ii]."}], "label"=>"General Note", "type"=>"odd"}, {"jsonmodel_type"=>"note_multipart",
 "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"\"Several pesons reputed to have been on the north east coast before 1602\"--Page 157-187."}], "label"=>"General Note", "type"=>"odd"}, {"jsonmodel_type"=>"note_bibliography", "content"=>["Bibliographical
 footnotes."], "items"=>[], "label"=>"Bibliographic References"}, {"jsonmodel_type"=>"note_multipart", "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"The Siberian background -- Shell heaps and fish weirs -- The Trek to Greenland -- The Norse voyages
 to Vinland -- Did Gudrid the Skraeling \"Discover\" America? -- The dark centuries not very dark -- \"Ten men red with blood and dead\" -- Estotiland and Drogeo -- The fisheries of Baccalaos -- The fate of Greenland -- Vinland in the Icelandic mind -- A Cavalcade
 of ships -- The Cavalcade continues -- David Ingram walks through Norumbega -- Unprofitable \"IFS\" -- Appendix: Several persons reputed to have been on our Northeast Coast before 1602."}], "label"=>"Cumulative Index/Finding Aids Note", "type"=>"odd"}, {"jsonmodel_type"=>"note_multipart",
 "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"Several persons reputed to have been on the north east coast before 1602, p. 157-187."}], "label"=>"Summary", "type"=>"odd"}], "uri"=>"/repositories/import/resources/import_844b9f12-aab7-4f67-94a1-b774dc93778c",
 "level"=>"item", "finding_aid_language"=>"eng", "title"=>"Terra Nova: the northeast coast of America before 1602; : annals of Vinland, Markland, Estotiland, Drogeo, Baccalaos and Norumbega/ by Charles Knowles Bolton; with illustrations by Ethel Stanwood Bolton.",
 "id_0"=>"imported-4998c9e6-51c5-4b6d-afee-37e0930e8a55", "finding_aid_script"=>"Zyyy"}><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The main thing tripping me up is that I don't really understand which property is supposed to be missing. Based on my experiences working with MARC, I don't see anything out of place and the error itself doesn't give me an idea of where
 I should even start looking. Anyone with more MARC and/or importing experience have any suggestions or advice?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Jared<u></u><u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(34,34,34)">Jared Walske (<i>he/him</i></span><span style="font-size:9.5pt;color:rgb(34,34,34)">)</span><span style="color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color:rgb(34,34,34)">Reference Librarian<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color:rgb(34,34,34)">The Public Library of Brookline<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(34,34,34)"><a href="mailto:jwalske@minlib.net" target="_blank"><span style="color:rgb(17,85,204)">jwalske@minlib.net<br>
</span></a><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div style="color:rgb(34,34,34)"><div dir="ltr"><div><div><div>Jared Walske (<i>he/him</i><span style="font-size:12.8px">)</span></div>Reference Librarian<br></div>The Public Library of Brookline<br></div><div><a href="mailto:jwalske@minlib.net" style="color:rgb(17,85,204)" target="_blank">jwalske@minlib.net<br></a></div></div></div></div></div>