Should not access .forSchema from raw value

@andreypopp Would you like to confirm and fix this ? Then I will close the PR.