From 7b2314a25e9543fe202e918ae6181d0d4509aecb Mon Sep 17 00:00:00 2001 From: gelbeinhalb Date: Mon, 5 Jan 2026 11:46:26 +0100 Subject: [PATCH] fix null error for winnerId and groupId in match import --- assets/schema.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/schema.json b/assets/schema.json index fa748d9..b3a8a2c 100644 --- a/assets/schema.json +++ b/assets/schema.json @@ -68,7 +68,10 @@ "type": "string" }, "groupId": { - "type": "string" + "anyOf": [ + {"type": "string"}, + {"type": "null"} + ] }, "playerIds": { "type": "array", @@ -77,7 +80,10 @@ } }, "winnerId": { - "type": "string" + "anyOf": [ + {"type": "string"}, + {"type": "null"} + ] } }, "required": [ @@ -85,8 +91,7 @@ "name", "createdAt", "groupId", - "playerIds", - "winnerId" + "playerIds" ] } }