doc_user_selection
Content: User Selections (wish-list, baskets, …)
Selection customers have made of products or other entities (all types, including pinning and thumbs up/down, …)
Overview
In this Data Type, you can define all the data about the user-selections (typically of products in a wishlist or a basket).
Example
In this example, we provide a simple attribute definition.
Properties
Field name | Type | Mode | Description |
---|---|---|---|
id | STRING | REQUIRED | the unique id of the user selection |
type | STRING | REQUIRED | the type of user selection: 'basket', 'wishlist', 'compare', 'favorite', ... |
creation | DATETIME | NULLABLE | the creation date time of the user selection |
last_update | DATETIME | NULLABLE | the last update date time of the user selection |
persona_type | STRING | NULLABLE | the persona type who created this user selection |
persona_id | STRING | NULLABLE | the persona who created this user selection |
products | REPEATED | connections to products | |
contents | REPEATED | relations to other contents | |
customers | REPEATED | relations to other customers | |
value | NUMERIC | NULLABLE | the ucg value (weighting) (e.g.: 0.0 - 5.0 for stars) |
stores | STRING | REPEATED | the stores |
title | REPEATED | the title of the attribute value | |
short_description | REPEATED | the short description of the product group | |
description | REPEATED | the description of the attribute value | |
images | REPEATED | the images of the attribute value | |
link | REPEATED | the link of the attribute value | |
tags | REPEATED | the tags , e.g.: [STRUCT('tag', 'hello world', [STRUCT('de', 'hello world')])] | |
labels | REPEATED | the labels of the product line, e.g.: [STRUCT('symbol', 'delivery', '24h', [STRUCT('de', '24-H Versand')])] | |
status | BOOLEAN | NULLABLE | the ucg status |
periods | REPEATED | information about the activity periods of the ugc | |
string_attributes | REPEATED | additional string (not localized) attributes of the product line | |
localized_string_attributes | REPEATED | additional localized string attributes | |
numeric_attributes | REPEATED | additional numeric (not localized) attributes | |
localized_numeric_attributes | REPEATED | additional localized numeric attributes | |
datetime_attributes | REPEATED | additional datetime (not localized) attributes | |
localized_datetime_attributes | REPEATED | additional localized datetime attributes | |
creation_tm | DATETIME | REQUIRED | technical field |
client_id | INTEGER | REQUIRED | technical field |
src_sys_id | INTEGER | REQUIRED | technical field |
Resources
BigQuery JSON Schema
https://github.com/boxalino/data-integration-doc-schema/blob/master/doc/doc_user_selection.json
BigQuery DDL
https://github.com/boxalino/data-integration-doc-schema/blob/master/ddl/doc_user_selection.sql