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.1/terms/Core/SpdxDocument

Name SpdxDocument
Instantiability Concrete
SubclassOf ElementCollection

Superclasses

/Core/Element
       /Core/ElementCollection
             /Core/SpdxDocument

Properties

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

All properties

Property Type minCount maxCount
comment xsd:string 0 1
creationInfo CreationInfo 1 1
dataLicense AnyLicenseInfo 0 1
description xsd:string 0 1
element Element 0 *
extension Extension 0 *
externalIdentifier ExternalIdentifier 0 *
externalRef ExternalRef 0 *
import ExternalMap 0 *
name xsd:string 0 1
namespaceMap NamespaceMap 0 *
profileConformance ProfileIdentifierType 0 *
rootElement Element 0 *
spdxId xsd:anyURI 1 1
summary xsd:string 0 1
verifiedUsing IntegrityMethod 0 *