Update rest.js

getSchemaOwnerField hotfix