ZRM Docs
Domain Model

Maintenance Plan

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
customerIdstringYesID of the associated customer
siteIdstringYesID of the associated site
namestringYesName
descriptionstringNoDescription
statusenum(draft, active, suspended, expired, canceled)YesStatus
frequencyMonthsintegerYesFrequency months
startDatestring.date-timeNoStart date
endDatestring.date-timeNoEnd date
coveredSystemIdsstring[]NoCovered system ids
contractValueunknownNoContract value
ownerUserIdstringNoID of the associated owner user
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode
lastCompletedDateunknownNoLast completed date
nextScheduledDateunknownNoNext scheduled date
completionRateunknownNoCompletion rate
missedCountunknownNoMissed count
totalScheduledCountunknownNoTotal scheduled count
totalCompletedCountunknownNoTotal completed count

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
customerIdstringYesID of the associated customer
siteIdstringYesID of the associated site
namestringYesName
descriptionstringNoDescription
statusenum(draft, active, suspended, expired, canceled)Yes"draft"Status
frequencyMonthsintegerYesFrequency months
startDatestring.date-timeNoStart date
endDatestring.date-timeNoEnd date
coveredSystemIdsstring[]NoCovered system ids
contractValueunknownNoContract value
ownerUserIdstringNoID of the associated owner user
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
customerIdstringNoID of the associated customer
siteIdstringNoID of the associated site
namestringNoName
descriptionstringNoDescription
statusenum(draft, active, suspended, expired, canceled)No"draft"Status
frequencyMonthsintegerNoFrequency months
startDatestring.date-timeNoStart date
endDatestring.date-timeNoEnd date
coveredSystemIdsstring[]NoCovered system ids
contractValueunknownNoContract value
ownerUserIdstringNoID of the associated owner user

On this page