# BookWorm EventCatalog Schemas List of schemas for events, commands, queries, and services in EventCatalog. ## Events - [Basket deletion completed - BasketDeletedCompleteIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/BasketDeletedCompleteIntegrationEvent/1.0.0) - Indicates that Basket successfully deleted the submitted basket during checkout cleanup. - [Basket deletion failed - BasketDeletedFailedIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/BasketDeletedFailedIntegrationEvent/1.0.0) - Indicates that Basket could not delete the submitted basket during checkout cleanup. - [Book rating update failed - BookUpdatedRatingFailedIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/BookUpdatedRatingFailedIntegrationEvent/1.0.0) - Indicates that Catalog could not apply a feedback-created event because the referenced book was not found. - [Feedback created - FeedbackCreatedIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/FeedbackCreatedIntegrationEvent/1.0.0) - Indicates that a customer feedback rating was created for a book. Rating API publishes this event so Catalog can update its denormalized rating summary. - [Feedback deleted - FeedbackDeletedIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/FeedbackDeletedIntegrationEvent/1.0.0) - Indicates that a customer feedback rating was deleted for a book. Rating API publishes this event so Catalog can remove it from its denormalized summary. - [Order cancelled - OrderStatusChangedToCancelIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/OrderStatusChangedToCancelIntegrationEvent/1.0.0) - Reports that an Order transitioned from New to Cancelled. - [Order completed - OrderStatusChangedToCompleteIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/OrderStatusChangedToCompleteIntegrationEvent/1.0.0) - Reports that an Order transitioned from New to Completed. - [Process vector batch - ProcessVectorBatchIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/ProcessVectorBatchIntegrationEvent/1.0.0) - Integration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Kafka. - [User checked out - UserCheckedOutIntegrationEvent - 1.0.0](https://foxminchan.github.io/api/schemas/events/UserCheckedOutIntegrationEvent/1.0.0) - Reports that an Order was placed and its checkout details are ready for Finance coordination. ## Commands - [Analyze text - AnalyzeText - 1.0.0](https://foxminchan.github.io/api/schemas/commands/AnalyzeText/1.0.0) - Detects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optional analysis explanations. - [Anonymize text - AnonymizeText - 1.0.0](https://foxminchan.github.io/api/schemas/commands/AnonymizeText/1.0.0) - Replaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators. - [Cancel order - CancelOrder - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CancelOrder/1.0.0) - Marks an existing Order as Cancelled when its current status is New. - [Send order cancelled notification - CancelOrderCommand - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CancelOrderCommand/1.0.0) - Shared Finance cancellation command consumed by Notification to render and submit a canceled-order email. - [Complete order - CompleteOrder - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CompleteOrder/1.0.0) - Marks an existing Order as Completed when its current status is New. - [Send order completed notification - CompleteOrderCommand - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CompleteOrderCommand/1.0.0) - Shared Finance completion command consumed by Notification to render and submit a completed-order email. - [Create author - CreateAuthor - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateAuthor/1.0.0) - Creates an author in the Catalog. - [Create basket - CreateBasket - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateBasket/1.0.0) - Creates a basket containing the supplied item identifiers and quantities. - [Create book - CreateBook - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateBook/1.0.0) - Creates a book listing and returns its generated UUID. - [Create buyer - CreateBuyer - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateBuyer/1.0.0) - Creates a Buyer profile for the authenticated customer from the supplied address. - [Create category - CreateCategory - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateCategory/1.0.0) - Creates a category in the Catalog. - [Create feedback - CreateFeedback - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateFeedback/1.0.0) - Creates a feedback rating for a Catalog book and returns its generated UUID. - [Create order - CreateOrder - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreateOrder/1.0.0) - Creates an Order for the authenticated Buyer using the current basket and Catalog pricing. - [Create publisher - CreatePublisher - 1.0.0](https://foxminchan.github.io/api/schemas/commands/CreatePublisher/1.0.0) - Creates a publisher in the Catalog. - [Delete author - DeleteAuthor - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteAuthor/1.0.0) - Deletes an existing author from the Catalog. - [Delete basket - DeleteBasket - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteBasket/1.0.0) - Deletes the current basket. - [Acknowledge basket deletion completed - DeleteBasketCompleteCommand - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteBasketCompleteCommand/1.0.0) - Reports Finance's successful basket-cleanup outcome to Order API without changing the Order's business status. - [Handle basket deletion failed - DeleteBasketFailedCommand - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteBasketFailedCommand/1.0.0) - Reports Finance's failed basket-cleanup outcome so Order API can soft-delete the affected Order. - [Delete book - DeleteBook - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteBook/1.0.0) - Deletes an existing book from the Catalog. - [Delete buyer - DeleteBuyer - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteBuyer/1.0.0) - Deletes a Buyer profile by identifier; the operation is restricted to administrators. - [Delete category - DeleteCategory - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteCategory/1.0.0) - Deletes an existing category from the Catalog. - [Delete feedback - DeleteFeedback - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteFeedback/1.0.0) - Deletes an existing feedback record by its UUID. - [Delete order - DeleteOrder - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeleteOrder/1.0.0) - Soft-deletes an Order by its identifier without changing its business status. - [Delete publisher - DeletePublisher - 1.0.0](https://foxminchan.github.io/api/schemas/commands/DeletePublisher/1.0.0) - Deletes an existing publisher from the Catalog. - [Place order - PlaceOrderCommand - 1.0.0](https://foxminchan.github.io/api/schemas/commands/PlaceOrderCommand/1.0.0) - Shared Finance order-placement command consumed by Notification to render and submit a new-order email. - [Update buyer address - UpdateAddress - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdateAddress/1.0.0) - Updates the authenticated Buyer's address using the supplied street, city, and province. - [Update author - UpdateAuthor - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdateAuthor/1.0.0) - Updates an existing author in the Catalog. - [Update basket - UpdateBasket - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdateBasket/1.0.0) - Replaces a basket's item collection with the supplied items. - [Update book - UpdateBook - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdateBook/1.0.0) - Updates an existing book listing, including optional image and catalog relationships. - [Update category - UpdateCategory - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdateCategory/1.0.0) - Updates an existing category in the Catalog. - [Update publisher - UpdatePublisher - 1.0.0](https://foxminchan.github.io/api/schemas/commands/UpdatePublisher/1.0.0) - Updates an existing publisher in the Catalog. ## Queries - [Get anonymizers - GetAnonymizers - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetAnonymizers/1.0.0) - Returns the names of the built-in anonymization operators supported by Presidio Anonymizer. - [Get basket - GetBasket - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBasket/1.0.0) - Returns the current basket and its item details. - [Get basket over gRPC - GetBasketGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBasketGrpc/1.0.0) - Returns the current basket through the basket.v1 gRPC contract. - [Get book - GetBook - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBook/1.0.0) - Returns one book and its catalog relationships by identifier. - [Get book details over gRPC - GetBookDetailsGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBookDetailsGrpc/1.0.0) - Returns full Catalog book details by identifier through the book.v1 gRPC contract. - [Get book over gRPC - GetBookGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBookGrpc/1.0.0) - Returns one Catalog book by identifier through the book.v1 gRPC contract. - [Get books over gRPC - GetBooksGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBooksGrpc/1.0.0) - Returns multiple Catalog books by identifier through the book.v1 gRPC contract. - [Get buyer - GetBuyer - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetBuyer/1.0.0) - Returns the Buyer profile selected by identifier, subject to the caller's authorization. - [Get catalog dashboard over gRPC - GetDashboardGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetDashboardGrpc/1.0.0) - Returns Catalog totals and category counts through the admin-protected book.v1 gRPC contract. - [Get order - GetOrder - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetOrder/1.0.0) - Returns Order details, including the recorded item quantities and prices. - [Get recognizers - GetRecognizers - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetRecognizers/1.0.0) - Returns the names of PII recognizers available for the requested language. - [Get supported entities - GetSupportedEntities - 1.0.0](https://foxminchan.github.io/api/schemas/queries/GetSupportedEntities/1.0.0) - Returns the PII entity types Presidio Analyzer can detect for the requested language. - [List authors - ListAuthors - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListAuthors/1.0.0) - Returns all authors known to the Catalog. - [List authors over gRPC - ListAuthorsGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListAuthorsGrpc/1.0.0) - Returns all Catalog authors through the book.v1 gRPC contract. - [List books - ListBooks - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListBooks/1.0.0) - Returns a filterable collection of books with pricing, availability, relationships, and rating summaries. - [List books over gRPC - ListBooksGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListBooksGrpc/1.0.0) - Searches and lists Catalog books with full metadata through the book.v1 gRPC contract. - [List buyers - ListBuyers - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListBuyers/1.0.0) - Returns Buyer profiles with pagination. - [List categories - ListCategories - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListCategories/1.0.0) - Returns all categories known to the Catalog. - [List categories over gRPC - ListCategoriesGrpc - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListCategoriesGrpc/1.0.0) - Returns all Catalog categories through the book.v1 gRPC contract. - [List feedbacks - ListFeedbacks - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListFeedbacks/1.0.0) - Returns feedback for a book with pagination, sorting, and validation responses. - [List orders - ListOrders - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListOrders/1.0.0) - Returns Orders with pagination and optional status and Buyer filters. - [List publishers - ListPublishers - 1.0.0](https://foxminchan.github.io/api/schemas/queries/ListPublishers/1.0.0) - Returns all publishers known to the Catalog. - [Summarize feedback - SummarizeFeedback - 1.0.0](https://foxminchan.github.io/api/schemas/queries/SummarizeFeedback/1.0.0) - Returns a generated feedback summary, classification, rating metrics, evidence, and confidence for a book. ## Services - [basket-api - 1.0.0 - openapi specification](https://foxminchan.github.io/api/schemas/services/basket-api/1.0.0/openapi) - Specification for Internal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkout cleanup. - [basket-api - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/basket-api/1.0.0/asyncapi) - Specification for Internal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkout cleanup. - [catalog-api - 1.0.0 - openapi specification](https://foxminchan.github.io/api/schemas/services/catalog-api/1.0.0/openapi) - Specification for Internal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. - [catalog-api - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/catalog-api/1.0.0/asyncapi) - Specification for Internal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. - [notification-api - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/notification-api/1.0.0/asyncapi) - Specification for Internal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over SMTP via MailKit. - [order-api - 1.0.0 - openapi specification](https://foxminchan.github.io/api/schemas/services/order-api/1.0.0/openapi) - Specification for Authenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting prices, and coordinating status events. - [order-api - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/order-api/1.0.0/asyncapi) - Specification for Authenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting prices, and coordinating status events. - [order-api - 1.0.0 - generic specification](https://foxminchan.github.io/api/schemas/services/order-api/1.0.0/generic) - Specification for Authenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting prices, and coordinating status events. - [order-orchestration - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/order-orchestration/1.0.0/asyncapi) - Specification for Message-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Durable Task Scheduler and Kafka. - [presidio-api - 1.0.0 - openapi specification](https://foxminchan.github.io/api/schemas/services/presidio-api/1.0.0/openapi) - Specification for External HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pipelines. - [rating-api - 1.0.0 - openapi specification](https://foxminchan.github.io/api/schemas/services/rating-api/1.0.0/openapi) - Specification for Internal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog books. - [rating-api - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/rating-api/1.0.0/asyncapi) - Specification for Internal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog books. - [scheduler-service - 1.0.0 - asyncapi specification](https://foxminchan.github.io/api/schemas/services/scheduler-service/1.0.0/asyncapi) - Specification for Single-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and inspecting execution history.