lawfulness

noun
  1. the quality or state of being in accordance with the law; legality
  2. the quality of being morally right or justified

Examples