boolean Model
Modelsboolean
boolean Model
Defines a model to enforce validation for boolean data.
model: booleanConfiguration (* required)
model: boolean
const
Specifies the model is a boolean.
validate
enum[strict,lenient] asstring, orobject| Default:strict
Controls how strictly the model enforces conformance. strict rejects data that doesn't conform; lenient passes non-conforming data through unmodified. Can also be set independently for decode and encode.
validate:
decode: lenient
encode: strictvalidate.decode
enum[strict,lenient]
Validation mode applied when decoding the value.
validate.encode
enum[strict,lenient]
Validation mode applied when encoding the value.

