Status: Closed (View Workflow)
Resolution: Won't Do
Affects Version/s: None
Fix Version/s: None
FOLIO inventory storage instance contains fields that are represented by keys and those will need to be replaced by their values when generating MARC bib record on the fly. In many cases, which field in MARC record will be populated depends on the value of the key. Each inventory instance might have a list of classifications and depending on the classifications different fields in the MARC record will be populated.
For the details of the classification mappings refer to Recommended MARC mapping spreadsheet: https://docs.google.com/spreadsheets/d/11lGBiPoetHuC3u-onVVLN4Mj5KtVHqJaQe4RqCxgGzo/edit#gid=1166940623 Instance to MARC tab.
The output should be consistent with parsedRecord.json
1. The generated record is short-lived and generated each time it is requested
2. The record is saved in .mrc file and contains correctly populated data for all classification types
3. Library of Congress Classification, Dewey Decimal Classification and SUDOC are mapped correctly
4. Each field has correct indicators as specified in the mapping document (see Note below)
5. Unit tests are written
6. API tests are written
Note: For the MARC record indicator value check: https://docs.google.com/spreadsheets/d/11lGBiPoetHuC3u-onVVLN4Mj5KtVHqJaQe4RqCxgGzo/edit#gid=1410366280 "Concorde - Instance to MARC 2019" tab