Entity · contract_types
Contract Type Schema
Fields
Contract Type Schema
Schema for validating contract type entities
name
Contract type name
1–100 characters
code
Unique code identifier
1–20 charactersPattern
description
Contract type description
nullable
category
Contract category — MAINTENANCE or LICENSE (see contract schema for semantics).
Values
MAINTENANCELICENSEcolor
Display color (hex)
Patternnullable
icon
Display icon identifier
nullable
defaults
Default values applied when creating contracts of this type
nullable
billingCycle
Values
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
No fields match the filter.
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/contract_types— List, paginated + filterableGET /api/v1/contract_types/<id>— Single entityPOST /api/v1/contract_types— CreatePATCH /api/v1/contract_types/<id>— Partial updateDELETE /api/v1/contract_types/<id>— Soft deleteGET /api/v1/contract_types/<id>/timeline— Audit + activities