API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · performance_review_templates

Performance Review Template Schema

Schema-ID
performance_review_template
Collection
performance_review_templates
Permissions
  • Lezenperformance_review_template_view
  • Aanmakenperformance_review_template_create
  • Wijzigenperformance_review_template_edit
  • Verwijderenperformance_review_template_delete

Velden

Performance Review Template Schema

performance_review_templates4 permissions

Schema for validating performance review template entities (Fragebogen-Vorlagen für Mitarbeitergespräche)

namestringvereist

Template name

1–200 tekens
descriptionstringoptioneel

Template description

max. 2000 tekensnullable
isActivebooleanoptioneel

Only active templates can be selected when creating new reviews

Default: true
isDefaultbooleanoptioneel

Default template used when none is explicitly selected

Default: false
versionintegervereist

Template version, bumped when a referenced template is edited

≥ 1Default: 1read-only
previousVersionIduuidoptioneel

Reference to the previous version when a new version is created

read-onlynullable
localestringoptioneel

Primary locale for prompts

Default: "de"
blocksobject[]vereist

Ordered list of question blocks. The last block is always the locked "Gesamtleistung" block (auto-enforced server-side).

min. 1 items
blockIduuidvereist

Stable block identifier

titlestringvereist

Block heading (Überschrift)

1–300 tekens
descriptionstringoptioneel

Optional helper text shown under the block heading

max. 2000 tekensnullable
sortOrderintegervereist

Sort order within the template

≥ 0
lockedbooleanoptioneel

Locked blocks (e.g. final "Gesamtleistung") cannot be edited or removed

Default: false
questionsobject[]vereist
min. 1 items
questionIdstringvereist

Stable question identifier. Reserved IDs: __overall_rating, __overall_comment

1–100 tekens
promptstringvereist

Question text shown to participants

1–2000 tekens
helpTextstringoptioneel

Optional helper / context text

max. 2000 tekensnullable
requiredbooleanvereist

If true, the question must be answered before submitting

Default: true
typestringvereist

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_INTEREST
typesstring[]optioneel

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.

min. 1 itemsnullable
configobjectoptioneel

Type-specific configuration

nullable
maxCharsintegeroptioneel
1 – 50000nullable
minWordsintegeroptioneel
≥ 0nullable
maxWordsintegeroptioneel
≥ 1nullable
optionsstring[]optioneel
nullable
minSelectionsintegeroptioneel
≥ 1nullable
maxSelectionsintegeroptioneel
≥ 1nullable
minnumberoptioneel
nullable
maxnumberoptioneel
nullable
stepnumberoptioneel
nullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/performance_review_templates — Lijst, gepagineerd + filterbaar
  • GET /api/v1/performance_review_templates/<id> — Enkele entity
  • POST /api/v1/performance_review_templates — Aanmaken
  • PATCH /api/v1/performance_review_templates/<id> — Gedeeltelijke update
  • DELETE /api/v1/performance_review_templates/<id> — Soft-delete
  • GET /api/v1/performance_review_templates/<id>/timeline — Audit + activiteiten

Zoeken