Entity · contract_types
Contract Type Schema
Velden
Contract Type Schema
Schema for validating contract type entities
name
Contract type name
1–100 tekens
code
Unique code identifier
1–20 tekensPattern
description
Contract type description
nullable
category
Contract category — MAINTENANCE or LICENSE (see contract schema for semantics).
Waarden
MAINTENANCELICENSEcolor
Display color (hex)
Patternnullable
icon
Display icon identifier
nullable
defaults
Default values applied when creating contracts of this type
nullable
billingCycle
Waarden
MONTHLYQUARTERLYSEMI_ANNUALYEARLYONE_TIMENONEnullable
cancellation
nullable
scope
nullable
serviceTargetProfileId
Default service target profile (ADR 0117a)
nullable
requiredFields
Fields required for contracts of this type
nullable
isActive
Whether this contract type is active
sortOrder
Display sort order
≥ 0
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/contract_types— Lijst, gepagineerd + filterbaarGET /api/v1/contract_types/<id>— Enkele entityPOST /api/v1/contract_types— AanmakenPATCH /api/v1/contract_types/<id>— Gedeeltelijke updateDELETE /api/v1/contract_types/<id>— Soft-deleteGET /api/v1/contract_types/<id>/timeline— Audit + activiteiten