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

Employment Contract Schema

Schema-ID
employment_contract
Collection
employment_contracts
Permissions
  • Lezenemployment_contract_view
  • Aanmakenemployment_contract_create
  • Wijzigenemployment_contract_edit
  • Verwijderenemployment_contract_delete

Velden

Employment Contract Schema

employment_contracts4 permissions

Schema for versioned employment contracts (Arbeitsverträge)

employeeProfileIduuidvereist

UUID of the employee_profile this contract version belongs to

revisionintegervereist

Sequential contract revision per employee (1 = initial contract, 2 = first amendment, ...)

≥ 1read-only
effectiveFromdatevereist

First day on which this version is in effect (YYYY-MM-DD)

effectiveUntildateoptioneel

Last day this version is in effect. null on the currently active version. Set automatically when a new version is created.

read-onlynullable
supersededByuuidoptioneel

UUID of the employment_contract that supersedes this one

read-onlynullable
supersededAtdatetimeoptioneel

When this version was superseded

read-onlynullable
changeReasonstringoptioneel

Free-text reason for this contract change (e.g. "Gehaltserhöhung 2026", "Wechsel auf 30h"). Required when creating a v>=2.

max. 500 tekensnullable
contractTypestringvereist

Permanent (unbefristet), fixed-term (befristet), or other forms

PERMANENTFIXED_TERMTEMPORARYTRAININGINTERNSHIP
contractEndDatedateoptioneel

End date of the contract (only set for FIXED_TERM/TEMPORARY)

nullable
probationEndDatedateoptioneel

End of probation period (Probezeit). null if no probation.

nullable
noticePeriodDaysintegeroptioneel

Notice period in days (Kündigungsfrist), null = legal default

0 – 730nullable
roleDescriptionstringoptioneel

Free-text role description (Tätigkeitsbeschreibung)

max. 5000 tekensnullable
positionTitlestringoptioneel

Job title for this contract version (Stellenbezeichnung)

max. 200 tekensnullable
workingTimeModelstringvereist

Working-time model for this contract

FULL_TIMEPART_TIMEMINI_JOBWORKING_STUDENTINTERNFREELANCER
weeklyHoursnumberoptioneel

Contracted weekly hours

0 – 168nullable
workingTimeModelIduuidoptioneel

Reference to a working_time_model entity (shift pattern, flex windows, ...)

nullable
vacationDaysPerYearnumberoptioneel

Annual vacation entitlement in days

0 – 365nullable
encryptedFieldsobjectoptioneel

Map of field-name → encrypted envelope. Encrypted client-side with the employee DEK; the server never sees plaintext. See EMPLOYMENT_CONTRACT_ZK_FIELDS for the registered field set and their visibility category.

nullable
statusstringoptioneel

DRAFT = work in progress, ACTIVE = currently in force, SUPERSEDED = replaced by newer version, TERMINATED = employment ended

DRAFTACTIVESUPERSEDEDTERMINATED
Default: "DRAFT"read-only
signedDocumentIduuidoptioneel

UUID of the dms_document containing the signed PDF of this contract version

nullable
attachmentDocumentIdsuuid[]optioneel

Additional dms_document IDs (annexes, side letters)

Default: []nullable
notesstringoptioneel

Free-text internal notes

max. 10000 tekensnullable

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

Zoeken