added required attribute, fixed missing input_type in config