add name property to resource schema when not defined
revert last change, schema name is set by cores