@natlibfi/melinda-record-match-validator
Version:
Validates if two records matched by melinda-record-matching can be merged and sets merge priority
37 lines • 1.22 kB
JSON
{
"description": "Return true if title matches with a title in f946",
"issueSolved": "[MET-416]",
"skip": false,
"only": false,
"recordValuesA": {
"title": {
"titleFeatures": {
"title": "Päivän tunnussana 2024 (iso, kartonkikantinen)",
"remainderOfTitle": "undefined",
"numbersOfPartInSectionOfAWork": [],
"namesOfPartInSectionOfAWork": []
},
"seriesFeatures": [],
"f946Features": []
}
},
"recordValuesB": {
"title": {
"titleFeatures": {
"title": "Bazbar 2024",
"remainderOfTitle": "Foobar",
"numbersOfPartInSectionOfAWork": ["2024"],
"namesOfPartInSectionOfAWork": []
},
"seriesFeatures": [],
"f946Features": [ {
"title": "Päivän tunnussana 2024 (iso, kartonkikantinen)",
"remainderOfTitle": "undefined",
"numbersOfPartInSectionOfAWork": [],
"namesOfPartInSectionOfAWork": []
}
]
}
},
"expectedResults": true
}