Skip to content

Commit

Permalink
Allow for SPDX license expression
Browse files Browse the repository at this point in the history
  • Loading branch information
leoheitmannruiz committed Oct 26, 2024
1 parent 4648baf commit abc1089
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/shard.yml.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,14 @@ libraries:
----

*license*::
An https://spdx.org/licenses/[SPDX license identifier] or an URL to a license file
(string, recommended).
An ihttps://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/[SPDX license expression]
or an URL to a license file (string, recommended).
+
The OSI publishes https://opensource.org/licenses-old/category[a list] of open
source licenses and their corresponding SPDX identifier.
+
Examples: _Apache-2.0_, _MIT_, _GPL-3.0-or-later_, _https://example.com/LICENSE_.
Examples: _Apache-2.0_, _GPL-3.0-or-later_, _Apache-2.0 OR MIT_,
_Apache-2.0 WITH Swift-exception_, _https://example.com/LICENSE_.

*repository*::
The URL of the project's canonical repository (string, recommended).
Expand Down
2 changes: 1 addition & 1 deletion docs/shard.yml.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"license": {
"type": "string",
"title": "license",
"description": "An SPDX license identifier or an URL to a license file"
"description": "An SPDX license expression or an URL to a license file."
},
"repository": {
"type": "string",
Expand Down

0 comments on commit abc1089

Please sign in to comment.