I figured it out, it was a silly mistake. I was not passing embedded schemas during realm initialization.
so I had to export all schemas
const config = {
schema: [Permit.schema, permit_quantitySchema , permit_quantitySchema ]
...
}
So far so good,