added necessary fields to api validation