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,178 +2,98 @@
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
"properties": { "properties": {
"games": { "players": {
"type": "array", "type": "array",
"items": [ "items": {
{ "type": "object",
"type": "object", "properties": {
"properties": { "id": {
"id": { "type": "string"
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
},
"players": {
"type": [
"array",
"null"
],
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"createdAt",
"name"
]
}
}, },
"group": { "createdAt": {
"type": [ "type": "string"
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
},
"members": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"createdAt",
"name"
]
}
]
}
},
"required": [
"id",
"createdAt",
"name",
"members"
]
}, },
"winner": { "name": {
"type": ["object","null"] "type": "string"
}, }
"required": [ },
"id", "required": [
"createdAt", "id",
"name" "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": {
"type": "string"
},
"members": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"createdAt",
"name"
]
}
]
}
}, },
"required": [ "name": {
"id", "type": "string"
"createdAt", },
"name", "createdAt": {
"members" "type": "string"
] },
} "memberIds": {
] "type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"name",
"createdAt",
"memberIds"
]
}
}, },
"players": { "matches": {
"type": "array", "type": "array",
"items": [ "items": {
{ "type": "object",
"type": [ "properties": {
"object", "id": {
"null" "type": "string"
], },
"properties": { "name": {
"id": { "type": "string"
"type": "string" },
}, "createdAt": {
"createdAt": { "type": "string"
"type": "string" },
}, "groupId": {
"name": { "type": "string"
},
"playerIds": {
"type": "array",
"items": {
"type": "string" "type": "string"
} }
}, },
"required": [ "winnerId": {
"id", "type": "string"
"createdAt", }
"name" },
] "required": [
} "id",
] "name",
"createdAt",
"groupId",
"playerIds",
"winnerId"
]
}
} }
} },
} "required": [
"players",
"groups",
"matches"
]
}