define object Constructor in  factories from schema in  nodeset