You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/protocols/enforce/schema-configuration.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,19 @@ To enable blocking, go to the **Settings** tab for your source and click on **Sc
23
23
24
24
## Order of Priority in Blocking Options
25
25
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:
27
27
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:
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
+

30
30
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:
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
+

33
33
34
34
> 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".
36
39
37
40
## Track Calls - Unplanned Events
38
41
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