Return the fields of this object, for a normal object this is the same as
getChildren() for an AllOf it is the union of all the fields of all its references.
A schema defined as
{
"$ref": "#/some/URI"
}
In order to allow forward references these objects need to be first created and then
resolved in a second pass of the model.