School law is a matter for the states (Art. 30 GG, Art. 70 I GG), which is why it is largely standardized in the respective school laws of the federal states. There are also numerous state regulations in school law.
As a cross-sectional legal area, school law includes all legal regulations that affect schools in some way.