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
Fix schema validation docs: correct schemaRef location and add tabs
- Fix inaccurate statement that schemaRef comes from 'dataflow source'.
It actually comes from the incoming nodeConnection's from.schema setting.
- Add Operations experience, Bicep, and Kubernetes tabs to the
'Validate messages against a schema' section (was missing tabs unlike
all other sections).
- Add code examples showing how to configure validateSchema with
schemaRef on the node connection.
- Add serializationFormat guidance.
- Update ms.date.
Copy file name to clipboardExpand all lines: articles/iot-operations/connect-to-cloud/howto-dataflow-graphs-filter-route.md
+74-2Lines changed: 74 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: sethm
6
6
ms.service: azure-iot-operations
7
7
ms.subservice: azure-data-flows
8
8
ms.topic: how-to
9
-
ms.date: 04/02/2026
9
+
ms.date: 04/16/2026
10
10
ai-usage: ai-assisted
11
11
12
12
---
@@ -182,13 +182,85 @@ For the full list of operators and functions, see [Expressions reference](concep
182
182
183
183
You can configure a filter transform to validate incoming messages against a JSON schema before filter rules run. Messages that don't conform to the schema are dropped immediately.
184
184
185
-
To enable schema validation, set `validateSchema` to `true` in the filter configuration. When enabled, the filter retrieves the schema from the dataflow source's `schemaRef` setting.
185
+
To enable schema validation, set `validateSchema` to `true` in the filter configuration. When enabled, the filter retrieves the schema from the `schemaRef` on the incoming node connection (the `from` side of the `nodeConnections` entry that feeds into the filter node).
186
+
187
+
# [Operations experience](#tab/portal)
188
+
189
+
In the filter transform configuration, enable the **Validate schema** option. The schema is pulled from the schema reference configured on the connection feeding into this filter node.
190
+
191
+
# [Bicep](#tab/bicep)
192
+
193
+
Include `validateSchema` in the filter rules JSON and configure `schemaRef` on the incoming node connection:
0 commit comments