As per title, is it possible to just deploy an object to an org, without any fields on it?
This is a bit of an XY problem though.
I'm actually trying to create an object in a dev org based on an object in another org. It has a number of lookups to other objects, so those object also need to exist. The other objects also have lookups... and so on.
If I include the whole object in my package.xml
file, it tries to include all the fields.
My idea was to shortcut this process by only including a stub of the parent object, meaning I don't have to go to many layers of dependency.
fields
node with areferenceTo
attribute.