check schema on entity create