fixes missing @required and @title by adding them to the schema template