...
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
...
RECORD
...
REPEATED
...
connections to products
...
products. type
...
STRING
...
NULLABLE
...
products. name
...
STRING
...
NULLABLE
...
products. product_line
...
STRING
...
NULLABLE
...
products. product_group
...
STRING
...
NULLABLE
...
products. sku
...
STRING
...
NULLABLE
...
products. value
...
NUMERIC
...
NULLABLE
...
products. creation
...
DATETIME
...
NULLABLE
...
products. last_update
...
DATETIME
...
NULLABLE
...
contents
...
RECORD
...
REPEATED
...
relations to other contents
...
contents. type
...
STRING
...
NULLABLE
...
contents. name
...
STRING
...
NULLABLE
...
contents. content_type
...
STRING
...
NULLABLE
...
contents. content_id
...
STRING
...
NULLABLE
...
contents. value
...
NUMERIC
...
NULLABLE
...
contents. creation
...
DATETIME
...
NULLABLE
...
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.
Expand | |||||
---|---|---|---|---|---|
| |||||
Here is the example for the first case above (make sure to format it in JSONL before loading to BigQuery: Newline delimited JSON : https://en.wikipedia.org/wiki/JSON_streaming).
|
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 | |||||||||||||||||||
customers | RECORD | REPEATED | relations to other customers | ||||||||||||||||||
customers. typethe last update date time of the user selection | |||||||||||||||||||||
persona_type | STRING | NULLABLE | the persona type who created this user selection | ||||||||||||||||||
persona_id | STRING | NULLABLE | customers. name | STRING | NULLABLE | customers. persona_id | STRING | NULLABLE | customers. customer_id | STRING | NULLABLE | customers. value | NUMERIC | NULLABLE | customers. creation | DATETIME | NULLABLE | customers. last_update | DATETIME | 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 | REQUIRED | the ucg value (weighting) (e.g.: 0.0 - 5.0 for stars) | ||||||||||||||||||
stores | STRING | REPEATED | the stores | ||||||||||||||||||
title | RECORDLOCALIZED | REPEATED | the title of the user selection | title. language_code | STRING | REQUIRED | title. value | STRING | REQUIRED | short_description | RECORD | REPEATED | attribute value | ||||||||
short_description | REPEATED | the short description of the product group | |||||||||||||||||||
short_description. language_code | STRINGLOCALIZED | REQUIREDREPEATED | short_description. the description of the attribute value | ||||||||||||||||||
STRINGimages | REQUIREDLIST | description | RECORD | REPEATED | the description images of the user selection | description. language_code | STRING | REQUIRED | description. value | STRING | REQUIRED | ||||||||||
images | RECORD | REPEATED | the images of the user selection | images. name | STRING | REQUIRED | images. path | RECORD | REPEATED | images.path. language_code | STRING | REQUIRED | images.path. value | STRING | REQUIRED | ||||||
link | RECORD | REPEATED | the link of the user selection | ||||||||||||||||||
link. language_code | STRING | REQUIRED | link. value | STRING | REQUIRED | tags | RECORD | REPEATED | the tags of the product line, 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', 'tagdelivery', 'hello world24h', [STRUCT('de', 'hello world24-H Versand')])] | tags. type | STRING | REQUIRED | tags. value | STRING | REQUIRED | tags. loc_values | RECORD | REPEATED | tags.loc_values. language_code | STRING | REQUIRED | tags.loc_values. value | STRING | REQUIRED | ||||
labels | RECORD | REPEATED | the labels of the user selection, e.g.: [STRUCT('symbol', 'helpful', 'very', [STRUCT('de', 'sehr hilfreich')])] | labels. type | STRING | REQUIRED | labels. name | STRING | REQUIRED | labels. value | STRING | REQUIRED | labels. loc_values | RECORD | REPEATED | labels.loc_values. language_code | STRING | REQUIRED | labels.loc_values. value | STRING | REQUIRED |
status | BOOLEAN | NULLABLE | the ucg status | ||||||||||||||||||
periods | RECORD | REPEATED | information about the activity periods of the user selection | periods. start_datetime | RECORD | REPEATED | periods.start_datetime. language_code | STRING | REQUIRED | periods.start_datetime. value | DATETIME | REQUIRED | periods. end_datetime | RECORD | REPEATED | periods.end_datetime. language_code | STRING | REQUIRED | periods.end_datetime. value | DATETIME | REQUIRED |
string_attributes | RECORD | REPEATED | additional string (not localized) attributes of the user selection | string_attributes. type | STRING | NULLABLE | string_attributes. name | STRING | REQUIRED | string_attributes. values | STRING | REPEATED | |||||||||
localized_string_attributes | RECORD | REPEATED | additional localized string attributes of the user selection | localized_string_attributes. type | STRING | NULLABLE | localized_string_attributes. name | STRING | REQUIRED | localized_string_attributes. values | RECORD | REPEATED | localized_string_attributes.values. language_code | STRING | REQUIRED | localized_string_attributes.values. value | STRING | REQUIRED | |||
numeric_attributes | RECORD | REPEATED | additional numeric (not localized) attributes of the user selection | numeric_attributes. type | STRING | NULLABLE | numeric_attributes. name | STRING | REQUIRED | numeric_attributes. values | NUMERIC | REPEATED | |||||||||
localized_numeric_attributes | RECORD | REPEATED | additional localized numeric attributes of the user selection | localized_numeric_attributes. type | STRING | NULLABLE | localized_numeric_attributes. name | STRING | REQUIRED | localized_numeric_attributes. values | RECORD | REPEATED | localized_numeric_attributes.values. language_code | STRING | REQUIRED | localized_numeric_attributes.values. value | NUMERIC | REQUIRED | |||
datetime_attributes | RECORD | REPEATED | additional datetime (not localized) attributes of the user selection | datetime_attributes. type | STRING | NULLABLE | datetime_attributes. name | STRING | REQUIRED | datetime_attributes. values | DATETIME | REPEATED | |||||||||
localized_datetime_attributes | RECORD | REPEATED | additional localized datetime attributes of the user selection | localized_datetime_attributes. type | STRING | NULLABLE | localized_datetime_attributes. name | STRING | REQUIRED | localized_datetime_attributes. values | RECORD | REPEATED | localized_datetime_attributes.values. language_code | STRING | REQUIRED | localized_datetime_attributes.values. value | DATETIME | REQUIRED | |||
creation_tm | DATETIME | REQUIRED | technical field | ||||||||||||||||||
client_id | INTEGER | REQUIRED | technical field | ||||||||||||||||||
src_sys_id | INTEGER | REQUIRED | technical fieldstatus | 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 |
Table structure
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|