So recently I heard someone claiming that if $X\rightarrow S$ is a smooth curve (not necessarily proper?) and $S$ is an arbitrary scheme over $\text{Spec }R$ (for $R$ sufficiently nice), then there is an fpqc(fppf? can we go as far as etale?) cover $T\rightarrow S$ and a scheme $S'$ of finite type over $R$ factoring $S\rightarrow\text{Spec }R$ with a curve $Y/S'$ such that $X\times_S T \cong Y\times_{S'} T$.
Does anyone have a reference for a precise statement of this form?
I feel like any attempt to look this up would result in a lot of "noise".