compulsory
Definitions
Required by law or a rule; obligatory.
Involving or employing compulsion; coercive.
Examples
Wearing a seatbelt while driving is compulsory by law.
Mathematics is a compulsory subject for all students in their first year of high school.
Synonyms
mandatory obligatory required compelled binding necessary essential
Antonyms
optional voluntary discretionary elective noncompulsory unforced free