-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.yaml
71 lines (70 loc) · 3.59 KB
/
config-sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
metadataManagment:
nonRelationProperties:
- http://www.w3.org/1999/02/22-rdf-syntax-ns#type
- https://vocabs.acdh.oeaw.ac.at/schema#hasPid
- https://vocabs.acdh.oeaw.ac.at/schema#matchesProp
rest:
handlers:
methods:
create:
- type: function
function: \acdhOeaw\arche\doorkeeper\Resource::onResEdit
updateBinary:
- type: function
function: \acdhOeaw\arche\doorkeeper\Resource::onResEdit
updateMetadata:
- type: function
function: \acdhOeaw\arche\doorkeeper\Resource::onResEdit
txCommit:
- type: function
function: \acdhOeaw\arche\doorkeeper\Transaction::onTxCommit
schema:
id: https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier
label: https://vocabs.acdh.oeaw.ac.at/schema#hasTitle
creationDate: https://vocabs.acdh.oeaw.ac.at/schema#hasAvailableDate
mime: https://vocabs.acdh.oeaw.ac.at/schema#hasFormat
binarySizeCumulative: https://vocabs.acdh.oeaw.ac.at/schema#hasBinarySize
pid: https://vocabs.acdh.oeaw.ac.at/schema#hasPid
hosting: https://vocabs.acdh.oeaw.ac.at/schema#hasHosting
isNewVersionOf: https://vocabs.acdh.oeaw.ac.at/schema#isNewVersionOf
accessRestriction: https://vocabs.acdh.oeaw.ac.at/schema#hasAccessRestriction
accessRole: https://vocabs.acdh.oeaw.ac.at/schema#hasRestrictionRole
countCumulative: https://vocabs.acdh.oeaw.ac.at/schema#hasNumberOfItems
oaipmhSet: https://vocabs.acdh.oeaw.ac.at/schema#hasOaiSet
classes:
repoObject: https://vocabs.acdh.oeaw.ac.at/schema#RepoObject
sharedObject: https://vocabs.acdh.oeaw.ac.at/schema#AgentOrPlaceOrPublication
container: https://vocabs.acdh.oeaw.ac.at/schema#Container
topCollection: https://vocabs.acdh.oeaw.ac.at/schema#TopCollection
collection: https://vocabs.acdh.oeaw.ac.at/schema#Collection
namespaces:
ontology: https://vocabs.acdh.oeaw.ac.at/schema#
ontology:
order: https://vocabs.acdh.oeaw.ac.at/schema#ordering
recommended: https://vocabs.acdh.oeaw.ac.at/schema#recommendedClass
langTag: https://vocabs.acdh.oeaw.ac.at/schema#langTag
vocabs: https://vocabs.acdh.oeaw.ac.at/schema#vocabs
doorkeeper:
rolePublic: public
roleAcademic: academic
checkRanges:
https://vocabs.acdh.oeaw.ac.at/schema#Agent: [viaf, orcid, gnd, wikidata, arche-localhost, acdhi, arche, pmb, ror]
https://vocabs.acdh.oeaw.ac.at/schema#Place: [wikidata, arche-localhost, acdhi, arche, pmb, geonames]
https://vocabs.acdh.oeaw.ac.at/schema#AgentOrPlace: [viaf, orcid, gnd, wikidata, arche-localhost, acdhi, arche, pmb, geonames, ror]
# Should Doorkeeper::checkUnknownProperties() be run? We need to be able to turn it off for the ontology import.
checkUnknownProperties: true
# Should Doorkeeper::checkAutoCreatedResources() be run? We need to be able to turn it off for the ontology import.
checkAutoCreatedResources: true
# Should Doorkeeper::maintainPropertyRangeVocabs() be run? We need to be able to turn it off for the ontology import.
checkVocabularyValues: true
epicPid:
resolver: https://hdl.handle.net/
url: http://test/handles/
user: user21.11115-01
pswd: foobar
prefix: 21.11115
createValue: create
clarinSet: https://vocabs.acdh.oeaw.ac.at/archeoaisets/clarin-vlo
clarinSetProperty: https://vocabs.acdh.oeaw.ac.at/schema#hasOaiSet
# used only by tests
restConfigDstPath: config/yaml/config-repo.yaml