The type of law being applied in this scenario is Military law.
The type of law that is being applied in the case of a soldier being charged with a crime on a military base is military law. Military law is a distinct body of laws and regulations that govern the conduct of members of the armed forces. It covers a wide range of offenses, including crimes committed within the military community. In this scenario, the soldier will be subject to the legal framework and procedures specific to the military justice system.