From cbf5bd949f76411d06f9e138fc13befb5ad3672a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Tue, 5 Nov 2024 16:36:57 +0100 Subject: [PATCH] Add mapping for typenote (024) GRid --- whelk-core/src/main/groovy/se/kb/libris/Normalizers.groovy | 1 + whelk-core/src/main/resources/ext/marcframe.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/whelk-core/src/main/groovy/se/kb/libris/Normalizers.groovy b/whelk-core/src/main/groovy/se/kb/libris/Normalizers.groovy index 540144a09e..31a7a7a2c8 100644 --- a/whelk-core/src/main/groovy/se/kb/libris/Normalizers.groovy +++ b/whelk-core/src/main/groovy/se/kb/libris/Normalizers.groovy @@ -78,6 +78,7 @@ class Normalizers { 'ansi' : 'Ansi', 'doi' : 'DOI', 'danacode': 'Danacode', + 'grid' : 'GRID', 'gtin-14' : 'GTIN14', 'hdl' : 'Hdl', 'isan' : 'ISAN', diff --git a/whelk-core/src/main/resources/ext/marcframe.json b/whelk-core/src/main/resources/ext/marcframe.json index 50f2f01b2b..c321d89058 100644 --- a/whelk-core/src/main/resources/ext/marcframe.json +++ b/whelk-core/src/main/resources/ext/marcframe.json @@ -3967,7 +3967,7 @@ "include": ["identifier"], "match": [ { - "when": "i1=7 & $2 =~ ansi|ANSI|danacode|doi|DOI|gtin-14|hdl|HDL|isan|ISAN|iso|ISO|istc|ISTC|iswc|ISWC|uri|URI|urn|URN", + "when": "i1=7 & $2 =~ ansi|ANSI|danacode|doi|DOI|GRID|GRid|grid|gtin-14|hdl|HDL|isan|ISAN|iso|ISO|istc|ISTC|iswc|ISWC|uri|URI|urn|URN", "i1": null, "$2": { "property": "@type", @@ -3978,6 +3978,9 @@ "danacode": "Danacode", "DOI": "DOI", "doi": "DOI", + "GRID": "GRID", + "GRid": "GRID", + "grid": "GRID", "gtin-14": "GTIN14", "HDL": "Hdl", "hdl": "Hdl",