Update of mapping to adjust punctuation handling for 1xx/7xx contributors R2 2023 Poppy release

Update of mapping to adjust punctuation handling for 1xx/7xx contributors R2 2023 Poppy release

MODDICORE-347: MARC bib - FOLIO instance mapping | Adjust contributor and relator term mapping WRT punctuationClosed

Update to the default MARC Bib-to-Instance MAP:

  • Update mapping rules for the classification field to adjust punctuation handling for contributor name.

Script for updating such mapping: MODDICORE-355: Create migration script for updating customized rules for Poppy relator terms and punctuationClosed

Steps:

Note, that the array of the section for "720" field contains three "type" properties so the value for each of them should be updated.

"720": [ { "indicators": { "ind1": "1", "ind2": "*" }, "entity": [ { "target": "contributors.contributorNameTypeId", "description": "Type for Personal Name", "applyRulesOnConcatenatedData": true, "subfield": [], "rules": [ { "conditions": [ { "type": "set_contributor_name_type_id", "parameter": { "name": "Personal name" } } ] } ] }, { "target": "contributors.contributorTypeId", "description": "Type of contributor", "applyRulesOnConcatenatedData": true, "subfield": [ "4", "e" ], "rules": [ { "conditions": [ { "type": "set_contributor_type_id_by_code_or_name", "parameter": { "contributorCodeSubfield": "4", "contributorNameSubfield": "e" } } ] } ], "alternativeMapping": { "target": "contributors.contributorTypeText", "description": "Contributor type free text", "ignoreSubsequentSubfields": true, "subfield": [ "e" ] } }, { "target": "contributors.primary", "description": "Primary contributor", "applyRulesOnConcatenatedData": true, "subfield": [ ], "rules": [ { "conditions": [], "value": "false" } ] }, { "target": "contributors.name", "description": "Personal Name", "applyRulesOnConcatenatedData": true, "subfield": [ "a" ], "rules": [ { "conditions": [ { "type": "trim_punctuation" } ] } ] } ] }, { "indicators": { "ind1": " ", "ind2": "*" }, "entity": [ { "target": "contributors.contributorNameTypeId", "description": "Type for Personal Name", "applyRulesOnConcatenatedData": true, "subfield": [], "rules": [ { "conditions": [ { "type": "set_contributor_name_type_id", "parameter": { "name": "Personal name" } } ] } ] }, { "target": "contributors.contributorTypeId", "description": "Type of contributor", "applyRulesOnConcatenatedData": true, "subfield": [ "4", "e" ], "rules": [ { "conditions": [ { "type": "set_contributor_type_id_by_code_or_name", "parameter": { "contributorCodeSubfield": "4", "contributorNameSubfield": "e" } } ] } ], "alternativeMapping": { "target": "contributors.contributorTypeText", "description": "Contributor type free text", "ignoreSubsequentSubfields": true, "subfield": [ "e" ] } }, { "target": "contributors.primary", "description": "Primary contributor", "applyRulesOnConcatenatedData": true, "subfield": [ ], "rules": [ { "conditions": [], "value": "false" } ] }, { "target": "contributors.name", "description": "Personal Name", "applyRulesOnConcatenatedData": true, "subfield": [ "a" ], "rules": [ { "conditions": [ { "type": "trim_punctuation" } ] } ] } ] }, { "indicators": { "ind1": "2", "ind2": "*" }, "entity": [ { "target": "contributors.contributorNameTypeId", "description": "Type for Corporate Name", "applyRulesOnConcatenatedData": true, "subfield": [], "rules": [ { "conditions": [ { "type": "set_contributor_name_type_id", "parameter": { "name": "Corporate name" } } ] } ] }, { "target": "contributors.contributorTypeId", "description": "Type of contributor", "applyRulesOnConcatenatedData": true, "subfield": [ "4", "e" ], "rules": [ { "conditions": [ { "type": "set_contributor_type_id_by_code_or_name", "parameter": { "contributorCodeSubfield": "4", "contributorNameSubfield": "e" } } ] } ], "alternativeMapping": { "target": "contributors.contributorTypeText", "description": "Contributor type free text", "ignoreSubsequentSubfields": true, "subfield": [ "e" ] } }, { "target": "contributors.primary", "description": "Primary contributor", "applyRulesOnConcatenatedData": true, "subfield": [ ], "rules": [ { "conditions": [], "value": "false" } ] }, { "target": "contributors.name", "description": "Personal Name", "applyRulesOnConcatenatedData": true, "subfield": [ "a" ], "rules": [ { "conditions": [ { "type": "trim_punctuation" } ] } ] } ] } ]