Konsistenzfehler im JSON Vermeiden #125

Merged
flixcoo merged 12 commits from enhancement/70-konsistenzfehler-im-json-vermeiden into development 2026-01-07 11:27:44 +00:00
Showing only changes of commit 7b2314a25e - Show all commits

View File

@@ -68,7 +68,10 @@
"type": "string" "type": "string"
}, },
"groupId": { "groupId": {
"type": "string" "anyOf": [
{"type": "string"},
{"type": "null"}
]
}, },
"playerIds": { "playerIds": {
"type": "array", "type": "array",
@@ -77,7 +80,10 @@
} }
}, },
"winnerId": { "winnerId": {
"type": "string" "anyOf": [
{"type": "string"},
{"type": "null"}
]
} }
}, },
"required": [ "required": [
@@ -85,8 +91,7 @@
"name", "name",
"createdAt", "createdAt",
"groupId", "groupId",
"playerIds", "playerIds"
"winnerId"
] ]
} }
} }