MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
Showing only changes of commit cecfd5da4e - Show all commits

View File

@@ -2,63 +2,9 @@
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
"properties": { "properties": {
"games": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
},
"players": { "players": {
"type": [
"array",
"null"
],
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"createdAt",
"name"
]
}
},
"group": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
},
"members": {
"type": "array", "type": "array",
"items": [ "items": {
{
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -77,103 +23,77 @@
"name" "name"
] ]
} }
]
}
},
"required": [
"id",
"createdAt",
"name",
"members"
]
},
"winner": {
"type": ["object","null"]
},
"required": [
"id",
"createdAt",
"name"
]
}
]
}, },
"groups": { "groups": {
"type": "array", "type": "array",
"items": [ "items": {
{
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
"type": "string" "type": "string"
}, },
"createdAt": {
"type": "string"
},
"name": { "name": {
"type": "string" "type": "string"
}, },
"members": { "createdAt": {
"type": "string"
},
"memberIds": {
"type": "array", "type": "array",
"items": [ "items": {
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string" "type": "string"
} }
}
}, },
"required": [ "required": [
"id", "id",
"createdAt",
"name"
]
}
]
}
},
"required": [
"id",
"createdAt",
"name", "name",
"members" "createdAt",
"memberIds"
] ]
} }
]
}, },
"players": { "matches": {
"type": "array", "type": "array",
"items": [ "items": {
{ "type": "object",
"type": [
"object",
"null"
],
"properties": { "properties": {
"id": { "id": {
"type": "string" "type": "string"
}, },
"name": {
"type": "string"
},
"createdAt": { "createdAt": {
"type": "string" "type": "string"
}, },
"name": { "groupId": {
"type": "string"
},
"playerIds": {
"type": "array",
"items": {
"type": "string"
}
},
"winnerId": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": [
"id", "id",
"name",
"createdAt", "createdAt",
"name" "groupId",
] "playerIds",
} "winnerId"
] ]
} }
} }
},
"required": [
"players",
"groups",
"matches"
]
} }