It probably depends on the country, but in my country (Germany), the government only defines outlines of what knowledge and skills the students are expected to acquire. The teachers are expected to design a specific curriculum to convey these skills (though obviously constrained by outside factors, most prominently the available set of textbooks).