status'draft' | 'test_pending' | 'test_rejected' | 'test_passed' | 'published' | 'scheduled' | 'scheduled_suspension' | 'suspended' | 'deleted' required
dateFromstring date required
dateTostring date nullable
categoryIdstring required
categoryTitlestring required
placeIdsstring[] required
createdAtstring date-time required
updatedAtstring date-time required
deletionMessagestring nullable
Reason the opportunity was deleted (raw text). Present only for opportunities deleted from a suspended state; null otherwise. Exposed to department/admin only.
suspendedBy'operator' | 'department' nullable
Actor type that suspended the opportunity (operator or department). null when neither suspended nor scheduled for suspension.
suspendFromstring date nullable
Calendar date a scheduled suspension takes effect from. Present only while a suspension is scheduled (opportunity still published); null otherwise.
suspensionMessagestring nullable
Reason provided for the suspension (raw text). null when not suspended.
changeRequestMessagestring nullable
Changes the department asked the operator to make on the last review cycle (raw text). null when no change was ever requested.
republishMessagestring nullable
Reason the operator gave asking for the opportunity to be republished, while the request is pending. Only set while the opportunity is suspended; null otherwise.
republishRejectionMessagestring nullable
Reason the department rejected the last republish request. Only set while the opportunity is suspended; null otherwise.