Skip to content

Commit 1705603

Browse files
Update README.md
1 parent 1183f49 commit 1705603

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,27 @@ USF data is structured as a compact array:
9696
Example JSON representation:
9797
```json
9898
{
99-
"subjects": [
100-
{
101-
"name": "Mathematics",
102-
"teacher": "Dr. Smith",
103-
"location": "Room 101",
104-
"time": [[1, 2]],
105-
"week": "all"
106-
}
107-
]
99+
"version": 1,
100+
"subjects": {
101+
"Mathematics": {
102+
"simplified_name": "Math",
103+
"teacher": "Dr. Smith",
104+
"room": "Room 101"
105+
},
106+
"Physics": {
107+
"simplified_name": "Phys",
108+
"teacher": "Prof. Johnson",
109+
"room": "Room 203"
110+
}
111+
},
112+
"periods": [
113+
["08:00:00", "09:30:00"],
114+
["10:00:00", "11:30:00"]
115+
],
116+
"timetable": [
117+
[1, "all", "Mathematics", 1],
118+
[2, "odd", "Physics", 2]
119+
]
108120
}
109121
```
110122

0 commit comments

Comments
 (0)