Fixed model schema for sub-docs