Skip to main content

BUSINESS.md: Hotel8:Meta — Business Requirements & Functionality

Audience: product owners, business analysts, and anyone evaluating what Hotel8:Meta does for the business. For architecture read README.md; for wire-level detail read DESIGN.md.

1. Business Purpose​

  • Put the hotel's live rates in front of metasearch shoppers (Google Hotel Ads, Trivago, Kayak, Skyscanner, TripAdvisor, Bing) with correct content.
  • Custody partner credentials safely (encrypted, by reference — never plaintext).
  • Attribute metasearch clicks to bookings so acquisition spend is measurable.

2. Business Scope (What the Service Provides)​

CapabilityDescription
Channel registryMetasearch channel configs with per-partner type
Credential custodyEncrypted, secret-reference storage per channel
Rate advertisementRates derived from PMS retail + adjustments, verified before publishing
Content pushProperty content publication to partners
Rate verificationAd-vs-inventory verification gate
Sync operationsFull and partial (ARI) syncs with a ledger
Click attributionClick telemetry tied to booking references
Admin consoleRFW pages incl. shared Shield policy admin

What the service does NOT own (business boundary)

ConcernOwning service
Rate and availability truthhotel8:pms
Channel distribution logisticshotel8:distrib
Reservation lifecyclehotel8:pms
Identity & guest consentSentin8:Auth
Money movementBill8:Payments / Bill8:Ledger
Guest communicationSentin8:Post

3. Business Capabilities​

AreaBusiness rule
Channel setupA metasearch channel operates only with stored credentials and an active configuration.
Rate adsAn advertised rate is always the verified derivation of the property's live retail rate plus the channel's configured adjustment.
VerificationUnverified rates are withheld from publication — parity incidents are prevented at the source.
ContentProperty content publishes separately from rates so marketing changes don't disturb pricing.
SyncFull syncs re-establish the complete catalog; partial (ARI) syncs propagate deltas; both are logged.
AttributionClicks are recorded with partner context so bookings can be traced to their source.
SecretsCredential updates record the acting admin and never echo the secret.

4. Business Events (Outbound)​

EventFires when
hotel8:meta:channel:configured / updated / deletedChannel registry changes
hotel8:meta:credentials:storedCredential rotation
hotel8:meta:rate:verifiedAn advertisement passed verification
hotel8:meta:ari:sync / ari:syncedPartial sync trigger/outcome
hotel8:meta:full_sync:completedFull sync finished
hotel8:meta:content:pushedContent publication

Inbound (consumed): hotel8:pms:inventory:updated — re-derives and verifies rate ads.

5. Business Rules & Invariants​

  1. No ad is published for an unverified rate.
  2. Secrets exist only as encrypted references in the database — plaintext is never written or echoed.
  3. Every credential change records the acting admin.
  4. Click attribution rows are immutable telemetry.
  5. A sync outcome is ledgered (success, partial, miss) — silent skips are an anomaly, not the norm.

6. Target-User Roles & Use Cases​

PersonaUse
Digital marketing managerConfigure metasearch channels, push ads/content
IT/security adminRotate partner credentials
Revenue managerCheck advertised rates vs live rates
Performance analystClick/booking attribution reports
Hotel adminPolicy admin for the surface

7. KPIs / Success Criteria​

  • Ad rate parity with PMS zero-drift (verification holds).
  • Sync completion within partner feed windows.
  • Credential rotation completes without guest-visible impact.
  • Attribution completeness: every metasearch booking traceable to a click.

8. Dependencies & Reliance on Other Services​

RelianceFor
hotel8:pmsRetail rates & availability (event-driven)
Sentin8:Auth + ShieldIdentity; channel-scope authorization
Sentin8:Busmeta stream + PMS intake
Sentin8:CryptoMaster key for credential wrapping
Sentin8:SysAudit ingestion

9. Acceptance Criteria​

  1. A metasearch channel can be configured and verified with no code change.
  2. Partner credentials rotate with zero downtime and zero plaintext exposure.
  3. Every advertised rate is provably derived from the property's live rate.
  4. A metasearch-referred booking is attributable to its click.
  5. A full sync completes inside the maintenance window.

10. Open Business Questions​

  • Bid-strategy automation.
  • Content template management.

Design attribution: hotel8:meta and its underlying concepts were designed by Hamid Jahanzad Hamid@Jahanzad.com.