protected function checkMinimum($entity, $schema, $entityName)
    {
        if (isset($schema->minimum)) {
            if ($entity < $schema->minimum) {
                throw new ValidationException(sprintf('Invalid value for [%s], minimum is [%s]', $entityName, $schema->minimum));
            }
        }

        return $this;
    }