Entidad · objectives
Objective (OKR) Schema
Campos
Objective (OKR) Schema
Schema for validating objective entities (Zielvereinbarungen / OKRs)
employeeId
UUID of the employee profile
reviewId
Optional link to a performance review
admite null
title
Objective title (e.g. "Kundenzufriedenheit steigern")
1–500 caracteres
description
Detailed objective description
máx. 5000 caracteresadmite null
periodStart
Period start
periodEnd
Period end
status
Valores
DRAFTACTIVECOMPLETEDCANCELLEDValor por defecto: "DRAFT"
keyResults
Key results for this objective
Valor por defecto: []
title
Key result title
1–500 caracteres
unit
Unit of measurement (e.g. "%", "Stunden", "NPS")
máx. 50 caracteresadmite null
targetValue
Target value to achieve
currentValue
Current progress value
Valor por defecto: 0
progress
Progress percentage (0-100)
0 – 100Valor por defecto: 0
overallProgress
Overall objective progress
0 – 100Valor por defecto: 0
notes
máx. 5000 caracteresadmite null
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/objectives— Lista, paginada y filtrableGET /api/v1/objectives/<id>— Una entidadPOST /api/v1/objectives— CrearPATCH /api/v1/objectives/<id>— Actualización parcialDELETE /api/v1/objectives/<id>— Eliminación lógicaGET /api/v1/objectives/<id>/timeline— Auditoría y actividades