I'm designing a VF SPA that uses remote objects. Much of the page is dynamic, and I use user input to define which sObjects I look up. I wanted to know how, given a user input for a sObj, I can return the fields on that object as well as which are "nillable"/required.
A simple example of this would be a page that allows a user to create a new sObj. The user can select the type of sObj they would like to create, i.e. Contact, and the page would render all of the required fields on that sObj.
Can this be done solely via remote objects?