I am using Firebase realtime database and was trying to store a list of "Animales" for a user.
Database structure:

What I want to achieve is that for example: for the user with "Uuid" 11111 a list with the animals that he is publishing appears. I mean:
Fireabase-root
|
--- 11111
|
--- animal1
|
--- descripcion: "algo"
|
--- edad: "algo"
|
--- nombre: "algo"
|
--- raza: "algo"
--- animal2
...
--- animal3
...
I wanted to know what is the best way to do this. I thought that the child "animal1" is a key and for each animal that is generated a different key is added, but I don't know if this is the best way to solve it. I tried to try with the push method that I saw that generates a key, but I don't know how to use it. I leave what I was testing.
DatabaseReference nombre = FirebaseDatabase.getInstance().getReference().child("Users").child("Animales").child(userId).push().child("nombre");
nombre.setValue("Leon");