diff --git a/data/example.json b/data/example.json index 5ea2f80..ecad298 100644 --- a/data/example.json +++ b/data/example.json @@ -22,12 +22,16 @@ "calendars": [ { "id": 1, - "name": "house", + "name": "LV Lampukistan", "access": { - "default_level": "none", + "default_level": "view", "attributed": [ { "user_id": 1, + "level": "admin" + }, + { + "user_id": 2, "level": "edit" } ] @@ -37,48 +41,48 @@ "data": { "events": [ { - "name": "clean floors", + "name": "Aufstand: Mieten", "begin": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 21}, - "time": {"hour": 10, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 10, "day": 14}, + "time": {"hour": 12, "minute": 0, "second": 0} }, "end": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 21}, - "time": {"hour": 11, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 10, "day": 14}, + "time": {"hour": 15, "minute": 0, "second": 0} }, - "location": "1st floor", + "location": "Porada Ninfu, Haupt-Markt", "description": null }, { - "name": "clean bathroom", + "name": "Aufstand: Waffen", "begin": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 28}, - "time": {"hour": 10, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 10, "day": 21}, + "time": {"hour": 12, "minute": 0, "second": 0} }, "end": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 28}, - "time": {"hour": 11, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 10, "day": 21}, + "time": {"hour": 15, "minute": 0, "second": 0} }, - "location": "1st floor", + "location": "Tandreell, Stoiber-Platz", "description": null }, { - "name": "clean kitchen", + "name": "Aufstand: Essen", "begin": { "timezone_shift": 2, - "date": {"year": 2024, "month": 10, "day": 5}, - "time": {"hour": 10, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 11, "day": 28}, + "time": {"hour": 12, "minute": 0, "second": 0} }, "end": { "timezone_shift": 2, - "date": {"year": 2024, "month": 10, "day": 5}, - "time": {"hour": 11, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 11, "day": 28}, + "time": {"hour": 15, "minute": 0, "second": 0} }, - "location": "1st floor", + "location": "Kawanda, Nord-Bahnhof", "description": null } ] @@ -87,71 +91,13 @@ }, { "id": 2, - "name": "turf", + "name": "KV Zepettel-Region", "access": { - "default_level": "none", + "default_level": "view", "attributed": [ - { - "user_id": 1, - "level": "view" - }, { "user_id": 2, - "level": "edit" - } - ] - }, - "resource": { - "kind": "local", - "data": { - "events": [ - { - "name": "garden party", - "begin": { - "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 20}, - "time": {"hour": 18, "minute": 0, "second": 0} - }, - "end": { - "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 20}, - "time": {"hour": 23, "minute": 0, "second": 0} - }, - "location": "bob's garden", - "description": null - }, - { - "name": "build bird's retreat", - "begin": { - "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 25}, - "time": {"hour": 18, "minute": 0, "second": 0} - }, - "end": { - "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 25}, - "time": {"hour": 23, "minute": 0, "second": 0} - }, - "location": "dorothy's garage", - "description": null - } - ] - } - } - }, - { - "id": 3, - "name": "town", - "access": { - "default_level": "none", - "attributed": [ - { - "user_id": 1, - "level": "view" - }, - { - "user_id": 2, - "level": "view" + "level": "admin" }, { "user_id": 3, @@ -164,18 +110,107 @@ "data": { "events": [ { - "name": "ting", + "name": "Feier: Bier", "begin": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 23}, - "time": {"hour": 16, "minute": 0, "second": 0} + "date": {"year": 2024, "month": 10, "day": 18}, + "time": {"hour": 18, "minute": 0, "second": 0} }, "end": { "timezone_shift": 2, - "date": {"year": 2024, "month": 9, "day": 23}, + "date": {"year": 2024, "month": 10, "day": 18}, + "time": {"hour": 23, "minute": 0, "second": 0} + }, + "location": "Rudschadinedschad, Schlamm-Park", + "description": null + }, + { + "name": "Feier: Schnapps", + "begin": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 11, "day": 1}, "time": {"hour": 18, "minute": 0, "second": 0} }, - "location": "market square", + "end": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 11, "day": 1}, + "time": {"hour": 23, "minute": 0, "second": 0} + }, + "location": "Kawanda, Ratten-Platz", + "description": null + } + ] + } + } + }, + { + "id": 3, + "name": "OV Kawanda", + "access": { + "default_level": "view", + "attributed": [ + { + "user_id": 3, + "level": "admin" + } + ] + }, + "resource": { + "kind": "local", + "data": { + "events": [ + { + "name": "Aufräumen: Flaschen", + "begin": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 10, "day": 24}, + "time": {"hour": 15, "minute": 0, "second": 0} + }, + "end": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 10, "day": 24}, + "time": {"hour": 17, "minute": 0, "second": 0} + }, + "location": "Kawanda, Penner-Allee", + "description": null + } + ] + } + } + }, + { + "id": 4, + "name": "KV Zepettel-Region | intern", + "access": { + "default_level": "none", + "attributed": [ + { + "user_id": 2, + "level": "admin" + }, + { + "user_id": 3, + "level": "view" + } + ] + }, + "resource": { + "kind": "local", + "data": { + "events": [ + { + "name": "Infostand", + "begin": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 10, "day": 16}, + "time": {"hour": 10, "minute": 0, "second": 0} + }, + "end": { + "timezone_shift": 2, + "date": {"year": 2024, "month": 10, "day": 16}, + "time": {"hour": 14, "minute": 0, "second": 0} + }, + "location": "Rudschadinedschad, Schabracken-Markt", "description": null } ]