generating required/values for schema attributes