Mae’r Cod Trefniadaeth Ysgolion, a wnaed o dan Ddeddf Safonau a Threfniadaeth Ysgolion (Cymru) 2013, yn gosod gofynion y mae’n rhaid i gyrff perthnasol (Gweinidogion Cymru, awdurdodau lleol, cyrff llywodraethu a hyrwyddwyr eraill) weithredu yn unol â nhw. Mae’n cynnwys hefyd ganllawiau ymarferol y mae’n rhaid iddynt roi sylw priodol iddynt, ac mae’n amlinellu’r cyd-destun polisi, egwyddorion cyffredinol a ffactorau a ddylai gael eu hystyried gan y rhai sy’n cyflwyno cynigion i ad-drefnu darpariaeth ysgolion a’r rhai sy’n gyfrifol am benderfynu ar gynigion.
The School Organisation Code, made under the School Standards and Organisation (Wales) Act 2013, imposes requirements in accordance with which relevant bodies (the Welsh Ministers, local authorities, governing bodies and other promoters) must act. It also includes practical guidance to which they must have due regard and sets out the policy context, general principles and factors that should be taken into account by those bringing forward proposals to reconfigure school provision and by those responsible for determining proposals.