diff --git a/specification/schemas/hooks/HookActionRejectReturn.json b/specification/schemas/hooks/HookActionRejectReturn.json index aeb896f4..97c73439 100644 --- a/specification/schemas/hooks/HookActionRejectReturn.json +++ b/specification/schemas/hooks/HookActionRejectReturn.json @@ -10,11 +10,10 @@ "values": { "type": "array", "items": { - "type": "object", "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..."