LotUpdatedEvent
v0.0.1

Raised when a lot record is created or updated and needs to be re-indexed in the publishing search index.
When firing this event make sure you set the `correlationId` in the headers and the `type` Application Property to `lotUpdatedEvent`. Our schemas have standard metadata make sure you read and follow it.

Details

This event is published to the Service Bus topic sbt-auctions-publishing-internal (subscription: auctpubsrch-sub-auction-publishing-search) and consumed by the christies-auction-publishing-search Azure Function. The message Application Property type must be set to lotUpdatedEvent for correct routing.

This event type is also produced by AuctionLot cloud store (LotChangeFeedWorker) when a Cosmos DB lot document is created or updated, publishing to sbt-lots-external.

Consumer / Producer Diagram

LotUpdatedEvent Schema (json)
{
  "$id": "https://example.com/LotUpdatedEvent.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LotUpdatedEvent",
  "description": "Event raised when a lot record is updated and should be re-indexed.",
  "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: lotUpdatedEvent."
        },
        "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": ["lotId", "lotNumber", "auctionNumber"],
      "properties": {
        "lotId": {
          "type": "string",
          "description": "Unique identifier for the lot."
        },
        "lotNumber": {
          "type": ["string", "number"],
          "description": "Lot number for display and indexing."
        },
        "lotSuffix": {
          "type": "string",
          "description": "Optional lot suffix such as A or B."
        },
        "auctionNumber": {
          "type": ["string", "number"],
          "description": "Auction number that owns this lot."
        },
        "lastUpdatedUtc": {
          "type": "string",
          "description": "UTC timestamp when the lot was last updated (ISO 8601)."
        }
      }
    }
  }
}
Edit this pageLast updated on 2026/5/8