From fe66586236761f0002c507921a028631dd335fc1 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Thu, 23 Apr 2026 01:15:02 +0100 Subject: [PATCH 1/4] Dataset: Add SPDX 3.1 to Example 01 To demonstrate deprecated properties Signed-off-by: Arthit Suriyawongkul --- dataset/README.md | 14 +- dataset/example01/README.md | 11 + .../example01/spdx3.0/example01.spdx3.json | 52 ++--- .../spdx3.1/example01.spdx3.json-draft | 195 ++++++++++++++++++ 4 files changed, 239 insertions(+), 33 deletions(-) create mode 100644 dataset/example01/spdx3.1/example01.spdx3.json-draft diff --git a/dataset/README.md b/dataset/README.md index 1fc1a374b..4a5770101 100644 --- a/dataset/README.md +++ b/dataset/README.md @@ -3,7 +3,7 @@ SPDX-FileType: DOCUMENTATION SPDX-License-Identifier: CC-BY-4.0 --- -# SPDX Dataset Profile Examples +# SPDX Dataset profile examples This repository includes demonstrations of [SPDX documents](https://spdx.dev) for a Dataset Profile. @@ -12,13 +12,13 @@ for a Dataset Profile. Directories of the form `example##` are structured as follows: -- `content/`: contains the example's content (data files, related source code, - etc.) -- `spdx3.0/`: contains one or more SPDX documents for the example +- `content/`: contains the example's content (data files, source code, etc.) +- `spdx3.0/`: contains SPDX 3.0 documents for the example +- `spdx3.1/`: contains SPDX 3.1 documents for the example - `README.md`: more details about the particular example ## Examples -| ## | Data | Sources | SPDX | Comments | -|----|------|---------|------|----------| -| [01](./example01/) | 2 CSV files | - | 1 document | An example of a simple dataset in tabular format. | +| # | Data | Sources | SPDX 3.0 | SPDX 3.1 | Focus | +| - | ---- | ------- | -------- | -------- | ----- | +| [01](./example01/) | 2 CSV files | - | 1 document | 1 document | Tabular CSV dataset; `dataset_datasetType: structured, timestamp`; **3.0→3.1**: `dataset_datasetSize` → `software_artifactSize`, `dataset_intendedUse` → Core `intendedUse` | diff --git a/dataset/example01/README.md b/dataset/example01/README.md index 0c11e2d8c..f3cf27c77 100644 --- a/dataset/example01/README.md +++ b/dataset/example01/README.md @@ -36,3 +36,14 @@ class diagram illustrates Example 01. Long string values are truncated and the spdxIds are shortened (by removing the UUID suffix), for brevity. [![A diagram of a bill of materials of Dataset Example 01](./spdx3.0/example01.png "A diagram of a bill of materials of Dataset Example 01")](./spdx3.0/example01.png) + +The SBOM uses `dataset_datasetSize` (~200 KB) and `dataset_intendedUse`, both +of which are deprecated in SPDX 3.1 in favour of `software_artifactSize` and +Core `intendedUse` respectively. + +## SPDX files + +| Version | File | +| --------- | ------ | +| SPDX 3.0 | [spdx3.0/example01.spdx3.json](./spdx3.0/example01.spdx3.json) | +| SPDX 3.1 (draft) | [spdx3.1/example01.spdx3.json-draft](./spdx3.1/example01.spdx3.json-draft) | diff --git a/dataset/example01/spdx3.0/example01.spdx3.json b/dataset/example01/spdx3.0/example01.spdx3.json index 37db167ec..e7e07d4e7 100644 --- a/dataset/example01/spdx3.0/example01.spdx3.json +++ b/dataset/example01/spdx3.0/example01.spdx3.json @@ -6,13 +6,13 @@ "@id": "_:creationinfo", "specVersion": "3.0.1", "createdBy": [ - "https://spdx.org/spdxdocs/Person1-1000e6a2-0229-4875-baa7-c99be213b6e1" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Person1" ], "created": "2024-05-31T00:00:00Z" }, { "type": "Person", - "spdxId": "https://spdx.org/spdxdocs/Person1-1000e6a2-0229-4875-baa7-c99be213b6e1", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Person1", "creationInfo": "_:creationinfo", "name": "Arthit Suriyawongkul", "externalIdentifier": [ @@ -25,7 +25,7 @@ }, { "type": "Organization", - "spdxId": "https://spdx.org/spdxdocs/Organization1-cb617656-1023-45e7-84c7-a9311644337b", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1", "creationInfo": "_:creationinfo", "name": "Our World in Data", "externalIdentifier": [ @@ -42,26 +42,26 @@ }, { "type": "SpdxDocument", - "spdxId": "https://spdx.org/spdxdocs/Document1-a7a6f7a8-68d5-4052-b3f7-a005d6af28f1", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002", "creationInfo": "_:creationinfo", "profileConformance": [ "core", "dataset" ], "rootElement": [ - "https://spdx.org/spdxdocs/SBOM1-d44af211-2646-43bc-9058-f6aabd30f7ab" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#SBOM1" ] }, { "type": "software_Sbom", - "spdxId": "https://spdx.org/spdxdocs/SBOM1-d44af211-2646-43bc-9058-f6aabd30f7ab", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#SBOM1", "creationInfo": "_:creationinfo", "profileConformance": [ "core", "dataset" ], "rootElement": [ - "https://spdx.org/spdxdocs/DatasetPackage1-035470d9-3ede-4952-91c8-c2abb943c90b" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1" ], "software_sbomType": [ "analyzed" @@ -69,13 +69,13 @@ }, { "type": "dataset_DatasetPackage", - "spdxId": "https://spdx.org/spdxdocs/DatasetPackage1-035470d9-3ede-4952-91c8-c2abb943c90b", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", "creationInfo": "_:creationinfo", "name": "Our World in Data CO2 and Greenhouse Gas Emissions dataset", "originatedBy": [ - "https://spdx.org/spdxdocs/Organization1-cb617656-1023-45e7-84c7-a9311644337b" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" ], - "suppliedBy": "https://spdx.org/spdxdocs/Organization1-cb617656-1023-45e7-84c7-a9311644337b", + "suppliedBy": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1", "builtTime": "2023-12-16T11:22:38Z", "releaseTime": "2024-04-15T08:10:00Z", "software_packageVersion": "2024-04-15", @@ -101,7 +101,7 @@ ], "dataset_datasetAvailability": "directDownload", "dataset_dataCollectionProcess": "The data is collected from various sources, including international organizations and research institutions.", - "dataset_datasetSize": 2689, + "dataset_datasetSize": 204800, "dataset_datasetType": [ "structured", "timestamp" @@ -116,58 +116,58 @@ }, { "type": "software_File", - "spdxId": "https://spdx.org/spdxdocs/File1-d029fccb-7ee9-42be-a445-5e2066db0de8", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1", "creationInfo": "_:creationinfo", "name": "data.csv", "contentType": "text/csv;charset=UTF-8", "software_primaryPurpose": "data", "releaseTime": "2024-04-15T08:10:00Z", "originatedBy": [ - "https://spdx.org/spdxdocs/Organization1-cb617656-1023-45e7-84c7-a9311644337b" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" ] }, { "type": "software_File", - "spdxId": "https://spdx.org/spdxdocs/File2-caf55baf-cd02-406a-b7ec-838842ca869f", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2", "creationInfo": "_:creationinfo", "name": "codebook.csv", "contentType": "text/csv;charset=UTF-8", "software_primaryPurpose": "data", "releaseTime": "2024-04-15T08:10:00Z", "originatedBy": [ - "https://spdx.org/spdxdocs/Organization1-cb617656-1023-45e7-84c7-a9311644337b" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" ], "description": "A description of each column in data.csv." }, { "type": "Relationship", - "spdxId": "https://spdx.org/spdxdocs/Relationship/contains-c64903fa-cab9-4880-8065-0b9b226ce009", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship1", "creationInfo": "_:creationinfo", "relationshipType": "contains", - "from": "https://spdx.org/spdxdocs/DatasetPackage1-035470d9-3ede-4952-91c8-c2abb943c90b", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", "to": [ - "https://spdx.org/spdxdocs/File1-d029fccb-7ee9-42be-a445-5e2066db0de8", - "https://spdx.org/spdxdocs/File2-caf55baf-cd02-406a-b7ec-838842ca869f" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1", + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2" ], "description": "DatasetPackage1 contains data.csv and codebook.csv." }, { "type": "Relationship", - "spdxId": "https://spdx.org/spdxdocs/Relationship/describes-de3f5855-bd5a-403f-9aa6-95dd97599c32", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship2", "creationInfo": "_:creationinfo", "relationshipType": "describes", - "from": "https://spdx.org/spdxdocs/File2-caf55baf-cd02-406a-b7ec-838842ca869f", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2", "to": [ - "https://spdx.org/spdxdocs/File1-d029fccb-7ee9-42be-a445-5e2066db0de8" + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1" ], "description": "codebook.csv describes data.csv." }, { "type": "Relationship", - "spdxId": "https://spdx.org/spdxdocs/Relationship/concludedLicense-8575546c-c4f7-41ec-bb8f-cbd66e70090a", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship3", "creationInfo": "_:creationinfo", "relationshipType": "hasConcludedLicense", - "from": "https://spdx.org/spdxdocs/DatasetPackage1-035470d9-3ede-4952-91c8-c2abb943c90b", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", "to": [ "https://spdx.org/licenses/CC-BY-4.0" ], @@ -175,10 +175,10 @@ }, { "type": "Relationship", - "spdxId": "https://spdx.org/spdxdocs/Relationship/declaredLicense-e5536c5e-c8b5-4d24-947f-674c27c0b6c1", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship4", "creationInfo": "_:creationinfo", "relationshipType": "hasDeclaredLicense", - "from": "https://spdx.org/spdxdocs/DatasetPackage1-035470d9-3ede-4952-91c8-c2abb943c90b", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", "to": [ "https://spdx.org/licenses/CC-BY-4.0" ], diff --git a/dataset/example01/spdx3.1/example01.spdx3.json-draft b/dataset/example01/spdx3.1/example01.spdx3.json-draft new file mode 100644 index 000000000..f8340f8c6 --- /dev/null +++ b/dataset/example01/spdx3.1/example01.spdx3.json-draft @@ -0,0 +1,195 @@ +{ + "@context": "https://spdx.org/rdf/3.1/spdx-context.jsonld", + "@graph": [ + { + "type": "CreationInfo", + "@id": "_:creationinfo", + "specVersion": "3.1.0", + "createdBy": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Person1" + ], + "created": "2025-01-01T00:00:00Z" + }, + { + "type": "Person", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Person1", + "creationInfo": "_:creationinfo", + "name": "Arthit Suriyawongkul", + "externalIdentifier": [ + { + "type": "ExternalIdentifier", + "externalIdentifierType": "email", + "identifier": "suriyawa@tcd.ie" + } + ] + }, + { + "type": "Organization", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1", + "creationInfo": "_:creationinfo", + "name": "Our World in Data", + "externalIdentifier": [ + { + "type": "ExternalIdentifier", + "externalIdentifierType": "other", + "issuingAuthority": "GitHub", + "identifier": "owid", + "identifierLocator": [ + "https://github.com/owid/" + ] + } + ] + }, + { + "type": "SpdxDocument", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002", + "creationInfo": "_:creationinfo", + "profileConformance": [ + "core", + "dataset" + ], + "rootElement": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#SBOM1" + ] + }, + { + "type": "software_Sbom", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#SBOM1", + "creationInfo": "_:creationinfo", + "profileConformance": [ + "core", + "dataset" + ], + "rootElement": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1" + ], + "software_sbomType": [ + "analyzed" + ] + }, + { + "type": "dataset_DatasetPackage", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", + "creationInfo": "_:creationinfo", + "name": "Our World in Data CO2 and Greenhouse Gas Emissions dataset", + "originatedBy": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" + ], + "suppliedBy": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1", + "builtTime": "2023-12-16T11:22:38Z", + "releaseTime": "2024-04-15T08:10:00Z", + "software_packageVersion": "2024-04-15", + "software_copyrightText": "Copyright Our World in Data", + "software_downloadLocation": "https://github.com/owid/co2-data/", + "software_artifactSize": 204800, + "verifiedUsing": [ + { + "type": "Hash", + "algorithm": "sha1", + "hashValue": "32657f0d033fc07a7420be36a6af9083c6a63489" + }, + { + "type": "Hash", + "algorithm": "sha256", + "hashValue": "434d75c84cf86456c16193dbc53beef31eb63f3387425882ddb2ef6acb9d472c" + } + ], + "software_primaryPurpose": "data", + "intendedUse": "To make the data about greenhouse gas emissions accessible.", + "dataset_confidentialityLevel": "clear", + "dataset_dataPreprocessing": [ + "The dataset is built upon a number of datasets and processing steps.", + "See https://github.com/owid/co2-data/blob/master/README.md for sources and processing codes." + ], + "dataset_datasetAvailability": "directDownload", + "dataset_dataCollectionProcess": "The data is collected from various sources, including international organizations and research institutions.", + "dataset_datasetType": [ + "structured", + "timestamp" + ], + "dataset_datasetUpdateMechanism": "Publish updated data as it becomes available. Most are on an annual basis.", + "dataset_hasSensitivePersonalInformation": "no", + "dataset_knownBias": [ + "Data in some geographical areas are more completed than the others." + ], + "comment": "This is a small excerpt of the full dataset. SPDX 3.1 CHANGES: (1) 'dataset_datasetSize: 204800' (bytes, SPDX 3.0, deprecated) renamed to 'software_artifactSize: 204800' (~200 KB) in SPDX 3.1. (2) 'dataset_intendedUse' (SPDX 3.0, deprecated) replaced by Core-level 'intendedUse'. Compare with spdx3.0/example01.spdx3.json." + }, + { + "type": "software_File", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1", + "creationInfo": "_:creationinfo", + "name": "data.csv", + "contentType": "text/csv;charset=UTF-8", + "software_primaryPurpose": "data", + "releaseTime": "2024-04-15T08:10:00Z", + "originatedBy": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" + ] + }, + { + "type": "software_File", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2", + "creationInfo": "_:creationinfo", + "name": "codebook.csv", + "contentType": "text/csv;charset=UTF-8", + "software_primaryPurpose": "data", + "releaseTime": "2024-04-15T08:10:00Z", + "originatedBy": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Organization1" + ], + "description": "A description of each column in data.csv." + }, + { + "type": "Relationship", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship1", + "creationInfo": "_:creationinfo", + "relationshipType": "contains", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", + "to": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1", + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2" + ], + "description": "DatasetPackage1 contains data.csv and codebook.csv." + }, + { + "type": "Relationship", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship2", + "creationInfo": "_:creationinfo", + "relationshipType": "describes", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File2", + "to": [ + "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#File1" + ], + "description": "codebook.csv describes data.csv." + }, + { + "type": "Relationship", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship3", + "creationInfo": "_:creationinfo", + "relationshipType": "hasConcludedLicense", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", + "to": [ + "https://spdx.org/licenses/CC-BY-4.0" + ], + "description": "DatasetPackage1 has a concluded license as CC-BY-4.0." + }, + { + "type": "Relationship", + "spdxId": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Relationship4", + "creationInfo": "_:creationinfo", + "relationshipType": "hasDeclaredLicense", + "from": "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#DatasetPackage1", + "to": [ + "https://spdx.org/licenses/CC-BY-4.0" + ], + "description": "DatasetPackage1 has a declared license as CC-BY-4.0." + }, + { + "type": "simplelicensing_LicenseExpression", + "spdxId": "https://spdx.org/licenses/CC-BY-4.0", + "creationInfo": "_:creationinfo", + "simplelicensing_licenseExpression": "CC-BY-4.0", + "simplelicensing_licenseListVersion": "3.25.0" + } + ] +} From 12adc1593114c998c963741bcf16567030ebc9fb Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Thu, 23 Apr 2026 18:16:47 +0100 Subject: [PATCH 2/4] Update specVersion: 3.1.0 -> 3.1 Signed-off-by: Arthit Suriyawongkul --- dataset/example01/spdx3.1/example01.spdx3.json-draft | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset/example01/spdx3.1/example01.spdx3.json-draft b/dataset/example01/spdx3.1/example01.spdx3.json-draft index f8340f8c6..00cd175a5 100644 --- a/dataset/example01/spdx3.1/example01.spdx3.json-draft +++ b/dataset/example01/spdx3.1/example01.spdx3.json-draft @@ -4,7 +4,7 @@ { "type": "CreationInfo", "@id": "_:creationinfo", - "specVersion": "3.1.0", + "specVersion": "3.1", "createdBy": [ "https://spdx.org/spdxdocs/dataset-example01-b1b2c3d4-e5f6-7890-abcd-000000001002#Person1" ], From a73cbe35705329f6928dd5fb5dc385f650e4fad6 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Thu, 23 Apr 2026 18:29:59 +0100 Subject: [PATCH 3/4] Update property format Signed-off-by: Arthit Suriyawongkul --- dataset/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset/README.md b/dataset/README.md index 4a5770101..66dd010fa 100644 --- a/dataset/README.md +++ b/dataset/README.md @@ -21,4 +21,4 @@ Directories of the form `example##` are structured as follows: | # | Data | Sources | SPDX 3.0 | SPDX 3.1 | Focus | | - | ---- | ------- | -------- | -------- | ----- | -| [01](./example01/) | 2 CSV files | - | 1 document | 1 document | Tabular CSV dataset; `dataset_datasetType: structured, timestamp`; **3.0→3.1**: `dataset_datasetSize` → `software_artifactSize`, `dataset_intendedUse` → Core `intendedUse` | +| [01](./example01/) | 2 CSV files | - | 1 document | 1 document | Tabular CSV dataset; `/Dataset/datasetType: structured, timestamp`; **3.0→3.1**: `/Dataset/datasetSize` → `/Software/artifactSize`, `/Dataset/intendedUse` → `/Core/intendedUse` | From 67efa556c074c82ebcae87a0a6812bea369e4794 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Thu, 23 Apr 2026 20:43:07 +0100 Subject: [PATCH 4/4] Revise README for Dataset Example 01 Signed-off-by: Arthit Suriyawongkul --- dataset/example01/README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/dataset/example01/README.md b/dataset/example01/README.md index f3cf27c77..8d41b5766 100644 --- a/dataset/example01/README.md +++ b/dataset/example01/README.md @@ -3,7 +3,7 @@ SPDX-FileType: DOCUMENTATION SPDX-License-Identifier: CC-BY-4.0 --- -# Example 01 +# Dataset example 1 - Gas emissions dataset ## Description @@ -30,20 +30,14 @@ Greenhouse Gas Emissions dataset. It is available in full, under Creative Commons Attribution 4.0 International License, at . -This simplified -[Unified Modeling Language (UML)](https://en.wikipedia.org/wiki/Unified_Modeling_Language) -class diagram illustrates Example 01. Long string values are truncated and the -spdxIds are shortened (by removing the UUID suffix), for brevity. - -[![A diagram of a bill of materials of Dataset Example 01](./spdx3.0/example01.png "A diagram of a bill of materials of Dataset Example 01")](./spdx3.0/example01.png) - -The SBOM uses `dataset_datasetSize` (~200 KB) and `dataset_intendedUse`, both -of which are deprecated in SPDX 3.1 in favour of `software_artifactSize` and -Core `intendedUse` respectively. +The SBOM uses `/Dataset/datasetSize` (~200 KB) and `/Dataset/intendedUse`, both +of which are deprecated in SPDX 3.1 in favour of `/Software/artifactSize` and `/Core/intendedUse` respectively. ## SPDX files | Version | File | -| --------- | ------ | +| ------- | ---- | | SPDX 3.0 | [spdx3.0/example01.spdx3.json](./spdx3.0/example01.spdx3.json) | | SPDX 3.1 (draft) | [spdx3.1/example01.spdx3.json-draft](./spdx3.1/example01.spdx3.json-draft) | + +[![A diagram of Dataset profile example 01 - Simple tabular dataset.](./example01.spdx3.png "A diagram of Dataset profile example 01 - Simple tabular dataset.")](./example01.spdx3.png)