From b9d1038a79ff600807967f75a93af28c33386b30 Mon Sep 17 00:00:00 2001 From: wkania Date: Thu, 9 Oct 2025 20:24:22 +0200 Subject: [PATCH] [Validator] Image Constraint - minPixels and maxPixels should be float --- reference/constraints/Image.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/constraints/Image.rst b/reference/constraints/Image.rst index 042c6041423..ad2f46dc660 100644 --- a/reference/constraints/Image.rst +++ b/reference/constraints/Image.rst @@ -341,7 +341,7 @@ Parameter Description ``maxPixels`` ~~~~~~~~~~~~~ -**type**: ``integer`` +**type**: ``integer`` | ``float`` If set, the amount of pixels of the image file must be less than or equal to this value. @@ -368,7 +368,7 @@ Parameter Description ``maxRatio`` ~~~~~~~~~~~~ -**type**: ``float`` +**type**: ``integer`` | ``float`` If set, the aspect ratio (``width / height``) of the image file must be less than or equal to this value. @@ -465,7 +465,7 @@ Parameter Description ``minPixels`` ~~~~~~~~~~~~~ -**type**: ``integer`` +**type**: ``integer`` | ``float`` If set, the amount of pixels of the image file must be greater than or equal to this value. @@ -492,7 +492,7 @@ Parameter Description ``minRatio`` ~~~~~~~~~~~~ -**type**: ``float`` +**type**: ``integer`` | ``float`` If set, the aspect ratio (``width / height``) of the image file must be greater than or equal to this value.