SpdxDocument

Summary

A collection of SPDX Elements that could potentially be serialized.

Description

The SpdxDocument provides a convenient way to express information about collections of SPDX Elements that could potentially be serialized as complete units (e.g., all in-scope SPDX data within a single JSON-LD file). SpdxDocument is independent of any particular serialization format or instance. Information we wish to preserve about a specific instance of serialization of this SPDX content is NOT expressed using the SpdxDocument but rather using an associated Artifact representing a particular instance of SPDX data physical serialization.

Any instance of serialization of SPDX data MUST NOT contain more than one SpdxDocument element definition.

Metadata

https://spdx.org/rdf/3.0.0/terms/Core/SpdxDocument

Name SpdxDocument
Instantiability Concrete
SubclassOf ElementCollection

Properties

Property Type minCount maxCount
dataLicense /SimpleLicensing/AnyLicenseInfo 0 1
imports ExternalMap 0 *
namespaceMap NamespaceMap 0 *