Domain Model
Checklist Template
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| workspaceId | string.uuid | Yes | — | ID of the associated workspace |
| name | string | Yes | — | Name |
| workType | enum(service_call, installation, inspection, preventive_maintenance, emergency, other) | Yes | — | Work type |
| items | object[] | Yes | — | Items |
| isActive | boolean | Yes | — | Is active |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | Yes | — | Name |
| workType | enum(service_call, installation, inspection, preventive_maintenance, emergency, other) | Yes | — | Work type |
| items | object[] | Yes | [] | Items |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | No | — | Name |
| items | object[] | No | — | Items |
| isActive | boolean | No | — | Is active |