Skip to content

Review.removed

Emitted each time a Review is removed.

Review.remove emits Review.removed when it completes on a Review.

PropertyValue
Emitted byReview.remove
NounReview
MovesReview submitted to removed; Review published to removed; Review withheld to removed
WakesNone.

Payload

Each delivery is an Event record. data holds what Review.remove returns, and previous holds the state it left.

FieldTypeRequiredDescription
namestringrequiredReview.removed.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.reviewReviewrequiredThe Review, now removed.
data.review.ratingintegerrequiredThe score, from 1 to 5.
data.review.bodytextThe reviewer’s words.
data.review.venuestringThe venue it was posted on, by id; empty for the Startup’s own Site.
data.review.displayConsentbooleanTrue once the reviewer agreed it may be shown on the Startup’s own Pages.
data.review.statusstringrequiredWhere it stands; a removed Review is kept, never deleted.
data.review.customerCustomerThe Customer who wrote it, when known.
data.previous.statusstringrequiredThe status before this Event: submitted.

Example

JSON
{
  "$id": "https://api.sb/kilnbakery.com/events/event_1",
  "$type": "Event",
  "name": "Review.removed",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "review": {
      "$id": "https://api.sb/kilnbakery.com/reviews/review_1",
      "$type": "Review",
      "rating": 1,
      "body": "Example body",
      "venue": "Example venue",
      "displayConsent": true,
      "status": "removed",
      "customer": "customer_1"
    },
    "previous": {
      "status": "submitted"
    }
  },
  "seq": 1
}