public function validatePosition(?int $position, ?string $propertyPath = null, bool $isRequired = false): void
    {
        if (!$isRequired && $position === null) {
            return;
        }

        $constraints = [
            new Constraints\NotBlank(),
            new Constraints\GreaterThanOrEqual(0),
        ];

        $this->validate($position, $constraints, $propertyPath);
    }