DSpace-Labs / SAFBuilder

Builds a Simple Archive Format package from files and a spreadsheet
https://wiki.duraspace.org/display/DSPACE/Simple+Archive+Format+Packager
45 stars 35 forks source link

Validate metadata field in spreadsheet exists in DSpace metadata registry #6

Open peterdietz opened 9 years ago

peterdietz commented 9 years ago

If there is a metadata field in the spreadsheet such as a made up one dc.favorite.color or a typo dc.dezcryption or internal field abc.appraised.value, SAFBuilder will build a SimpleArchiveFormat package without complaining. But, once you import with bad metadata field, your DSpace ItemImporter will throw an error (if these fields don't exist in the metadata registry).

So.. how cool would it be, if the DSpace REST API allowed the metadata registry to be queryable. And then if SAFBuilder could check all of the metadata fields in use, to ensure that your site has them.