OregonDigital / OD2

Next generation of Oregon Digital ( https://oregondigital.org ) digital collections platform, built on Samvera Hyrax ( https://github.com/samvera/hyrax/ )
18 stars 1 forks source link

export metadata formatted for aspace digital objects #3151

Open lsat12357 opened 2 months ago

lsat12357 commented 2 months ago

Descriptive summary

Sample digital object below. For GUI management, place launcher on bulkrax importer show page, i.e. once an import is complete, the process will use the importer's pids to generate an export json, ignoring any item without an archival_object_id. If a work failed to persist, a warning will be added to errors. both the export json and the errors will be rendered.

Expected behavior

Related work

Link to related tickets or prior related work here.

Accessibility Concerns

Add any information here to indicate any known or suspected accessibility issues for this ticket

lsat12357 commented 2 months ago

{"jsonmodel_type":"digital_object","is_slug_auto":false,"extents":[],"dates":[{"label":"creation","jsonmodel_type":"date","date_type":"inclusive","expression":"1897/1912","begin":"1897","end":"1912"}],"title":"U'Ren, William S. [b013] [f008]","lang_materials":[{"jsonmodel_type":"lang_material","language_and_script":{"language":"eng","jsonmodel_type":"language_and_script"}}],"file_versions":[{"publish":true,"is_representative":true,"use_statement":"image-thumbnail","xlink_actuate_attribute":"onLoad","xlink_show_attribute":"embed","file_uri":"https://iiif.oregondigital.org/iiif/f0/h4/15/pb/66/6-jp2-0000.jp2/full/430,/0/default.jpg"},{"publish":true,"is_representative":false,"use_statement":"image-service","xlink_actuate_attribute":"onRequest","xlink_show_attribute":"new","file_uri":"https://oregondigital.org/concern/generics/79407z008"}],"digital_object_type":"Mixed Materials","linked_instances":[{"ref":"/repositories/2/archival_objects/17801"}],"digital_object_id":"Ax019_b013_f008","publish":true,"restrictions":false,"suppressed":false}]}

lsat12357 commented 1 month ago

Typo prevents importers with no eligible items from borking the process.

lsat12357 commented 1 month ago

Rendering results directly to browser is proving to be impractical with an importer of any real size. Redo delivery with method used for the collection members export (see #3157)