I would have users under node users.
In general, identifiers would be firebase push keys.
therefore user> userId> {user information}.
Then create a business
business> businessId> {business information}
then the business for the node user.
businessForUser> userId> businessId = true
So, then you get a list of business identifiers for a user from a businessForUser node, and then get business information from a business node with the specified identifiers.
source share