Online Retail demo contract (orders by Instacart)

Used in analytics
for e-commerce online retail

This simple data contract shows how the privacy implications of a basic order event would be modelled in a STRM contract. We apply a validation to the user_id field (by regex: should match a UUID).

Event Contract reference

strm-demo/ecommerce-orders-instacart-contract/1.0.0

Schema reference

strm-demo/ecommerce-orders-instacart/1.0.0

Event contract overview

TypeFieldValueDescription
Key fielduser_idLinks events to the associated field for privacy processing.
PII fieldsession_id1needs consent
PII fielduser_id2needs consent
Validationuser_idregex\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b

Serialization schema fields

FieldDescription
session_id.
order_id.
user_id.
product_id.