flat-ui and required schema