Skip to content

Commit

Permalink
LobidApi: Add "usingInstructions" as "scopeNote"
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Nov 15, 2023
1 parent 3394b19 commit f8b846f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/lobid-api-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit f8b846f

Please sign in to comment.