From f8b846f7e5a4c86c3bc855e795dd6b30aa817824 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Wed, 15 Nov 2023 12:49:06 +0100 Subject: [PATCH] LobidApi: Add "usingInstructions" as "scopeNote" --- src/providers/lobid-api-provider.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/providers/lobid-api-provider.js b/src/providers/lobid-api-provider.js index fa2b8e7..e9c4744 100644 --- a/src/providers/lobid-api-provider.js +++ b/src/providers/lobid-api-provider.js @@ -110,6 +110,9 @@ function toJSKOS(data) { if (data.variantName) { concept.altLabel = { de: data.variantName } } + if (data.usingInstructions?.length) { + concept.scopeNote = { de: data.usingInstructions } + } concept.type = data.type.map(type => gndTypeScheme.uriFromNotation(type)).filter(Boolean) concept.broader = [] broaderProps.forEach(prop => {