model schema is built properly from configuration