Proper database structure

Hi Everyone, I am trying to learn Bubble to build a project I have wireframed. I want to start putting the database together correctly.
The project consists of two customer types, Clients and users
The clients side is a web based application, holding the clients general info, and payment methods and purchases, included would be a Map and stripe integration.
Second party from their Native App be the Users, the Primary User of an account would have their details and be able to provide sub users under them.
The primary user would choose different attributes with associated questions per attribute and be able to add additional of the same attributes with the same questions per same attribute. So primary user could have 10 different attributes and nested inside one attribute could be 4 of the same type.
I need clients to be able to search users and locate them (similar to how you see on Zillow.com) and purchase access to a users attributes for a period of a time.
Can anyone help me understand how I should set this format us as a database?

1 Like