Gaia Data Release 1. Validation of the photometry