Rework schedule a bit to make it more maintainable & easier to code

This commit is contained in:
Stijn De Clercq 2021-08-06 23:47:50 +02:00
parent 54d31c943a
commit 1857bdefe9
4 changed files with 161 additions and 94 deletions

View file

@ -10,123 +10,128 @@
"schedule": [
{
"course": "Computerarchitectuur",
"zoom": "https://ufora.ugent.be/d2l/ext/rp/228912/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826",
"msteams": "https://teams.microsoft.com/l/team/19%3ad7295f0bc4634a61b461504d4a7134b3%40thread.tacv2/conversations?groupId=8755cb96-1ef5-4ea3-b806-eeebf8a85ae8&tenantId=d7811cde-ecef-496c-8f91-a1786241b99c",
"online_links": {
"zoom": "https://ufora.ugent.be/d2l/ext/rp/228912/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826",
"msteams": "https://teams.microsoft.com/l/team/19%3ad7295f0bc4634a61b461504d4a7134b3%40thread.tacv2/conversations?groupId=8755cb96-1ef5-4ea3-b806-eeebf8a85ae8&tenantId=d7811cde-ecef-496c-8f91-a1786241b99c"
},
"slots": [
]
},
{
"course": "Multimedia",
"zoom": "https://ugent-be.zoom.us/j/94248831947?pwd=ZCt4UnBLSzViZnFEQmkzWE5SYnF2QT09",
"online_links": {
"zoom": "https://ugent-be.zoom.us/j/94248831947?pwd=ZCt4UnBLSzViZnFEQmkzWE5SYnF2QT09"
},
"slots": [
{
"campus": "Sterre",
"building": "S9",
"room": "A3",
"time": [
"woensdag",
1130,
1330
]
"location": {
"campus": "Sterre",
"building": "S9",
"room": "A3"
},
"time": {
"day": "woensdag",
"start": 1130,
"end": 1330
}
},
{
"online": "ZOOM",
"time": [
"vrijdag",
1300,
1530
]
"time": {
"day": "vrijdag",
"start": 1300,
"end": 1530
}
}
]
},
{
"course": "Wetenschappelijk Rekenen",
"zoom": "https://ufora.ugent.be/d2l/ext/rp/236404/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826",
"online_links": {
"zoom": "https://ufora.ugent.be/d2l/ext/rp/236404/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826"
},
"slots": [
{
"online": "ZOOM",
"time": [
"dinsdag",
1130,
1300
]
"time": {
"day": "dinsdag",
"start": 1130,
"end": 1300
}
},
{
"online": "ZOOM",
"time": [
"woensdag",
1500,
1800
]
"time": {
"day": "woensdag",
"start": 1500,
"end": 1800
}
},
{
"online": "ZOOM",
"time": [
"donderdag",
830,
1000
]
"time": {
"day": "donderdag",
"start": 830,
"end": 1000
}
}
]
},
{
"course": "Software Engineering Lab 1",
"zoom": "https://ufora.ugent.be/d2l/ext/rp/235800/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826",
"msteams": "https://teams.microsoft.com/l/team/19%3a4dfd5b2fb1ae4aa9b72706aa3a0d6867%40thread.tacv2/conversations?groupId=256d5c58-5d53-43f5-9436-497b0c852c75&tenantId=d7811cde-ecef-496c-8f91-a1786241b99c",
"online_links": {
"zoom": "https://ufora.ugent.be/d2l/ext/rp/235800/lti/framedlaunch/556e197e-e87b-4c27-be5d-53adc7a41826",
"msteams": "https://teams.microsoft.com/l/team/19%3a4dfd5b2fb1ae4aa9b72706aa3a0d6867%40thread.tacv2/conversations?groupId=256d5c58-5d53-43f5-9436-497b0c852c75&tenantId=d7811cde-ecef-496c-8f91-a1786241b99c"
},
"slots": [
{
"online": "MS Teams",
"time": [
"dinsdag",
1430,
1700
]
"time": {
"day": "dinsdag",
"start": 1430,
"end": 1700
}
},
{
"online": "MS Teams",
"time": [
"vrijdag",
830,
1130
]
"time": {
"day": "vrijdag",
"start": 830,
"end": 1130
}
}
]
},
{
"course": "Webdevelopment",
"zoom": "https://ugent-be.zoom.us/j/93166767783?pwd=MWdvb1BnNnlPSnAyNk52QmRzdjcwdz09",
"online_links": {
"zoom": "https://ugent-be.zoom.us/j/93166767783?pwd=MWdvb1BnNnlPSnAyNk52QmRzdjcwdz09"
},
"slots": [
{
"campus": "Sterre",
"building": "S9",
"room": "A3",
"time": [
"woensdag",
900,
1100
]
},
{
"weeks": [
1
],
"canceled": true,
"campus": "Sterre",
"building": "S9",
"room": "A3",
"time": [
"woensdag",
900,
1100
]
"weeks": {
"1": {
"canceled": true
}
},
"location": {
"campus": "Sterre",
"building": "S9",
"room": "A3"
},
"time": {
"day": "woensdag",
"start": 900,
"end": 1100
}
},
{
"online": "ZOOM",
"time": [
"donderdag",
1000,
1300
]
"time": {
"day": "donderdag",
"start": 1000,
"end": 1300
}
}
]
}