model schema and type validation working. paths for setting are not