Edit

Share via


LicenseType enum

Enumerates types of licenses.

Fields

Unknown = 0

The license type is unknown or not specified.

Permissive = 1

A permissive license allows software to be freely used, modified, and distributed with minimal restrictions. Examples: MIT, Apache 2.0.

WeakCopyleft = 2

A weak copyleft license requires modifications to the software to be shared under the same license, but does not impose restrictions on larger works that include the software. Examples: LGPL.

StrongCopyleft = 3

A strong copyleft license requires that any derivative works or larger works that include the software must also be distributed under the same license. Examples: GPL.

NetworkCopyleft = 4

A network copyleft license extends the copyleft requirement to software that is accessed over a network, requiring the source code to be made available. Examples: AGPL.

Other = 5

A license that does not fit into the standard categories or is custom-defined. In CG, it indicates a commercial license.

NoAssertion = 6

No assertion is made about the license type, leaving it unspecified.