Skip to main content
Keeps an item only when it passes a JSON schema check. A JSON schema is a description of the shape your data should have: which fields are required, what type each one should be, and what values are allowed. Use this to let through only the well-formed records, for example products that have a text SKU and a numeric price, while filtering out the ones that don’t. You can validate the whole item or just one part of it.

Fields

Sample data

This filter answers yes or no for each item, so there is no before and after. The example uses a schema that requires a text sku and a numeric price.
FieldValue
Schemarequires sku (text) and price (number)
Incoming itemResult
{ "sku": "A-100", "price": 19.99 }matches
{ "sku": "B-200" }does not match
The first item is kept because it has both a text SKU and a numeric price. The second is filtered out because it is missing price.