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.
This user story covers instanceFormatId – the value used to populate 337$a and 338 $a comes from the "name" field in instanceFormat Since this is an array in instance.json so if there are multiple elements each one will have a separate 337/8 $a field.
The data stored in the name field will need to be split at the "--" into two values. The first part should go into 337 $a and the second part into 338 $a. For example:
337 $a microform
338 $a microfilm roll
In both fields both indicators are blank.
- The generated record is short-lived and generated each time it is requested
- The record is saved in .mrc file and contains 337$a and 338$a field populated with the correct data. If multiple formats are present in the inventory instance record, then there are multiple 337 $a/ 338 $a entries
- Both indicators are set to blank
- Unit tests are written
- 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