From f6daf6cc2fabca58925b2ce1e0862e8dcaeef06a Mon Sep 17 00:00:00 2001 From: Daniel Verner Date: Mon, 8 Dec 2025 14:24:34 +0100 Subject: [PATCH] Add null case --- specification/schemas/hooks/HookActionRejectReturn.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/schemas/hooks/HookActionRejectReturn.json b/specification/schemas/hooks/HookActionRejectReturn.json index aeb896f4..e425010c 100644 --- a/specification/schemas/hooks/HookActionRejectReturn.json +++ b/specification/schemas/hooks/HookActionRejectReturn.json @@ -14,7 +14,10 @@ "additionalProperties": false, "properties": { "message": { - "type": "string", + "type": [ + "string", + "null" + ], "maxLength": 255, "description": "Message explaining the reason for rejection.", "example": "The items you've selected are not eligible to be returned because..."