title: Creating Nested Object Firebase structure
body: <p>I'm using Firebase as my database for my Android project. In this project, I have users with minimal data associated with them.</p>
  
  <pre><code>    users{
        1234-567-897:{
            Display:"Name",
            Email:"foo@bar.ca"
        },
      ...
  </code></pre>
  
  <p>I made this structure with a basic object User with two local string variables.</p>
  
  <p>My issue is that I now need to add a schedule to each user, which consists of a list of Events, each event with it's own information(Start time, End time, etc.)</p>
  
  <p>I understand that my structure would probably look something like this:</p>
  
  <pre><code>users{
    1234-567-897:{
        Display:"Name",
        Email:"foo@bar.ca",
        Schedule:{
            event1:{
                 name:"Meeting",
                 startTime:1,
                 endTime:2
            },
            event2:{...}
        },
        Sschedule2:{...}
    },
  </code></pre>
  
  <p>But I have no idea how to go about creating this type of structure with Firebase. I was initially going to use an ArrayList to hold the objects of Schedules and Events but after reading the Firebase documentation, it looks like they don't support ArrayList storing. An alternative to this that I was considering was to create a separate table of schedules and reference them with uids.</p>
  
  <p>Appreciate any advise regarding creating this structure, thanks!</p>