allow the RP to indicate required vs optional attributes