Entity · contract_types
Contract Type Schema
Felder
Contract Type Schema
Schema for validating contract type entities
name
Contract type name
1–100 Zeichen
code
Unique code identifier
1–20 ZeichenPattern
description
Contract type description
nullable
category
Contract category — MAINTENANCE or LICENSE (see contract schema for semantics).
Werte
MAINTENANCELICENSEcolor
Display color (hex)
Patternnullable
icon
Display icon identifier
nullable
defaults
Default values applied when creating contracts of this type
nullable
billingCycle
Werte
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/contract_types— Liste, paginiert + filterbarGET /api/v1/contract_types/<id>— Einzelne EntityPOST /api/v1/contract_types— AnlegenPATCH /api/v1/contract_types/<id>— Teil-UpdateDELETE /api/v1/contract_types/<id>— Soft-DeleteGET /api/v1/contract_types/<id>/timeline— Audit + Aktivitäten