prepare for schema validation