AuctionDeletedEvent
v0.0.1

Raised when an auction record is deleted and must be removed from the publishing search index.
When firing this event make sure you set the `correlationId` in the headers and the `type` Application Property to `auctionDeletedEvent`. Our schemas have standard metadata make sure you read and follow it.

Details

This event type is produced by AuctionLot cloud store (AuctionChangeFeedWorker) when a Cosmos DB auction document is deleted, publishing to sbt-auctions-internal (or sbt-auctions-external for on-prem originating changes).

The christies-auction-publishing-search Azure Function consumes this event type and routes by the message Application Property type set to auctionDeletedEvent.

Consumer / Producer Diagram

AuctionDeletedEvent Schema (json)
{
  "$id": "https://example.com/AuctionDeletedEvent.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AuctionDeletedEvent",
  "description": "Event raised when an auction record is deleted and should be removed from search.",
  "type": "object",
  "required": ["metadata", "data"],
  "properties": {
    "metadata": {
      "type": "object",
      "required": ["occurredAtUtc", "typeName", "correlationId", "sentAtUtc"],
      "properties": {
        "occurredAtUtc": {
          "type": "string",
          "description": "UTC timestamp when the event occurred (ISO 8601)."
        },
        "typeName": {
          "type": "string",
          "description": "Event type name. Expected value: auctionDeletedEvent."
        },
        "correlationId": {
          "type": "string",
          "description": "Correlation identifier used for cross-service tracing."
        },
        "source": {
          "type": "string",
          "description": "Source service and version that emitted the event."
        },
        "sentAtUtc": {
          "type": "string",
          "description": "UTC timestamp when the publisher sent the event (ISO 8601)."
        }
      }
    },
    "data": {
      "type": "object",
      "required": ["auctionId", "auctionNumber"],
      "properties": {
        "auctionId": {
          "type": "string",
          "description": "Unique identifier for the deleted auction record."
        },
        "auctionNumber": {
          "type": ["string", "number"],
          "description": "Business auction number of the deleted record."
        },
        "deletedAtUtc": {
          "type": "string",
          "description": "UTC timestamp when the auction was deleted (ISO 8601)."
        }
      }
    }
  }
}
Edit this pageLast updated on 2026/5/8