Entity · resource_lifecycle_events
Resource Lifecycle Event Schema
Fields
Resource Lifecycle Event Schema
Schema for validating resource lifecycle events (maintenance, repairs, inspections)
resourceId
Reference to the pool resource
eventType
Type of lifecycle event
Values
MAINTENANCEREPAIRINSPECTIONUPGRADENOTEDAMAGE_REPORTRETIREMENTtitle
Event title
1–200 characters
description
Detailed event description
max 5000 charactersnullable
performedById
User who performed the work
nullable
performedByName
Denormalized performer name for display
max 200 charactersnullable
scheduledDate
Scheduled date (YYYY-MM-DD)
nullable
completedDate
Completion date (YYYY-MM-DD)
nullable
cost
Cost of the event (e.g. repair cost)
≥ 0nullable
status
Event status
Values
PLANNEDIN_PROGRESSCOMPLETEDCANCELLEDDefault: "PLANNED"
attachmentFileIds
File IDs of attached documents
Default: []
notes
Additional notes
max 5000 charactersnullable
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/resource_lifecycle_events— List, paginated + filterableGET /api/v1/resource_lifecycle_events/<id>— Single entityPOST /api/v1/resource_lifecycle_events— CreatePATCH /api/v1/resource_lifecycle_events/<id>— Partial updateDELETE /api/v1/resource_lifecycle_events/<id>— Soft deleteGET /api/v1/resource_lifecycle_events/<id>/timeline— Audit + activities