Commit c5a4a3e0 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Merge branch 'master' of...

Merge branch 'master' of gitlab.switch.ch:memoriav/memobase-2020/services/import-process/import-process-cli
parents ed39e0af a9142fac
......@@ -20,8 +20,6 @@ physical:
callNumber: Signatur
carrierType:
de: Überlieferungsformen
descriptiveNote:
duration:
physicalCharacteristics:
de:
- prefix:
......@@ -30,6 +28,8 @@ physical:
colour:
de: Farbe
rights:
access:
const: "onsite"
usage:
name:
const: "Creative Commons - Attribution (BY)"
......@@ -39,6 +39,8 @@ physical:
digital:
rights:
access:
const: "public"
usage:
name:
const: "Creative Commons - Attribution (BY)"
......
## Blank configurations for the import
This folder contains a blank mapping.yml localTransforms.yml with example data and setup.json with example data. The folder new-001 can be copied to deployment/configurations and the config files can be adapted for the import of a new record set.
\ No newline at end of file
# This is the local configuration for the step Metadata Normalization and Enrichment
splitEntity:
- type: skos:Concept
property: skos:prefLabel
delimiter: ","
- type: rico:Person
property: rico:name
delimiter: ";"
- type: rico:CorporateBody
property: rico:name
delimiter: ";"
- type: rico:Place
property: rico:name
delimiter: ","
- type: rico:Language
property: rico:name
delimiter: ","
normalizePerson:
splitEntity:
type: rico:Person
property: rico:name
delimiter: ";"
creationRelationName: # only tries to extract a value if a DUMMY-VALUE rico:name is property is present in the relation.
pattern: "\\((?<relation>.+)\\)" # " are necessary to ensure pattern is parsed correctly. Pattern needs to be double escaped!
language: NONE
nameOrder: # "last-to-first" (i.e. Tester, Thea) or "first-to-last" (i.e. Thea Tester)
singleNameIsLastName: true
nameDelimiter: SPACE
\ No newline at end of file
record:
uri:
identifiers:
original:
type:
title:
titles:
- main:
de:
- series:
de:
- broadcast:
de:
scopeAndContent:
de:
sameAs:
abstract:
source:
descriptiveNote:
relation:
conditionsOfUse:
conditionsOfAccess:
isSponsoredByMemoriav: # true or false
rights:
holder:
languages:
- content:
- caption:
subject:
- prefLabel:
genre:
- prefLabel:
placeOfCapture:
- name:
relatedPlaces:
- name:
creationDate:
issuedDate:
temporal:
creators:
- agent:
name:
relationName:
- person:
name:
relationName:
- corporateBody:
name:
relationName:
contributors:
- agent:
name:
relationName:
- person:
name:
relationName:
- corporateBody:
name:
relationName:
producers:
- agent:
name:
- person:
name:
- corporateBody:
name:
relatedAgents:
- agent:
name:
- person:
name:
- corporateBody:
name:
publishedBy:
- agent:
name:
- person:
name:
- corporateBody:
name:
physical:
identifiers:
callNumber:
carrierType:
descriptiveNote:
duration:
physicalCharacteristics:
- prefix:
value: "xxx: "
field:
colour:
conditionsOfUse:
conditionsOfAccess:
rights:
access:
usage:
name:
const: "Copyright Not Evaluated (CNE)"
sameAs:
const: "http://rightsstatements.org/vocab/CNE/1.0/"
digital:
descriptiveNote:
locator:
duration:
conditionsOfUse:
conditionsOfAccess:
rights:
access:
usage:
name:
const: "Copyright Not Evaluated (CNE)"
sameAs:
const: "http://rightsstatements.org/vocab/CNE/1.0/"
\ No newline at end of file
// example for xml data
{"recordSetId": "new-001", "institutionId": "new", "recordTag": "record", "identifierFieldName": "identifierMain"}
// example for table data
// {"recordSetId": "new-001", "institutionId": "new", "tableIdentifierIndex": "26"}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment