As of npm 3.10 you have to use UNLICENSED:
{ "license": "UNLICENSED"}
or
{ "license": "SEE LICENSE IN <filename>"}
The value of license must either one of the options above or the identifier for the license from this list of SPDX licenses. Any other value is not valid.
The following is no longer valid for current versions of npm
For npm versions before 3.10 you may use:
{ "license" : "LicenseRef-LICENSE" }
Then include a LICENSE file at the top level of the package. It could be as short as:
(c) Copyright 2015 person or company, all rights reserved.
But you might want to be more explicit about what is not allowed.
Answer from Craig on Stack Exchangelicensing - Which SPDX license is equivalent to 'All Rights Reserved'? - Software Engineering Stack Exchange
Is there a difference between unlicense.org and SPDX UNLICENSED? - Open Source Stack Exchange
java - SPDX identifier for "proprietary" in Maven pom.xml `<license>` name - Stack Overflow
SPDX-License-Identifier: MIT
Videos
As of npm 3.10 you have to use UNLICENSED:
{ "license": "UNLICENSED"}
or
{ "license": "SEE LICENSE IN <filename>"}
The value of license must either one of the options above or the identifier for the license from this list of SPDX licenses. Any other value is not valid.
The following is no longer valid for current versions of npm
For npm versions before 3.10 you may use:
{ "license" : "LicenseRef-LICENSE" }
Then include a LICENSE file at the top level of the package. It could be as short as:
(c) Copyright 2015 person or company, all rights reserved.
But you might want to be more explicit about what is not allowed.
This does not exactly answer your question, but what about:
{
"license": "Proprietary",
"private": true,
}
ยป npm install spdx-license-ids
Unfortunately, the format SPDX-License-Identifier: UNLICENSED is an invalid SPDX license expression per the SPDX spec, because the identifier UNLICENSED is not part of the SPDX license list. While well-intentioned, Solidity has here caused potentially dangerous confusion.
The SPDX project is concerned about machine-readable annotations for FOSS licenses (free/libre or open source software). By default, software is โall rights reserved. For such software, it makes no sense to add an SPDX tag. Yet, the Solidity documentation is suggesting to refer to such all-rights reserved software as โunlicensedโ.
The Unlicense is a license or license-like legal device that tries to do the very opposite of โall rights reservedโ: it is a very permissive license that allows any use, and may even be equivalent to a public domain dedication that relinquishes any copyright. It's a bit confusingly written and has a confusing name so I don't recommend that anyone should use the license, but it's popular with people who don't like to think about licensing and want their software to be used however anyone wants, without limitations.
So Solidity's nonstandard UNLICENSED identifier is VERY DIFFERENT from the SPDX Unlicense identifier. See also Solidity issue #12251. Per SPDX-spec issue #49, it would have been better to represent unlicensed software with NONE, but that's not yet part of the formal SPDX license identifier syntax.
The two statuses are about as far apart as could be. Having no licence means, as we've said before, that you have no rights to use the code at all. Being licensed under the Unlicense means that you have about as many rights to the code as the author can grant.
I agree that the texts are close (UNLICENSED for the former, Unlicense for the latter). Some might say they're confusingly close. But they are different, and moreover the former seems to be a Solidity convention, not an SPDX official identifier. So with care you can be sure which of the two licensing regimes applies to any piece of Solidity code bearing one of these identifiers.
The accepted answer to this question is wrong. The SPDX specification offers LicenseRefs for this use case, so you could put a value such as LicenseRef-acme-corp-proprietary-license in the <name> field, and then a link to the full text of your proprietary license in the <url> field (to allow human lawyers to do appropriate due diligence). Any conforming SPDX processor / expression parser should handle it just fine.
As of SPDX v3.0 (not yet released, at the time of writing), a similar mechanism called AdditionRef will also be offered for License Exceptions, which will make SPDX expressions such as Apache-2.0 WITH AdditionRef-acme-corp-specific-modifications possible.
SPDX has no identifier for "proprietary" in the license list because there is no such license.
Similar "All rights reserved." is not a license. Its the default for copyrighted works.
The convention in composer.json to use "proprietary" is an inverse effect: In the Composer project SPDX license identifiers were introduced relatively early and the license field has to use the short identifiers to build the license string (you can have multiple licenses in that field).
As the license field in composer.json then was defined by that, any other license not in the SPDX license list could not be named. As those are normally "closed software" licenses, the common term "proprietary" was suggested (all lower-case, no confusion with SPDX short identifiers which use upper-case letters).
The situation in pom.xml is different. It does not require specific identifiers, it just recommends them for the name field:
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
It offers its own system to name/define the license. And to use the (long) SPDX Identifier for the name is only a (sane) recommendation, but naturally only if you're using a license from that list.
But if you have a license your own, you put its name and the uniform resource location of the license text in there. There is no problem if you have an individual license (compare: in Composer you technically can not use the license field if you don't SPDX it)
Now:
According to your question you neither have yet a Name nor the Text of your license.
But you are already confronted with technical questions about how to incorporate and connect what is not there. As you'd like to have a license (you want to add a license entry into the pom.xml), I'd say why not get help from a lawyer on your behalf that is able to find a textual expression of your proprietary wishes. Tell her what you wish, want and need, like you want to fill out these two <name>and <url> fields and until then you just document the process:
<licenses>
<license>
<name/>
<url/>
<distribution/>
<comments>Intentionally left blank.</comments>
</license>
</licenses>
This certainly is only a very early and very basic baseline, you're certainly able to tweak it even before you consider grabbing the phone.
what does the acronym โmitโ used in smartchain contracts mean in solidity in tokens? does she have any kind of protection?
Thanks
ยป pip install spdx-license-list