From 0e53e40a62dac0c0e6240b108f5079019d3c91aa Mon Sep 17 00:00:00 2001 From: klngwll Date: Tue, 21 Feb 2023 14:39:31 +0100 Subject: [PATCH] Add binding to field 340 conversion --- .../src/main/resources/ext/marcframe.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/whelk-core/src/main/resources/ext/marcframe.json b/whelk-core/src/main/resources/ext/marcframe.json index d169a9e047..e10b208551 100644 --- a/whelk-core/src/main/resources/ext/marcframe.json +++ b/whelk-core/src/main/resources/ext/marcframe.json @@ -10138,6 +10138,11 @@ "resourceType": "Layout", "property": "label" }, + "$l": { + "addLink": "binding", + "resourceType": "Binding", + "property": "label", "infer": true + }, "$m": { "addLink": "bookFormat", "resourceType": "BookFormat", @@ -10282,6 +10287,22 @@ } } }, + { + "name": "binding", + "source": [ + {"340": {"ind1": " ", "ind2": " ", "subfields": [{"l": "coptic bindings"}]}} + ], + "result": { + "mainEntity": { + "binding": [ + { + "@type": "Binding", + "label": "coptic bindings" + } + ] + } + } + }, { "name": "appliedMaterial linked", "normalized": [