Skip to content

Commit c5e6164

Browse files
Apply suggestions from code review
Co-authored-by: forstisabella <[email protected]>
1 parent 5965625 commit c5e6164

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/protocols/enforce/schema-configuration.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,19 @@ To enable blocking, go to the **Settings** tab for your source and click on **Sc
2323
2424
## Order of Priority in Blocking Options
2525

26-
When setting up Schema Configuration, please note the following prioritization of blocking controls:
26+
When setting up Schema Configuration, note that Segment prioritizes blocking controls in the following order:
2727

28-
1. **Standard Schema Controls:** Initially, the system evaluates incoming events against these controls, along with your Tracking Plan. Events, properties, or traits not blocked or omitted in this phase then proceed to the next level of controls:
29-
![image](https://github.com/segmentio/segment-docs/assets/78318468/6610f54e-6a09-4252-88b9-6be414d78065)
28+
1. **Standard Schema Controls**: Segment first evaluates incoming events against these controls and your Tracking Plan. Events, properties, or traits not blocked or omitted in this phase then flow to the next level of controls: the Advanced Blocking Controls/Common JSON Schema.
29+
![A screenshot of the Uplanned Events, Properties and Values table, which contains unplanned events, unplanned properties/traits, and JSON schema violation columns.](../images/standard-schema-controls.png)
3030

31-
2. **Advanced Blocking Controls/Common JSON Schema:** These controls are assessed after the Standard Schema Controls. They act as an essential secondary layer, evaluating incoming events against the Common JSON schema included in your Tracking Plan:
32-
![image](https://github.com/segmentio/segment-docs/assets/78318468/f12f8bd4-03f7-48bd-ab6f-1c7d85b7accf)
31+
2. **Advanced Blocking Controls/Common JSON Schema:** These controls act as a secondary layer, evaluating incoming events against the Common JSON schema included in your Tracking Plan.
32+
![A screenshot of the Advanced Blocking Controls table, which contains two columns: call type and common JSON schema violations.](../images/advanced-blocking-controls.png)
3333

3434
> info "Using only the Common JSON Schema to block events"
35-
> If a tracking plan is empty of events, but has Common JSON Schema rules, you do not need to use the standard schema controls. You would only need to use the Advanced Blocking Controls in your source. If you use the standard schema controls and omit properties or traits that do not exist, the Tracking Plan may not generate violations for the Common JSON Schema, as the entire Tracking Plan has nothing and everything will be considered unplanned.
35+
> info "Using only the Common JSON Schema to block events"
36+
> If your Tracking Plan only has Common JSON Schema rules, you only need to use the Advanced Blocking Controls for your source.
37+
>
38+
> If you use the Standard Schema Controls and omit properties or traits that do not exist, the Tracking Plan might not generate violations for the Common JSON Schema, as the entire Tracking Plan has nothing and everything is considered to be "unplanned".
3639
3740
## Track Calls - Unplanned Events
3841
When you set this dropdown to Block Event, Segment drops any events that are not defined in your Tracking Plan. Only allowlisted `track` calls in your Tracking Plan flow through Segment to your Destinations.

0 commit comments

Comments
 (0)