256 lines
7.5 KiB
YAML
256 lines
7.5 KiB
YAML
# --------------------
|
|
# General app settings
|
|
# --------------------
|
|
app_name: 'KI: Status, Tasks, Ergebnisse'
|
|
documentation_url: ''
|
|
external_config_url: https://hub.psychoinformatics.de/orinoco/assets/raw/branch/main/shacl-vue/config_default_xyzri.yaml
|
|
page_title: KISTE
|
|
source_code_url: https://cerebra.fz-juelich.de/kiste/edit
|
|
|
|
# -------
|
|
# Content
|
|
# -------
|
|
content:
|
|
FrontPageHTML:
|
|
url: https://cerebra.fz-juelich.de/kiste/edit/raw/branch/main/frontpage.html
|
|
DOIImportWizardTemplate:
|
|
url: https://cerebra.fz-juelich.de/kiste/edit/raw/branch/main/templates/DOIImportWizardTemplate.nunjucks.ttl
|
|
DOIWizardTemplate:
|
|
url: https://cerebra.fz-juelich.de/kiste/edit/raw/branch/main/templates/DOIWizardTemplate.ttl
|
|
DOIlogo:
|
|
url: https://hub.psychoinformatics.de/orinoco/assets/raw/branch/main/shacl-vue/DOI_logo_24.svg
|
|
FileUploadTemplate:
|
|
url: https://cerebra.fz-juelich.de/kiste/edit/raw/branch/main/templates/FileUpload.ttl
|
|
orcid-logo:
|
|
url: https://hub.psychoinformatics.de/orinoco/assets/raw/branch/main/shacl-vue/orcid_logo_24.svg
|
|
|
|
# --------------
|
|
# Theme settings
|
|
# --------------
|
|
app_theme:
|
|
link_color: '#ffa200'
|
|
hover_color: '#ffa200'
|
|
active_color: '#ffa201'
|
|
visited_color: '#ffa201'
|
|
panel_color: '#333333'
|
|
logo: logo.png
|
|
|
|
# --------------------------
|
|
# Application inputs sources
|
|
# --------------------------
|
|
# All from external_config_url
|
|
|
|
# -------------------
|
|
# Identifier settings
|
|
# -------------------
|
|
prefixes:
|
|
kiste: https://kiste.abcd-j.de/ns/kiste/
|
|
kisteroot: https://kiste.abcd-j.de/
|
|
kistedoc: https://kiste.abcd-j.de/ns/kiste/documents/
|
|
shaclvue: https://concepts.datalad.org/ns/shaclvue/
|
|
|
|
# ------------
|
|
# UI behaviour
|
|
# ------------
|
|
component_config:
|
|
NodeShapeViewer:
|
|
hideBackLinks:
|
|
- dlthings:AnnotationTag
|
|
- xyzri:AgentRole
|
|
specialButtons:
|
|
ORCID:
|
|
slot: dcterms:identifier
|
|
match:
|
|
- key: rdf:type
|
|
val: xyzri:ORCID
|
|
return: skos:notation
|
|
template: 'https://orcid.org/{return}'
|
|
icon: content:orcid-logo
|
|
tooltip: Visit ORCID page
|
|
DOI:
|
|
slot: dcterms:identifier
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:DOI
|
|
return: skos:notation
|
|
template: 'https://doi.org/{return}'
|
|
icon: content:DOIlogo
|
|
tooltip: Go to DOI
|
|
DownloadUrl:
|
|
slot: dlthings:characterized_by
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:Statement
|
|
- key: rdf:predicate
|
|
val: dcat:downloadUrl
|
|
return: rdf:object
|
|
template: '{return}'
|
|
icon: mdi-download
|
|
tooltip: Download
|
|
Homepage:
|
|
slot: dlthings:attributes
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:AttributeSpecification
|
|
- key: rdf:predicate
|
|
val: foaf:homepage
|
|
return: rdf:value
|
|
template: '{return}'
|
|
icon: mdi-home
|
|
tooltip: Homepage
|
|
Documentation:
|
|
slot: dlthings:attributes
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:AttributeSpecification
|
|
- key: rdf:predicate
|
|
val: obo:NGBO_6000416
|
|
return: rdf:value
|
|
template: '{return}'
|
|
icon: mdi-text-box
|
|
tooltip: Documentation
|
|
SourceCodeRepo:
|
|
slot: dlthings:attributes
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:AttributeSpecification
|
|
- key: rdf:predicate
|
|
val: obo:APOLLO_SV_00000488
|
|
return: rdf:value
|
|
template: '{return}'
|
|
icon: mdi-code-block-tags
|
|
tooltip: Source code
|
|
filter_records_by:
|
|
- dlthings:short_name
|
|
show_classes:
|
|
- dlthings:AnnotationTag
|
|
- dlthings:Convention
|
|
# must list the next to get all identifiers to show
|
|
- dlthings:Identifier
|
|
- dlthings:DOI
|
|
- dlthings:ISSN
|
|
- dlthings:ORCID
|
|
- dlthings:Rule
|
|
- dlthings:Property
|
|
priority_classes:
|
|
- class: dlthings:Thing
|
|
icon: mdi-view-list
|
|
title: All
|
|
include_subclasses: true
|
|
wizard_editors:
|
|
DOIWizard:
|
|
name: DOI Wizard
|
|
tooltip: Add a Digital Object Identifier
|
|
icon: content:DOIlogo
|
|
description: Enter the 'Notation' field and hit *Save* in order to create a DOI record
|
|
inputs:
|
|
- prop: notation
|
|
name: Notation
|
|
description: This is the unique DOI identifier text following the creator URI (typically 'http://doi.org/')
|
|
type: text
|
|
placeholder: 'example: 10.21105/joss.03262'
|
|
required: true
|
|
# pattern:
|
|
# default:
|
|
template: content:DOIWizardTemplate
|
|
DOIImportWizard:
|
|
name: DOI Import Wizard
|
|
tooltip: Import a publication via DOI
|
|
icon: mdi-import
|
|
description: >-
|
|
Enter the 'DOI' field and hit *Import* in order to import metadata.
|
|
This will prepopulate editable fields such as *Title* and *Authors*.
|
|
An attempt is made to match individual imported *Author*s with known
|
|
*Person* records via ORCID identifiers. These matches can be accepted
|
|
as is without editing. The dropdown next to each imported and unmatched
|
|
author can be used to manually identify the correct associated Person
|
|
record. Also, additional authors can be added to the list. If no Person
|
|
record is selected for any given author in the list, a new Person record
|
|
will be created with a random and unique identifier, associated with the
|
|
entered given and family name.
|
|
component: doi:DOIFetcher
|
|
inputs:
|
|
- prop: title
|
|
type: text
|
|
- prop: abstract
|
|
type: text-paragraph
|
|
- prop: authors
|
|
type: object
|
|
multi_valued: true
|
|
inputs:
|
|
- prop: pid
|
|
type: text
|
|
- prop: given_name
|
|
type: text
|
|
- prop: family_name
|
|
type: text
|
|
- prop: role
|
|
type: select
|
|
template: content:DOIImportWizardTemplate
|
|
FileUploadWizard:
|
|
name: File Upload Wizard
|
|
tooltip: Upload a file
|
|
icon: mdi-file-upload-outline
|
|
description: Upload a file and hit *Save*
|
|
inputs:
|
|
- prop: file
|
|
name: File
|
|
type: upload
|
|
required: true
|
|
template: content:FileUploadTemplate
|
|
wizard_editor_selection:
|
|
xyzri:XYZPublication:
|
|
_class:
|
|
- DOIImportWizard
|
|
_record:
|
|
- DOIWizard
|
|
_slots:
|
|
dlthings:distributions:
|
|
_record:
|
|
- FileUploadWizard
|
|
hide_classes:
|
|
- xyzri:XYZPublicationVenue
|
|
- xyzri:XYZCompetitionType
|
|
- xyzri:XYZConvention
|
|
|
|
# -----------------------
|
|
# Service API integration
|
|
# -----------------------
|
|
service_base_url:
|
|
- url: https://cerebra.fz-juelich.de/api/dumpthings/v1/kiste-main/
|
|
type: write
|
|
#service_fetch_before:
|
|
# get-records:
|
|
# - xyzri:XYZActivity
|
|
# - xyzri:XYZAgentRole
|
|
# - xyzri:XYZBibliographicType
|
|
# - xyzri:XYZCompetitionType
|
|
# - xyzri:XYZDepictionType
|
|
# - xyzri:XYZInstrumentType
|
|
# - xyzri:XYZPerson
|
|
# - xyzri:XYZTopic
|
|
|
|
token_info: Please contact Adina Wagner at a.wagner@fz-juelich.de for credentials.
|
|
token_info_url: ''
|
|
use_service: true
|
|
use_token: true
|
|
|
|
# ----------------
|
|
# Special features
|
|
# ----------------
|
|
gitannex_p2phttp_config:
|
|
base_url: "https://cerebra.fz-juelich.de/git-annex-p2phttp/git-annex"
|
|
# TODO: this likely needs an update after the migration to cerebra
|
|
annex_uuid: "f481cb77-d66f-4dcf-89ae-72b87f76dada"
|
|
client_uuid: "shacl-vue"
|
|
use_gitannex_p2phttp: true
|
|
|
|
# not sure if this is needed
|
|
#gitannex_p2phttp_config_wizard:
|
|
# client_uuid: KISTE-pool-ui
|
|
# targets:
|
|
# - name: Psychoinformatics Hub
|
|
# base_url: https://hub.psychoinformatics.de/git-annex-p2phttp/git-annex
|
|
# repositories:
|
|
# - name: Protected uploads
|
|
# annex_uuid: f481cb77-d66f-4dcf-89ae-72b87f76dada
|