Is it legal to write a program using a DB scheme deliberately compatible to an existing software?
<p>Ok, so there is this <strong>commercial software X</strong> that uses an SQLite DB (or rather multiple SQLite DBs that can be added/removed) for storage, so anyone can look at the scheme by just opening it.</p>

<p>We want to write and distribute (open source) a <strong>software Y</strong> to perform a similar task in another environment. It would be convenient to use a DB scheme that is close enough to software X format such that software X will be able to read it (and we know this would work).</p>

<p>Is that generally permitted? Since we do not only want to read/extend the files written by the software X, but also generate new files from scratch. So I am worried that typing out a <strong>SQLite schema suspiciously similar to the one used in X datafiles</strong> might be copyright infringement - what is your opinion?</p>

<p>Would this change if the format was <strong>incompatible</strong> with the original format, just laid out in a rather similar way such that someone who knew how to do it could easily convert it?</p>

<p>Does it matter whether I do this in the US or in the EU, and does it matter for where the users are?</p>

<p>I am not a lawyer and this is not legal advice. If you need legal advice, talk to a real lawyer, not pseudoanonymous people on the Internet.</p>

<p>The DB schema itself is almost certainly covered by the same license as the software which generates it or with which it is distributed, unless there are specifically articulable reasons for which this is not the case.</p>

<p>Unless that license allows unrestricted copying and/or creation of derivative works, I would think that, by default, you need to seek license from the rightsholder to copy or create derivative works. Without such a license, if an infringement claim were to be raised, your actions might be seen to be infringing. You might be vindicated in the end, or not.</p>

<p>I would recommend getting permission in writing or, failing in that, I would develop your schema independently with an eye to general interoperability in the future. Bonus points if you use an open source as the inspiration for your data model with documentary evidence of its provenance.</p>

<p>A database schema is probably copyrightable because it is an "arrangement" of information. So, if you duplicated somebody else's schema, there would be a risk of getting sued.</p>

copyright intellectual-property software