dfg-cp-survey-ui/config.yaml

245 lines
9.3 KiB
YAML

# --------------------
# General app settings
# --------------------
app_name: DFG Annual Survey in Coordinated Programs
documentation_url: https://docs.trr379.de/howtos/dfg-survey/index.html
external_config_url: config_dfg_default.yaml
footer_links:
- url: https://www.fz-juelich.de/en/legal-notice
text: Legal notice
- url: https://dfg-cp-survey.trr379.de/#privacy-policy
text: Privacy policy
page_title: DFG Survey
source_code_url: https://hub.trr379.de/q02/dfg-cp-survey-ui
# -------
# Content
# -------
content:
FrontPageHTML:
url: frontpage.html
doi-logo:
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/DOI_logo_24.svg
orcid-logo:
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/orcid_logo_24.svg
# dfg-survey-template:
# url: templates/...
# --------------
# Theme settings
# --------------
front_page_content: content:FrontPageHTML
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
# -------------------
# All from external_config_url
# ------------
# UI behaviour
# ------------
component_config:
NodeShapeViewer:
recordNumberStepSize: 5
textTruncateWidth: '85%'
hideBackLinks: true
specialButtons:
ORCID:
slot: dcterms:identifier
match:
- key: rdf:type
val: trr379ri: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:doi-logo
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
filter_records_by:
- dlthings:short_name
id_resolves_externally:
- trr379root
# 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
# -----------------------
# Service API integration
# -----------------------
service_base_url:
- url: https://dfg-cp-survey.trr379.de/api/2025-protected/
type: write
- url: https://dfg-cp-survey.trr379.de/api/2025-public/
type: read
token_info: Survey participants received an access link/token via email. Please see the documentation for more information and contact details for requesting an access token
token_info_url: https://docs.trr379.de/howtos/dfg-survey/index.html
use_service: true
use_token: true
service_fetch_before:
get-records:
- dlthings:AnnotationTag
- dlthings:Convention
- dlthings:Property
- dlthings:Rule
# ----------------
# Special features
# ----------------
gitannex_p2phttp_config:
base_url: "https://hub.trr379.de/git-annex-p2phttp/git-annex"
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
client_uuid: trr379-pool-ui
use_gitannex_p2phttp: true
gitannex_p2phttp_config_wizard:
client_uuid: trr379-pool-ui
targets:
- name: TRR379 Hub
base_url: https://hub.trr379.de/git-annex-p2phttp/git-annex
repositories:
- name: Public uploads
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
# -------
# Wizards
# -------
# wizard_editors:
# DFGSurveyWizard:
# name: DFG Survey Wizard
# tooltip: Complete the annual DFG CP Survey
# icon: mdi-clipboard-edit-outline
# description: >-
# You are a member of a Coordinated Programme (Collaborative Research Centre/CRC,
# Research Training Group/RTG, Research Impulses) funded by the Deutsche
# Forschungsgemeinschaft (DFG, German Research Foundation). For the purpose of reporting
# on these programmes, the DFG gathers information on the funded projects on an annual basis.
# The data is used to produce statistical reports and provide answers to statistical queries. In addition,
# the data serves as the basis for statistical evaluations, which the DFG uses to comply with its
# reporting obligations to financial backers, the federal government and the state governments.
# Please refer to the information on data protection in relation to DFG research funding (see Research
# Funding point IV, under point 10), which you can access at www.dfg.de/privacy_policy. If
# appropriate, please share this information with individuals whose data is processed by the DFG due
# to the fact that they are involved in your project
# component: dfgcps:DFGSurvey
# inputs:
# - prop: family_name
# name: Family name
# description: The (inherited) family name of the subject. In many Western languages this is the "last name"
# type: text
# required: true
# - prop: given_name
# name: Given name
# description: The given (non-inherited) name of the subject
# type: text
# required: true
# - prop: gender
# name: Gender
# description: Gender as distinguished by the DFG
# type: select
# required: true
# - prop: birth_year
# name: Birth year
# description: Year a person was born
# type: text
# required: true
# - prop: nationality
# name: Nationality
# description: Country in which a person holds citizenship
# type: select
# multi_valued: true
# required: true
# - prop: prior_country
# name: Work place prior start
# description: Country in which a person worked prior to beginning a participation in the consortium
# type: select
# required: true
# - prop: discipline
# name: Area of study/teaching
# description: The area of study and teaching in which you are primarily active
# type: select
# required: true
# - prop: consortium_participation
# name: Consortium participation
# description: Information on a person's nature of participation in the consortium. If a person participated with more than one type of funding, multiple records should be provided, one for each funding type. If a person changed the status group (e.g. from doctoral researcher to postdoctoral researcher), separate records should cover funding type and period of time for each status group. Participation without consortium-funding should also be listed. No funding means that a person is/was involved in the consortium during the specified period, but is/was NOT funded with DFG project funds of the consortium.
# type: object
# required: true
# multi_valued: true
# # inputs:
# - prop: primary_affiliation
# name: Primary affiliation
# description: The institution at which a person is working. The institution should be stated as specifically as possible, but without department-level detail.
# type: select
# required: true
# - prop: publication_consent
# name: Consent to use data subset for website profile page
# description: Consent can be given to use a subset of this information for creating or updating a profile page on the consortium website. The subset is family/given/additional names with prefixes and suffixes, ORCID identifier, affiliations, and consortium participation records (start, end, and project association).
# type: select
# required: true
# - prop: person_identity_consent
# name: Consent to use name/ORCID in other consortium services
# description: Consent can be given to use a minimal person record (family/given/additional names with prefixes and suffixes, plus any ORCID identifier) in other consortium services, such as a publication reporting, or data annotation tool. If consent is given, this information can be readily provided, and need not be entered repeatedly.
# type: select
# required: true
# - prop: record_retention_consent
# name: Consent to store record for next year's survey
# description: Consent can be given to store the entire record for next year's survey, such that no information has to be re-entered. If no consent it given, the record is deleted once this year's survey has been completed. Note that the DFG will retain all information submitted to them.
# type: select
# required: true
# template: content:dfg-survey-template
# wizard_editor_selection:
# trr379cps:Contributor:
# _class:
# - DFGSurveyWizard