From 356e19365dac45d0be47dc63d76c227714e5e081 Mon Sep 17 00:00:00 2001 From: David Kemp <19152940+davaya@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:54:07 -0400 Subject: [PATCH 1/2] create SpdxId type for spdxId property --- model/Core/Classes/Element.md | 2 +- model/Core/Classes/SpdxId.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 model/Core/Classes/SpdxId.md diff --git a/model/Core/Classes/Element.md b/model/Core/Classes/Element.md index 78aa77121..a508ce341 100644 --- a/model/Core/Classes/Element.md +++ b/model/Core/Classes/Element.md @@ -24,7 +24,7 @@ and inter-relatable content objects. ## Properties - spdxId - - type: xsd:anyURI + - type: SpdxId - minCount: 1 - maxCount: 1 - name diff --git a/model/Core/Classes/SpdxId.md b/model/Core/Classes/SpdxId.md new file mode 100644 index 000000000..ed6405cf6 --- /dev/null +++ b/model/Core/Classes/SpdxId.md @@ -0,0 +1,18 @@ +SPDX-License-Identifier: Community-Spec-1.0 + +# SpdxId + +## Summary + +An Element Identifier + +## Description + +The Element spdxId property is an IRI that uniquely identifies an Element instance. + +## Metadata + +- name: SemVer +- SubclassOf: xsd:anyURI + +## Properties From 79bcdbed466e0491c4d0d51499d1f8f761edb79f Mon Sep 17 00:00:00 2001 From: David Kemp <19152940+davaya@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:59:24 -0400 Subject: [PATCH 2/2] create SpdxId type for spdxId property --- model/Core/Classes/SpdxId.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model/Core/Classes/SpdxId.md b/model/Core/Classes/SpdxId.md index ed6405cf6..474d998b2 100644 --- a/model/Core/Classes/SpdxId.md +++ b/model/Core/Classes/SpdxId.md @@ -8,11 +8,12 @@ An Element Identifier ## Description -The Element spdxId property is an IRI that uniquely identifies an Element instance. +The Element spdxId property is an IRI that uniquely identifies an Element instance. +The SpdxId type distinguishes IRIs that are Element identifiers from IRIs used for other purposes. ## Metadata -- name: SemVer +- name: SpdxId - SubclassOf: xsd:anyURI ## Properties