What is the syntax of “wājib” in “al-ḥajju wājib”?

Kitāb al-Ḥajj: Obligation and Conditions of Pilgrimage