The role of the leader in MARC record is to specify the beginning of a new record and has a fixed length (24 character positions: 00-23)
Since the record will be generated from scratch some elements will need to be auto generated and some will need to be populated with the data available in inventory instance. For example, Leader/06 position is used for Type of Record and Leader/07 position for Bibliographic level.
The values for the fields will need to be updated:
ldr/17 should be set to 3
ldr/18 should be set to c
The fields below seem to be working in already implemented user stories
ldr/00-04 - calculated - should be handled by marc4j
ldr/05 set to "n"
ldr/06 set to "a"
ldr/07 set to "m"
ldr/09 should be set "a"
ldr/10 should be set to 2
ldr/11 should be set to 2
ldr/12-16 should be generated by the toll based on the ldr and directory
ldr/20-22 should be set to 450
ldr/23 should be set to 0
Additional information about the meaning of each option can be found here
- The data is formatted consistently with parsedRecord.json
- Leader fields are populated correctly.