Domain Model
Quote Content Section
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| workspaceId | string | Yes | — | ID of the associated workspace |
| sectionType | enum(assumptions, exclusions, warranty_terms, terms, change_order_terms) | Yes | — | Section type |
| title | string | Yes | — | Title |
| body | string | Yes | — | Body |
| isDefault | boolean | Yes | — | Is default |
| isActive | boolean | Yes | — | Is active |
| sortOrder | integer | Yes | — | Sort order |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| sectionType | enum(assumptions, exclusions, warranty_terms, terms, change_order_terms) | Yes | — | Section type |
| title | string | Yes | — | Title |
| body | string | Yes | — | Body |
| isDefault | boolean | Yes | false | Is default |
| isActive | boolean | Yes | true | Is active |
| sortOrder | integer | Yes | 0 | Sort order |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| sectionType | enum(assumptions, exclusions, warranty_terms, terms, change_order_terms) | No | — | Section type |
| title | string | No | — | Title |
| body | string | No | — | Body |
| isDefault | boolean | No | — | Is default |
| isActive | boolean | No | — | Is active |
| sortOrder | integer | No | — | Sort order |