format: validate formats supplied in the upload file