Dashboard Template Schema
Velden
Dashboard Template Schema
Schema for validating dashboard templates (tenant- or user-scoped layout presets)
name
Display name of the template
description
scope
user = private/personal or shared by a user; tenant = tenant-wide template
usertenantuserId
Owner userId (for scope=user). Set by the server.
isDefault
For scope=user: active template for the owner on login. For scope=tenant: tenant default.
teamIds
For scope=user: org-unit/team IDs whose members may read the template (ADR 0164).
isPredefined
Read-only template seeded by the platform; protected from editing/deletion.
predefinedKey
Stable key for predefined templates (e.g. role preset carry-over).
icon
color
Geen velden komen overeen met het filter.
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/dashboard_templates— Lijst, gepagineerd + filterbaarGET /api/v1/dashboard_templates/<id>— Enkele entityPOST /api/v1/dashboard_templates— AanmakenPATCH /api/v1/dashboard_templates/<id>— Gedeeltelijke updateDELETE /api/v1/dashboard_templates/<id>— Soft-deleteGET /api/v1/dashboard_templates/<id>/timeline— Audit + activiteiten