Like in the images shown, the generate command from the cli generates the schema wrong. member and pending should be strings instead of variables.