Docs
API 1.39
Status
DSL

Assertions

Checks across the fields of one extract.

KeyTypeDescription
$assertsobject[]Cross-field checks at the schema root. A failing assert warns out_of_range on its left field under that field's policy, or fails the job when policies.strict is on.
$asserts.leftstringThe field path on the left side, such as price or products[].price.
$asserts.op"<" | "<=" | "==" | "!=" | ">=" | ">"The comparison: <, <=, ==, !=, >= or >.
$asserts.rightstring or number or boolean or nullA field path, or a literal string, number, boolean or null.

Was this page helpful?