Validate entity syntax.