protected function checkExclusiveMaximum($entity, $schema, $entityName)
    {
        if (isset($schema->maximum) && isset($schema->exclusiveMaximum) && $schema->exclusiveMaximum) {
            if ($entity == $schema->maximum) {
                throw new ValidationException(sprintf('Invalid value for [%s], must be less than [%s]', $entityName, $schema->maximum));
            }
        }

        return $this;
    }