LoginSignup
1
0

More than 1 year has passed since last update.

JSON schema diagram for SPDX v2.3

Last updated at Posted at 2023-03-14

Motivation

The SPDX community has published the specifications and some examples of SPDX document, but understanding the structure of SPDX document and how each item relates is a little difficult.
In very near future, when we must consider about SBOM automation, I think it is very important to understand not only the specifications but also the working SPDX Document, so I want to illustrate its architecture.

What is this?

Split "a236284 on Jan 21" version of the JSON schema for SPDX v2.3 published on github and transcribed it into a UML diagram using PlantUML. And JSON files used to create them have been committed here.
I hope this helps you understand SPDX document.

Overview

SPDX-JSON-schema-overview.png

annotations

SPDX-JSON-schema-annotations.png

creationInfo

SPDX-JSON-schema-creationInfo.png

externalDocumentRefs

SPDX-JSON-schema-externalDocumentRefs.png

hasExtractedLicensingInfos

SPDX-JSON-schema-hasExtractedLicensingInfos.png

revieweds

SPDX-JSON-schema-reviewds.png

documentDescribes

SPDX-JSON-schema-documentDescribes.png

packages

SPDX-JSON-schema-packages.png

files

SPDX-JSON-schema-files.png

snippets

SPDX-JSON-schema-snippets.png

relationships

SPDX-JSON-schema-relationships.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0