Updated json schmema

This commit is contained in:
2026-04-21 23:19:46 +02:00
parent d381036849
commit bdb33f1ec8

View File

@@ -147,13 +147,19 @@
"type": "string"
},
"endedAt": {
"type": ["string", "null"]
"type": [
"string",
"null"
]
},
"gameId": {
"type": "string"
},
"groupId": {
"type": ["string", "null"]
"type": [
"string",
"null"
]
},
"playerIds": {
"type": "array",
@@ -163,10 +169,13 @@
},
"scores": {
"type": "object",
"items": {
"type": "array",
"items": {
"type": "string",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "object",
"properties": {
"roundNumber": {
"type": "number"
@@ -177,8 +186,11 @@
"change": {
"type": "number"
}
},
"required": ["roundNumber", "score", "change"],
"additionalProperties": false
}
}
]
}
},
"notes": {