-
-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explicit licence needed in schema files and all repositories #1160
Comments
this can help - https://choosealicense.com/licenses/ and https://choosealicense.com/appendix/ |
It would also be useful to add a paragraph somewhere giving explicit guidance regarding the use of metaschemas, test files etc and what limitations, if any, are imparted on any software that uses these resources (e.g. what licences those works can or cannot use). |
Note that for some packagers, the mere mention of the licence type/name is not enough - the full licence itself must be included in a LICENSE file. |
Why do we need the license in every file? That seems excessive. (I suppose it depends on the license we choose.) |
A single LICENSE file in the repository is likely sufficient (which would be included when the metaschemas are bundled elsewhere), but a comment in the metaschemas can't hurt, and is more clear. |
😏 Do we need to add a |
As far as my contributions go, the meta-schemas are public domain, and need neither a license nor attribution. The idea that code is unusable unless it contains a license is a faulty assumption on their part (code can be public domain, and copyrighted code can be licensed separately from what it says), but to that end, there's https://unlicense.org/ I think putting that in a file next to the meta-schemas should be sufficient. Also, I tend to doubt that most schemas have enough creative content to be copyrightable to begin with. At least in the US, objective facts & data generated by computer programs are generally not copyrightable, and outside the US, it doesn't make sense to me to cater to every broken copyright regime out there. |
Hi, one member of the Debian Perl Group who started with these questions here :) What we need are the typical permissions of FLOSS (use, modify, distribute, etc.) for us as a project and for our users. That's typically covered in a license. It's not important how this is declared (LICENSE file, in a README, in each file, …) as long as it's clear and conistent. (If code is put into the public domain that's also fine, I'll just note that the concept of public domain doesn't exist in most jurisdictions, so everyone outside a few countries can't reliniquish all their rights and use the public domain conecpt.) I note that README.md already mentions a License, it says
The easiest way forward for us would be if you could expand this section of the README.md to say something like:
Cheers, |
It would appear that the packaging of my implementation on Debian is blocked until I can provide a licence with the schema files that I bundle: https://salsa.debian.org/perl-team/modules/packages/libjson-schema-modern-perl/-/commit/2bffdfbd291a9bbf19a21d55019754f58c070dd3 |
As a general principle, we should be using language that's clear and precise, so I filed #1173 to try to resolve this. I would also like to mention, as a widespread legal principle, contracts may be read favorably by the person receiving the text (the "construction against the drafter" principle, related to the "rule of lenity"); I don't want to spread the misconception that an unclear license actually poses a challenge. I'm unaware of any cases where someone seemed to receive a license, but had legal troubles because a jurisdiction doesn't recognize public domain, or because our license text happens to mention the University of California; our intent has been sufficiently stated. The "not all jurisdictions recognize public domain" seems to me like a boogeyman invented by lawyers to keep themselves employed, every court on Earth should have no difficulty understanding this means irrevocable permission to use the content. |
Thanks for the PR in #1173; that should be enough to make it clear that the schemas (which @karenetheridge includes in JSON-Schema-Modern) are released under the terms of |
I'm in favour of a new governance and providence vocabulary, but haven't had the time to make them. @karenetheridge Re the test suite, is this not enough? https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/master/LICENSE We are planning to discuss the licence specifically for the spec repo meta-schemas. |
We discussed this on OCWM call json-schema-org/community#133 Rather than relicencing, we woundered if it was preferable to add the licenses already mentioned to a licence file. It looks like originally it said the code in the repo was covered under AFL or BSD, however it was actually MIT in the code comments 🤷♂️. It was then changed to "source material". If you consider JSON Schema files such as the meta-schemas to be "code", then it would be covered under that. But we still don't know WHICH versions of those licences. The list of contributors for the current meta-schemas is small, and we could feasibly contact all 6 of them, but @handrews seems to be unreachable (or at least not responding, which is fine if you're reading this Henry! Keep well buddy). Let me ask on the OpenJSF Slack what people think of this. I wonder if the licence line is even valid without specifying which they relate to. Edit: I've now asked. (Link to join the OpenJSF Slack) |
Related: #532 |
Sorry it has taken so long to get an update on this. My email got lost in the ether. I had a breif chat with Brian from the OpenJS Foundation, and he is now waiting for a response from legal council. |
Response from OpenJS Foundation is as follows:
So it seems like our course of action is as follows. Create PRs (maybe one) containing:
This is open for anyone, although @karenetheridge may beat everyone else to it. |
Historically JSON Schema has declared that contributions are licensed BSD or AFL, without specifying the version of BSD. We’ve been asked to specify a version for work elsewhere in the ecosystem, and OpenJS Foundation counsel recommended BSD 3-clause as the most common choice. This commit clarifies the specific versions (3-clause and v3.0 respectively), and adds a LICENSE file to make this explicit. See #1160 (comment) for the full guidance. Closes: #1160
Historically JSON Schema has declared that contributions are licensed BSD or AFL, without specifying the version of BSD. We’ve been asked to specify a version for work elsewhere in the ecosystem, and OpenJS Foundation counsel recommended BSD 3-clause as the most common choice. This commit clarifies the specific versions (3-clause and v3.0 respectively), and adds a LICENSE file to make this explicit. See #1160 (comment) for the full guidance. Closes: #1160
I sent a request to the debian-perl folks to package my implementation for Debian. They are concerned that I bundle the metaschema files but there is no associated licence; additionally the tests bundle the test files from JSON-Schema-Test-Suite and there is no licence there either.
I would suggest:
$comment
field in the metaschemas,cc @Relequestual
The text was updated successfully, but these errors were encountered: