Xema.Validator.validate

You're seeing just the callback validate, go back to Xema.Validator module for more information.

Specs

validate(any()) :: :ok | result()

A callback for custom validators. For an example see: Custom validators