kiste.abcd-j.de-ui/config.yaml
2026-02-12 14:02:46 +01:00

132 lines
4 KiB
YAML

# --------------------
# General app settings
# --------------------
app_name: 'KI: Status, Tasks, Ergebnisse'
documentation_url: ''
external_config_url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/config_default_xyzri.yaml
page_title: KISTE
source_code_url: https://hub.psychoinformatics.de/www/kiste.abcd-j.de-ui
# -------
# Content
# -------
content:
FrontPageHTML:
url: frontpage.html
DOIWizardTemplate:
url: templates/DOIWizardTemplate.ttl
DOIlogo:
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/DOI_logo_24.svg
FileUploadTemplate:
url: templates/FileUpload.ttl
# --------------
# 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
# ------------
filter_records_by:
- dlthings:short_name
show_classes:
- https://concepts.datalad.org/s/things/unreleased/Rule
- https://concepts.datalad.org/s/things/unreleased/Property
- https://concepts.datalad.org/s/things/unreleased/Convention
- https://concepts.datalad.org/s/things/unreleased/AnnotationTag
- https://concepts.datalad.org/s/things/unreleased/DOI
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
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:
_record:
- DOIWizard
_slots:
dlthings:distributions:
_record:
- FileUploadWizard
hide_classes:
- https://concepts.datalad.org/s/demo-rse-group/unreleased/XYZPublicationVenue
- https://concepts.datalad.org/s/demo-rse-group/unreleased/XYZConvention
- https://concepts.datalad.org/s/demo-rse-group/unreleased/XYZCompetitionType
# -----------------------
# Service API integration
# -----------------------
service_base_url:
- url: https://kiste.abcd-j.de/api/protected/
type: write
- url: https://kiste.abcd-j.de/api/public/
type: read
service_fetch_before:
get-records:
- https://concepts.datalad.org/s/demo-research-information/unreleased/XYZPerson
- https://concepts.datalad.org/s/demo-research-information/unreleased/XYZAgentRole
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://hub.psychoinformatics.de/git-annex-p2phttp/git-annex"
annex_uuid: "f481cb77-d66f-4dcf-89ae-72b87f76dada"
client_uuid: "shacl-vue"
use_gitannex_p2phttp: true
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: File Upload Repo
annex_uuid: f481cb77-d66f-4dcf-89ae-72b87f76dada