Imaging with the James Webb Space Telescope (JWST) will allow for observing
the bulk of distant galaxies at the epoch of reionisation. The recovery of
their properties, such as age, color excess E(B-V), specific star formation
rate (sSFR) and stellar mass, will mostly rely on spectral energy distribution
fitting, based on the data provided by JWST's two imager cameras, namely the
Near Infrared Camera (NIRCam) and the Mid Infrared Imager (MIRI). In this work
we analyze the effect of choosing different combinations of NIRCam and MIRI
broad-band filters, from 0.6 {\mu}m to 7.7 {\mu}m, on the recovery of these
galaxy properties. We performed our tests on a sample of 1542 simulated
galaxies, with known input properties, at z=7-10. We found that, with only 8
NIRCam broad-bands, we can recover the galaxy age within 0.1 Gyr and the color
excess within 0.06 mag for 70% of the galaxies. Besides, the stellar masses and
sSFR are recovered within 0.2 and 0.3 dex, respectively, at z=7-9. Instead, at
z=10, no NIRCam band traces purely the {\lambda}> 4000 {\AA} regime and the
percentage of outliers in stellar mass (sSFR) increases by > 20% (> 90%), in
comparison to z=9. The MIRI F560W and F770W bands are crucial to improve the
stellar mass and the sSFR estimation at z=10. When nebular emission lines are
present, deriving correct galaxy properties is challenging, at any redshift and
with any band combination. In particular, the stellar mass is systematically
overestimated in up to 0.3 dex on average with NIRCam data alone and including
MIRI observations improves only marginally the estimation.Comment: 21 pages, 11 figures, 4 tables. Accepted for publication at the ApJ