Spensara Spensara Knowledge Base & Documentation Repository

Repository Docs & Knowledge Base

Consolidated Spensara documentation repository (722 Markdown & architecture documents in ../repository)
Built Word Documents (.docx): Spensara Overview (.docx) Capability Assessment (.docx) Brink POS Ingestion Analysis (.docx) The Borg Ingestion Architecture (.docx)

Warehouse Model (93)

Analytical data warehouse schemas, curated tables, and Redshift/Athena data models.
warehouse-model/docs/features/ETL/warehouse-data/curated-model/pos_catalog_items.md 7,421 bytes · Updated Oct 23, 2026 10:44 AM EDT
Raw File

curated.pos_catalog_items

Purpose

This table stores POS item master data in a reporting-friendly flattened contract. It is the broadest reference surface for item naming, tax, routing, price, configuration, and kitchen-facing attributes.

It is useful for joins from transaction items, menu projections, and configuration diagnostics, but many columns remain source-specific and should be interpreted as legacy POS contract fields.

Schema contract

The deployed SQL under backend/Kds.Ai.Warehouse/Sql/Bootstrap/Tenant/Curated/ is the source of truth for the current column names, types, and nullability.

Column groups

  • Business properties describe the business entity, event, fact, or reference record represented by the table.
  • Technical and ETL properties describe warehouse lineage, surrogate keys, source reconciliation, tenant scoping, slowly changing dimension controls, and ingestion metadata.

Business properties

ColumnTypeNullableBusiness MeaningNotes
idINTEGERYesItem identifier in the POS source.
longnameVARCHAR(25)YesLonger item name used in operational displays.
costDOUBLE PRECISIONYesStandard cost of the item.
priceDOUBLE PRECISIONYesSelling price of the item.
mod_priceDOUBLE PRECISIONYesModifier price amount.
donotshowVARCHAR(1)YesFlag hiding the item from some displays.
owneridINTEGERYesOwning configuration or location identifier.
usernumberINTEGERYesUser-visible POS item number.
shortnameVARCHAR(15)YesShort item name used by the POS.
longname2VARCHAR(25)YesSecondary long item name.
bohnameVARCHAR(20)YesBack-of-house item name.
taxidINTEGERYesPrimary tax identifier for the item.
taxid2INTEGERYesSecondary tax identifier.
priorityINTEGERYesPriority or sort value for item handling.
routingINTEGERYesRouting identifier used for kitchen or production flow.
surchargeINTEGERYesSurcharge identifier associated with the item.
mod1INTEGERYesLinked modifier group slot 1.
mod2INTEGERYesLinked modifier group slot 2.
mod3INTEGERYesLinked modifier group slot 3.
mod4INTEGERYesLinked modifier group slot 4.
mod5INTEGERYesLinked modifier group slot 5.
mod6INTEGERYesLinked modifier group slot 6.
mod7INTEGERYesLinked modifier group slot 7.
mod8INTEGERYesLinked modifier group slot 8.
mod9INTEGERYesLinked modifier group slot 9.
mod10INTEGERYesLinked modifier group slot 10.
askpriceVARCHAR(1)YesFlag indicating whether price entry is prompted.
isrefillVARCHAR(1)YesFlag indicating refill behavior.
is_kviINTEGERYesFlag or code for key-value item classification.
price_idINTEGERYesPrice table or price-rule identifier.
slavetoitmINTEGERYesParent item identifier when pricing or behavior is slaved.
defweightINTEGERYesDefault weight or quantity setting.
skuVARCHAR(15)YesSKU or alternate commercial identifier.
modpriceVARCHAR(1)YesFlag controlling modifier pricing behavior.
itemmultINTEGERYesItem multiplier setting.
itempercntDOUBLE PRECISIONYesItem percentage used in pricing or allocation.
modpriceidINTEGERYesModifier price rule identifier.
ampriINTEGERYesAlternate price indicator or rule code.
compositidINTEGERYesComposite-item identifier.
independntVARCHAR(1)YesFlag indicating independent pricing or behavior.
showndpntVARCHAR(1)YesFlag controlling point-of-sale visibility.
delaytimeINTEGERYesDelay or prep offset configured for the item.
guestsDOUBLE PRECISIONYesGuest count contribution or expected serving value.
conceptINTEGERYesConcept or brand identifier.
multiplierINTEGERYesQuantity or pricing multiplier.
revitemVARCHAR(1)YesFlag indicating revenue-item behavior.
dntshwsmVARCHAR(1)YesFlag hiding the item from specific menu views.
guestwghtDOUBLE PRECISIONYesGuest-weight contribution of the item.
pizzaVARCHAR(1)YesFlag indicating pizza-item behavior.
toppingVARCHAR(1)YesFlag indicating topping-item behavior.
pizzasizeINTEGERYesPizza-size identifier.
fractionVARCHAR(1)YesFlag indicating fractional-item behavior.
fracprcovrINTEGERYesFraction price-override configuration code.
typeINTEGERYesSource item type code.
nozeroprVARCHAR(1)YesFlag suppressing zero-price behavior.
category_idVARCHAR(199)YesCanonical category identifier for the item.
category_nameVARCHAR(255)YesReadable category name for the item.
department_nameVARCHAR(255)YesReadable department or higher-level product grouping for the item.
tax_nameVARCHAR(255)YesReadable tax classification name.
routing_nameVARCHAR(255)YesReadable kitchen or production routing name for the item.
is_activeBOOLEANYesCanonical flag indicating whether the item is active and sellable in the curated model.
revenue_center_nameVARCHAR(255)YesReadable revenue center name when applicable to the item.
currency_codeVARCHAR(10)YesISO or business-standard currency code used for price and cost values.

Technical and ETL properties

ColumnTypeNullableTechnical MeaningNotes
catalog_item_keyBIGINTYesStable warehouse key for the catalog item entity.
source_systemVARCHAR(100)YesCanonical name of the source platform that produced the item record.
source_item_idVARCHAR(199)YesOriginal item identifier from the source platform.
tenant_keyBIGINTYesStable warehouse key for the tenant, brand, or client that owns the catalog item.
tenant_nameVARCHAR(255)YesReadable tenant, brand, or client name associated with the catalog item.
effective_from_utcTIMESTAMPYesUTC timestamp from which the current catalog-item version is valid.
effective_to_utcTIMESTAMPYesUTC timestamp until which the current catalog-item version is valid.
is_currentBOOLEANYesCanonical flag indicating whether the row is the current catalog-item version.
_etl_batch_idVARCHAR(256)YesETL batch lineage identifier.
_etl_source_typeVARCHAR(100)YesSource adapter type used by ETL.
_etl_ingested_atTIMESTAMPNoWarehouse ingestion timestamp for the curated row.Required ingestion audit timestamp.