How is this stated in the separation agreement?

The clause would read, for example:

The wife shall have sole legal custody that is, sole physical custody and sole decision-making authority of the children of the marriage. Notwithstanding the foregoing, the wife shall consult with the husband on all major decisions affecting the children. Should there be any disagreement, the wife’s decision shall be determinative.