API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · schedule_periods

Schedule Period Schema

Schema ID
schedule_period
Collection
schedule_periods
Permissions
  • Readschedule_period_view
  • Createschedule_period_create
  • Editschedule_period_edit
  • Deleteschedule_period_delete

Fields

Schedule Period Schema

schedule_periods4 permissions

Schema for validating schedule period entities (Planungsperioden)

namestringrequired

Period name, e.g. "März 2026 – Pflege A"

1–200 characters
orgUnitIduuidoptional

Organizational unit UUID. Null/omitted = tenant-wide period.

nullable
startDatedaterequired

Period start date (YYYY-MM-DD)

endDatedaterequired

Period end date (YYYY-MM-DD)

preferenceDeadlinedatetimeoptional

Deadline for employee preference submission

nullable
publicationDeadlinedatetimeoptional

Target date for schedule publication

nullable
federalStatestringoptional

German federal state for holiday calendar. Deprecated: new periods derive the region from org_unit.holidayRegion (with fallback to tenant.settings.defaultHolidayRegion). Retained for legacy records.

BBBEBWBYHBHEHHMVNINWRPSHSLSNSTTHnull
nullable
statusstringoptional
DRAFTPREFERENCE_COLLECTIONGENERATINGREVIEWBETRIEBSRAT_REVIEWPUBLISHEDARCHIVED
Default: "DRAFT"
betriebsratReviewRequiredbooleanoptional
Default: false
betriebsratReviewNotestringoptional
max 5000 charactersnullable
publishedAtdatetimeoptional
nullable
publishedByuuidoptional
nullable
generationJobIdstringoptional
max 200 charactersnullable
generationStartedAtdatetimeoptional
nullable
generationFinishedAtdatetimeoptional
nullable
generationErrorstringoptional
max 5000 charactersnullable
qualityScorenumberoptional
0 – 100nullable
qualityReportobjectoptional

Solver + Claude quality evaluation result (merged)

nullable
isFeasiblebooleanoptional

Whether the solver found a feasible plan covering all mandatory slots

nullable
solveTimeMsnumberoptional
≥ 0nullable
objectiveValuenumberoptional
nullable
neverViolationsobject[]optional

Assignments that violated employee NEVER preferences

nullable
unfilledSlotsobject[]optional

Mandatory coverage slots the solver could not fill, with reason

nullable
coverageShiftTemplateIdsuuid[]optional

Shift templates that must be covered in this period

Default: []
constraintSetIduuidoptional

Tarifvertrag constraint set

nullable
notesstringoptional
max 5000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/schedule_periods — List, paginated + filterable
  • GET /api/v1/schedule_periods/<id> — Single entity
  • POST /api/v1/schedule_periods — Create
  • PATCH /api/v1/schedule_periods/<id> — Partial update
  • DELETE /api/v1/schedule_periods/<id> — Soft delete
  • GET /api/v1/schedule_periods/<id>/timeline — Audit + activities

Search