doc_content
Content: Headless content
All type of content (headless)
Overview
In this Data Type, you can define all the data about any type of headless content (blog, magazin, etc.)
Example
In this example, we provide a simple attribute definition.
Properties
Field name | Type | Mode | Description |
---|---|---|---|
id | STRING | REQUIRED | the unique id of the content |
type | STRING | REQUIRED | the type of content: 'blog', 'magazin', 'page', ... |
creation | DATETIME | NULLABLE | the creation date time of the content |
last_update | DATETIME | NULLABLE | the last update date time of the content |
persona_type | STRING | NULLABLE | the persona type who created this content |
persona_id | STRING | NULLABLE | the persona who created this content |
parent_content_ids | STRING | REPEATED | the parent contents related to this content (e.g.: rating of themost helpful customer review / comments) |
products | REPEATED | connections to products | |
contents | REPEATED | relations to other contents | |
customers | REPEATED | relations to other customers | |
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 content 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_content.json
BigQuery DDL
https://github.com/boxalino/data-integration-doc-schema/blob/master/ddl/doc_content.sql