Right side of the law

I am an Assistant Language Teacher at a middle school outside of Tokyo. My employer is a large dispatch company, but I’m not sure if it has a dispatch license.

My manager told me the company has a “gyomu-itaku” or “entrusted service contract” with the local school board. One thing confusing me is whether I am under the authority of my employer, the middle school or both.