validate mediaType only if downloadURL appears