mandatory

Definition

Required by law or rule; compulsory.

Example

"Wearing a seatbelt is mandatory in most states."