From 03b4ed727a40faedcfdb0ec03c7a3ee1ab0e1da5 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Thu, 14 Mar 2024 14:59:19 -0600 Subject: [PATCH] Correct data types for positional parameters on qr_code --- shared/models/qr_code.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shared/models/qr_code.yml b/shared/models/qr_code.yml index ccbe47e5..a049ac97 100644 --- a/shared/models/qr_code.yml +++ b/shared/models/qr_code.yml @@ -13,19 +13,19 @@ properties: description: Sets how a QR code is being positioned in the document. Together with this, you should provide one of 'top' or 'bottom', and one of 'left' or 'right'. top: - type: string + type: number description: Vertical distance (in inches) to place QR code from the top. Only allowed if "bottom" isn't provided. right: - type: string + type: number description: Horizontal distance (in inches) to place QR code from the right. Only allowed if "left" isn't provided. left: - type: string + type: number description: Horizontal distance (in inches) to place QR code from the left. Only allowed if "right" isn't provided. bottom: - type: string + type: number description: Vertical distance (in inches) to place QR code from the bottom. Only allowed if "top" isn't provided. redirect_url: @@ -33,7 +33,7 @@ properties: description: The url to redirect the user when a QR code is scanned. The url must start with `https://` width: - type: string + type: number description: The size (in inches) of the QR code with a minimum of 1 inch. All QR codes are generated as a square. pages: