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/brinkPos-curated-model-mapps/loyalty_customers.md 3,398 bytes · Updated Oct 23, 2026 10:44 AM EDT
Raw File

Brink mapping for curated.loyalty_customers

Main staging sources

  • staging.brink_sales2_orders

Mapping groups

  • Business property mappings describe how Brink customer loyalty content is mapped or could be mapped into curated business fields.
  • Technical and ETL property mappings describe lineage, source reconciliation, tenant scoping, and ingestion metadata.

Business property mappings

Curated ColumnBrink Staging TableBrink Property PathCurrent mappingStatusNotes
customer_numberstaging.brink_sales2_orderscustomer_idNULLNot mappedBrink exposes a customer GUID on orders, not a dedicated loyalty customer number.
idN/AN/ANULLNot mappedNo loyalty-customer integer ID is documented in Brink staging.
first_nameN/AN/ANULLNot mappedNo loyalty first name is documented.
last_nameN/AN/ANULLNot mappedNo loyalty last name is documented.
companyN/AN/ANULLNot mappedNo loyalty company field is documented.
points_balanceN/AN/ANULLNot mappedNo loyalty points balance is documented in Brink staging.
program_nameN/AN/ANULLNot mappedNo loyalty program metadata is documented.
member_statusN/AN/ANULLNot mappedNo loyalty membership status is documented.
tier_nameN/AN/ANULLNot mappedNo loyalty tier data is documented.
enrolled_at_utcN/AN/ANULLNot mappedNo loyalty enrollment timestamp is documented.
last_activity_at_utcN/AN/ANULLNot mappedNo loyalty activity timestamp is documented.

Technical and ETL property mappings

Curated ColumnBrink Staging TableBrink Property PathCurrent mappingStatusNotes
loyalty_customer_keyN/AN/ANULLNot mappedWarehouse-generated key.
source_systemN/AN/Aconstant 'brink_pos'Derived constantWarehouse constant, not a Brink API field.
source_loyalty_customer_idstaging.brink_sales2_orderscustomer_idNULLNot mappedBest available customer identifier from Brink staging.
tenant_keyN/AN/ANULLNot mappedWarehouse-generated tenant key.
tenant_nameN/AN/Aparameter @tenant_idETL contextTenant metadata is outside the documented Brink staging payloads.
is_currentN/AN/ANULLNot mappedWarehouse SCD field.
effective_from_utcN/AN/ANULLNot mappedWarehouse SCD field.
effective_to_utcN/AN/ANULLNot mappedWarehouse SCD field.
_etl_batch_idstaging.brink_sales2_orders_etl_batch_id_etl_batch_idMappedETL metadata propagated from staging.
_etl_source_typestaging.brink_sales2_orders_etl_source_type_etl_source_typeMappedETL metadata propagated from staging.
_etl_ingested_atstaging.brink_sales2_orders_etl_ingested_at_utc_etl_ingested_at_utc AS _etl_ingested_atMappedETL metadata propagated from staging.

Portal and sample validation

No additional loyalty-customer source was confirmed in the Brink portal WSDLs or in the available temp responses.