Domain Model
Warranty Obligation
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| obligorOrganizationId | unknown | Yes | — | ID of the associated obligor organization |
| obligeeOrganizationId | unknown | Yes | — | ID of the associated obligee organization |
| projectId | unknown | Yes | — | ID of the associated project |
| assetId | unknown | Yes | — | ID of the associated asset |
| coverageType | enum(labor, parts, parts_and_labor, manufacturer, workmanship, full_system, other) | Yes | — | Coverage type |
| status | enum(active, expired, voided) | Yes | — | Status |
| terms | unknown | Yes | — | Terms |
| startDate | string.date-time | Yes | — | Start date |
| endDate | unknown | Yes | — | End date |
| notes | unknown | Yes | — | Notes |
| createdByUserId | unknown | Yes | — | ID of the associated created by user |
| workspaceId | string | Yes | — | ID of the associated workspace |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| obligorOrganizationId | unknown | No | — | ID of the associated obligor organization |
| obligeeOrganizationId | unknown | No | — | ID of the associated obligee organization |
| projectId | unknown | No | — | ID of the associated project |
| assetId | unknown | No | — | ID of the associated asset |
| coverageType | enum(labor, parts, parts_and_labor, manufacturer, workmanship, full_system, other) | Yes | "parts_and_labor" | Coverage type |
| terms | unknown | No | — | Terms |
| startDate | string.date-time | No | — | Start date |
| endDate | unknown | No | — | End date |
| notes | unknown | No | — | Notes |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| obligorOrganizationId | unknown | No | — | ID of the associated obligor organization |
| obligeeOrganizationId | unknown | No | — | ID of the associated obligee organization |
| coverageType | enum(labor, parts, parts_and_labor, manufacturer, workmanship, full_system, other) | No | — | Coverage type |
| status | enum(active, expired, voided) | No | — | Status |
| terms | unknown | No | — | Terms |
| startDate | string.date-time | No | — | Start date |
| endDate | unknown | No | — | End date |
| notes | unknown | No | — | Notes |