From abc1089281728726adcde9eddf9c7b5cd87cd076 Mon Sep 17 00:00:00 2001 From: Leo Heitmann Ruiz Date: Sat, 26 Oct 2024 14:04:25 +0200 Subject: [PATCH] Allow for SPDX license expression --- docs/shard.yml.adoc | 7 ++++--- docs/shard.yml.schema.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/shard.yml.adoc b/docs/shard.yml.adoc index 1dd92d0d..5d43ae09 100644 --- a/docs/shard.yml.adoc +++ b/docs/shard.yml.adoc @@ -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). diff --git a/docs/shard.yml.schema.json b/docs/shard.yml.schema.json index cf70df76..6f7783ff 100644 --- a/docs/shard.yml.schema.json +++ b/docs/shard.yml.schema.json @@ -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",