mandatory
adjective
uk/ˈmændətəri/ us/ˈmændəˌtɔri/used to describe something that must be done, usually because the law states that it is necessary:
He demanded mandatory reporting on environmental issues.
mandatory for sb to do sth They would make it mandatory for everyone to have health insurance.
See also
compulsory