Is this not vulnerable to the horrible precedent on copyrightability of APIs, established by Oracle vs Google and which the SC just refused to review?
https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google....
https://www.eff.org/deeplinks/2015/06/bad-news-supreme-court...