Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Concorde - Sprint 89, Concorde - Sprint 90
-
3
-
Concorde
Description
Purpose
To a very basic MARC record generated in MDEXP-93 we will append 008 field in accordance with the recommended mapping:
008 mapping
- 00-05 - Metadata.createdDate field in yymmdd format
- 06 is set to | (pipe character)
- 07-10 to instance.publication[0].dateOfPublicationfield if can be formatted else |||| (four pipe characters)
- 11-14 to instance.publication[1].dateOfPublicationfield if can be formatted else |||| (four pipe characters)
- 18- 22 - each field set to |
- 23-29 - each field to be blank
- 30-34 - each field set to |
- 35-37 - if instance.languages array is empty set it to "und", if one element, use it to populate the field (it should be 3 letter language code), if the array contains more than one language, then set it to "mul"
- 38 set it to |
- 39 set it to |
Acceptance criteria
- The generated record is short-lived and generated each time it is requested
- The record is saved in .mrc file and contains 001, 008, 245$a 999ff$i fields are present and populated with the correct data
- Unit tests are written
- API tests are written
Library of Congress documentation:
https://www.loc.gov/marc/bibliographic/bd008.html
TestRail: Results
Attachments
Issue Links
- clones
-
MDEXP-122 Generate MARC bib record - 005 field
-
- Closed
-
- defines
-
UXPROD-1397 Generating a MARC bibliographic record from an Inventory Instance record
-
- Closed
-
- relates to
-
MDEXP-189 Export fails with NPE when dataOfPublication is null
-
- Closed
-