Usage patterns
〈事〉は法令に基づくto be based on laws and regulations
This procedure is carried out based on the applicable laws and regulations.
法令に違反するto violate a law or regulation
The company was fined for violating the law.
法令を制定するto enact a law or regulation
The parliament enacted a new law.
〈事〉は法令で定めるto be stipulated by law
The details are stipulated by a separate law.