UNPKG

@natlibfi/melinda-record-match-validator

Version:

Validates if two records matched by melinda-record-matching can be merged and sets merge priority

42 lines 1.28 kB
{ "description": "Return true if all titleFeatures match (several f245 $n & $p - differing order)", "skip": false, "only": false, "recordValuesA": { "title": { "titleFeatures": { "title": "Räsästen sukuyhdistys ry", "remainderOfTitle": "undefined", "numbersOfPartInSectionOfAWork": [ "II-osa", "I-osa" ], "namesOfPartInSectionOfAWork": [ "DNA-tutkimus 2023", "Historiikki 1945-2023" ] }, "seriesFeatures": [], "f946Features": [] } }, "recordValuesB": { "title": { "titleFeatures": { "title": "Räsästen sukuyhdistys ry", "remainderOfTitle": "undefined", "numbersOfPartInSectionOfAWork": [ "I-osa", "II-osa" ], "namesOfPartInSectionOfAWork": [ "Historiikki 1945-2023", "DNA-tutkimus 2023" ] }, "seriesFeatures": [], "f946Features": [] } }, "expectedResults": true }