JSON Import für Testdaten & Funktion zum Löschen aller Daten #33

Merged
flixcoo merged 44 commits from feature/31-json-import-fuer-testdaten into development 2025-11-22 16:47:15 +00:00
Showing only changes of commit 45650133a7 - Show all commits

View File

@@ -1,5 +1,3 @@
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
@@ -20,14 +18,77 @@
"type": "string" "type": "string"
}, },
"players": { "players": {
"type": "object" "type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"createdAt",
"name"
]
}
}, },
"group": { "group": {
"type": "object" "type": [
"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": { "winner": {
"type": "string" "type": "string"
}
}, },
"required": [ "required": [
"id", "id",
@@ -91,7 +152,10 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "object", "type": [
"object",
"null"
],
"properties": { "properties": {
"id": { "id": {
"type": "string" "type": "string"