Performance Review Template Schema
Felder
Performance Review Template Schema
Schema for validating performance review template entities (Fragebogen-Vorlagen für Mitarbeitergespräche)
name
Template name
description
Template description
isActive
Only active templates can be selected when creating new reviews
isDefault
Default template used when none is explicitly selected
version
Template version, bumped when a referenced template is edited
previousVersionId
Reference to the previous version when a new version is created
locale
Primary locale for prompts
blocks
Ordered list of question blocks. The last block is always the locked "Gesamtleistung" block (auto-enforced server-side).
blockId
Stable block identifier
title
Block heading (Überschrift)
description
Optional helper text shown under the block heading
sortOrder
Sort order within the template
locked
Locked blocks (e.g. final "Gesamtleistung") cannot be edited or removed
questions
questionId
Stable question identifier. Reserved IDs: __overall_rating, __overall_comment
prompt
Question text shown to participants
helpText
Optional helper / context text
required
If true, the question must be answered before submitting
type
Primary answer type (always equals types[0] when types is set; kept for backward compat). SKILL_INTEREST is reserved for the auto-injected __skill_interests question.
FREETEXTRATING_1_5YES_NOSINGLE_CHOICEMULTI_CHOICEDATENUMBERSKILL_INTERESTtypes
Ordered list of answer sub-types. When set, the question renders one input per sub-type and the answer value is stored as an object keyed by sub-type.
config
Type-specific configuration
maxChars
minWords
maxWords
options
minSelections
maxSelections
min
max
step
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/performance_review_templates— Liste, paginiert + filterbarGET /api/v1/performance_review_templates/<id>— Einzelne EntityPOST /api/v1/performance_review_templates— AnlegenPATCH /api/v1/performance_review_templates/<id>— Teil-UpdateDELETE /api/v1/performance_review_templates/<id>— Soft-DeleteGET /api/v1/performance_review_templates/<id>/timeline— Audit + Aktivitäten