Flag to add required attribute