setIncludeConstraints

public final void setIncludeConstraints(boolean value)

Also generate cross-field constraint rules encoding the logical relationships of the document type (for example, a subtotal equaling the sum of line item amounts), as standard JsonLogic expressions (jsonlogic.com). The result is always an envelope object with a schema property (the JSON Schema) and a constraints array; this knob only controls whether constraints are generated — when false (default), the array is empty. Rules referencing fields that don't exist in the generated schema are dropped, so the constraints always validate against the schema they ship with.

Parameters

value

The value to set for the IncludeConstraints property.