hey! We use cookies only to ensure our site works.

STRM privacy demo schema

Used in recommendations personalization (web) analytics e-commerce mobile apps product analytics
for all verticals

The STRM Privacy Demo schema is an example schema used to illustrate and visualize the key concepts in developing schemas. Like every strm data schema it has two main components, the event contract and the serialization schema.

Event Contract reference

streammachine/example/1.3.0

Schema reference

streammachine/demo/1.0.2

Event contract overview

TypeFieldValueDescription
Key fieldconsistentValueLinks events to the associated field for privacy processing.
PII fieldconsistentValue2e.g. session ID needs consent 2
PII fielduniqueIdentifier1e.g. customer ID needs consent 1
PII fieldsomeSensitiveValue3e.g. date of birth needs consent 3
ValidationsconsistentValueregexField should contain at least one character

Serialization schema fields

FieldDescription
uniqueIdentifierany value. For illustration purposes: use a value that is consistent over time like a customer or device ID.
consistentValueany value. For illustration purposes: use a value that is consistent over a limited period like a session.
someSensitiveValueany value. For illustration purposes: use a value that could identify a user over time based on behavior, like browsing behavior (e.g. urls).
notSensitiveValueany value. For illustration purposes: use a value that is not sensitive at all, like the rank of an item in a set.