I know that photolysis is when a chemical reaction (usually decomposition) is forced by photons. I also note that there is a general warming in the stratosphere, due to the photolysis of ozone $$\ce{O_3 + $h\nu$ -> O + O_2}$$ and the subsequent restorative mechanism $$\ce{O + O_2 + M ->O_3 + M}$$ where $\ce{M}$ is a third body used to carry off excess energy. To me, that says that the photolysis of ozone is an endothermic reaction, and the reformation of ozone is an exothermic reaction, as the free body takes away excess energy (assumably thermal energy).
Am I correct in generalizing that photolysis is generally an endothermic reaction? If so, could the enthalpy released by the second equation be quantified by the frequency of the photon?