-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XP-2229] update docs for data structures builder (#713)
* Update data structures with builder details --------- Co-authored-by: Nick <[email protected]>
- Loading branch information
1 parent
206d83f
commit 7f0fc80
Showing
29 changed files
with
168 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Snowplow uses self-describing JSON schemas to structure events and entities so that they can be validated in the pipeline and loaded into tidy tables in the warehouse. You can learn more about these data structures [here](/docs/understanding-your-pipeline/schemas/index.md), and about why we take this approach [here](https://snowplowanalytics.com/blog/2020/01/24/re-thinking-the-structure-of-event-data/). | ||
|
||
Snowplow BDP expands its capabilities beyond the pre-designed custom events and entities required for the recipes in Try Snowplow. The platform introduces the [Data Structures UI](/docs/understanding-tracking-design/managing-your-data-structures/ui/index.md), featuring the [Data Structures Builder](/docs/understanding-tracking-design/managing-your-data-structures/ui/builder/index.md). This Builder streamlines the creation process of events and entities with a user-friendly, guided setup and automated versioning. | ||
|
||
For Enterprise customers requiring more control and customization, particularly for intricate data structures, a JSON editor is also available. This editor allows for precise and tailored data structure definitions, ensuring adaptability to complex tracking needs. As well as managing data structures through the Snowplow BDP Console, Enterprise customers can also manage them programmatically through the [Data structures API](docs/understanding-tracking-design/managing-your-data-structures/api/index.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
docs/understanding-tracking-design/managing-your-data-structures/builder/index.md
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+66.2 KB
...sign/managing-your-data-structures/ui/builder/images/data-structure-version.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+73.6 KB
...-design/managing-your-data-structures/ui/builder/images/edit-data-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
...understanding-tracking-design/managing-your-data-structures/ui/builder/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: "Managing data structures with the Data Structures Builder" | ||
description: "The Data Structures Builder is ideal for quickly creating an event or entity with our guided setup and automated versioning." | ||
sidebar_label: "Using the Data Structures Builder" | ||
sidebar_position: 1 | ||
--- | ||
|
||
:::info Supported properties | ||
The builder only supports the following types: | ||
|
||
- string | ||
- enumerated list | ||
- integer | ||
- decimal | ||
- boolean | ||
|
||
For more complex data structures that require heavy nesting and more advanced data types, use the [JSON Editor](../json-editor/index.md). | ||
::: | ||
|
||
*** | ||
|
||
## Creating a new data structure | ||
|
||
Populate the general information, such as Name, and a Description and Vendor. Vendor allows you to organize your data structures, for example, by teams. Snowplow will automatically generate the Tracking Url to be referenced in your tracking code. | ||
|
||
![](images/data-structures-1.png) | ||
|
||
When creating a new [Data Structure](/docs/understanding-your-pipeline/schemas/index.md), you can add one or multiple properties. For each property, you can set a name, description, its type and a possible enumeration of allowed values (for type `string`). You can also set additional constraints to define if this property should be optional or mandatory, and if `null` values are allowed. | ||
|
||
![](images/data-structures-2.png) | ||
|
||
Click “Save” on the Property dialog box and this will save your property changes. | ||
|
||
Clicking “Save” on the Data Structure page will publish your Data Structure to your Iglu Server. | ||
|
||
|
||
## Editing a data structure | ||
|
||
On the edit page, under the General Information panel, you can update the data structure type or its description. To add a new property, cick the "Add Property" button. To edit or delete an existing property, click the three dots next to the property name to open the action menu, and then select the appropriate option. | ||
|
||
![](images/edit-data-structure.png) | ||
|
||
When you modify the data structure, the builder will mark your changes in yellow and automatically determine the new version of your data structure based on these modifications. You can reset the data structure and erase all changes at any moment by clicking the “Clear Changes” button found in the alert beneath the properties. | ||
|
||
If you are satisfied with your changes, click "Save" and make sure to note the newly updated tracking URL. | ||
|
||
![](images/data-structure-version.png) | ||
|
||
|
Binary file added
BIN
+133 KB
...ing-tracking-design/managing-your-data-structures/ui/images/builder-or-json.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+83 KB
...ng-tracking-design/managing-your-data-structures/ui/images/disabled-builder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7.51 KB
(110%)
...derstanding-tracking-design/managing-your-data-structures/ui/images/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-136 KB
...derstanding-tracking-design/managing-your-data-structures/ui/images/image-2.png
Binary file not shown.
Binary file removed
BIN
-186 KB
...derstanding-tracking-design/managing-your-data-structures/ui/images/image-3.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+76.1 KB
...tracking-design/managing-your-data-structures/ui/json-editor/images/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+82.5 KB
...ng-design/managing-your-data-structures/ui/json-editor/images/json-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.