From Exodus 21:1~22:27, God gives laws that start with: "If" someone does something undesirable (and all these laws start with an undesirable scenario)... What kind of law would you call this? God is obviously not condoning these pre-existing, undesirable scenarios, but intends to curb worsening decadence of society. In our modern vernacular, what kind of law would you call this? I am thinking "case law" but looking at the definition of it, it doesn't seem to fit the nature of Exodus 21-22.
Thanks.
Edit: What I am trying to figure out is: If I were to try to explain the content of this passage to today's lawyers in their own legal vernacular, how would I concisely define these laws? There must be a category for laws that follow "If a certain hypothetical scenario happens, then do this."