image factory schema