Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-123

Generate MARC bib record - 264/publication data

    XMLWordPrintable

Details

    • Concorde - Sprint 87, Concorde - Sprint 88
    • 3
    • Concorde

    Description

      Purpose
      The publication related fields will need to mapped to 264 MARC field in accordance with the recommended mapping. For example:

      "publication": [
              {
                "publisher": "Birlinn",
                "place": "Edinburgh",
                "dateOfPublication": "2015",
                "role": "Publication"
              }
            ]
      
      • place is mapped to the subfield $a
      • publisher is mapped to the subfield $b
      • dateOfPublication to the subfield $c
      • The first indicator is set to blank and the second indicator to 1

      So in example above following entry will be created:
      264 1 $a Edinburgh $b Birlinn $c 2015

      Note: We are omitting punctuation as we will set 18 LDR position to c (MDEXP-98)

      The data is formatted consistently with parsedRecord.json

      Acceptance criteria
      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
      3. If the fields are not populated in the inventory instance record, the fields are not added to the MARC record
      4. If the inventory record has multiple publication entries, each entry will have separate 264 field
      5. Unit tests are written
      6. API tests are written

      TestRail: Results

        Attachments

          1. Screen Shot 2020-05-13 at 4.26.50 PM.png
            110 kB
            Kruthi Vuppala
          2. Screen Shot 2020-05-13 at 4.27.36 PM.png
            223 kB
            Kruthi Vuppala
          3. SearchInstanceUUIDs2020-05-13T16_19_36-04_00.csv
            0.1 kB
            Kruthi Vuppala
          4. SearchInstanceUUIDs2020-05-13T16_25_43-04_00.csv
            0.0 kB
            Kruthi Vuppala
          5. SearchInstanceUUIDs2020-05-13T16_25_43-04_00-3.mrc
            0.2 kB
            Kruthi Vuppala
          6. SearchInstanceUUIDs2020-05-13T16_25_43-04_00-3.mrc
            0.2 kB
            Kruthi Vuppala

          Issue Links

            Activity

              People

                KVupp Kruthi Vuppala
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases