MIT App Inventor and Firebase - Want to nest child data under parent

I am writing a timetable app with user authentication, which my theory is to let Firebase stores Student data, student ID and their subject. The thing is I want the child variable to nest under the parent variable.

The wiped out part is the school name, and the first data is the desired outcome. The second part of data is what MIT APP will generate. I tried lists, lists of lists, dictionaries and it all gave me the format of putting everything into a big bracket. I want the data to nest. How could I achieve that?

This is important for me so thank you for checking this out and helping me.

MIT pic

Use a backslash to set a nested item. e.g.

Timetable/Schools/item1
data1

Timetable/Schools/item2
data2

should return:

- Timetable
    Schools:
        item1: data1
        item2: data2

Thank you! Then what if I want to add data afterwards, say add another user to the schools below:

Original -
Timetable
Schools:
User1:
(various data)

Upon addition of data
Timetable
Schools:
User1:
(various data)
User2:
(various data)

Also, could you or anybody who can explain to me how can I make user1 to only access user1 content? Thank you so much!

To add another user just do the same thing but with their user name / ID.

To give users access to only their data you will need to set up secure rules on firebase:

This recent topic may help you and provide links: