This line looks wrong to me.
For this to work I would have expected the mos.yml to look like:
config_schema:
* [“app”, “o”, {}]
* [“app.user.data1”, “s”, “data1”, {}]
* [“app.user.data2”, “s”, “data2”, {}]
Given the mos.yml you shared I would have expected it to be:
app: {data1: $('#userData').val()},