recognize lean option from schema