Story[BF2Marc]: Convert Illustrations Category to marc field 008, char 18-21

Description

Purpose of this story is to Update Marc4ld conversion Java library to convert “illustrations” edge of the Work to characters 18-21 (both inclusive; zero based indexing) of Control field 008.

For each “illustrations” edge, get the character from the “code” property of the target Category resource and append it to position 18-21 of 008. If there are more than 4 “illustrations” edge from the Work, take only four edges and discard the remaining. (as MARC 008 can hold only upto 4 illustrations in chars 18-21.

The MARC code corresponding to each illustration type is given below

a - Illustrations
b - Maps
c - Portraits
d - Charts
e - Plans
f - Plates
g - Music
h - Facsimiles
i - Coats of arms
j - Genealogical tables
k - Forms
l - Samples
m - Phonodisc, phonowire, etc.
o - Photographs
p - Illuminations

 

Example:

Consider the below graph.

 

image-20240508-212151.png

 

The resulting 008 should be as follows, where characters in position 18-21 is “bcde“

200221c201u9999ja bcde f0 d0jpn

Environment

None

Potential Workaround

None

Attachments

8
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 10 Sep 2024, 10:39 AM
  • 08 May 2024, 09:22 PM

Checklist

hide

Activity

Show:

Tetiana Kovalchuk September 10, 2024 at 10:40 AM

Tested on qld env.

Build version: #586

Test cases and evidences attached.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 8, 2024 at 8:58 PM
Updated September 16, 2024 at 1:21 PM
Resolved September 10, 2024 at 1:19 PM
TestRail: Cases
TestRail: Runs

Flag notifications