Updated json schmema
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user