Optional
codeA code of the validation issue, which uniquely identifies the reason of an issue.
For all built-in shape operations, a code can be used to infer the type of the Issue.param.
Optional
inputThe input value that caused a validation issue. Note that if coercion or alteration were applied then this contains a transformed value.
Optional
messageThe human-readable issue message.
Messages produced by built-in operations are strings but custom messages can have an arbitrary type.
Optional
metaThe optional metadata associated with the issue.
Optional
paramThe parameter value associated with the issue.
Optional
pathAn object path to Issue.input value starting from the parsed object. Both an empty array and undefined
mean that an issue is caused by the Issue.input value itself.
A validation issue raised during input parsing.