Optional
codeThe code of an issue that would be raised if the refinement fails.
Optional
messageThe custom issue message.
Optional
metaAn arbitrary metadata that is added to an issue.
Optional
paramThe additional param associated with the operation. Usually contains a type-specific data is used in the Operation.callback.
Optional
toleranceThe operation tolerance for issues that are raised during validation.
Optional
typeThe type of the operation such as "string.regex" or "array.includes". If omitted then operation callback is used as its type.
Options of a refinement operation.