Technical Team/Proposals/Yet another rough proposal for conceptual model of SPDX 2

From SPDX Wiki
Jump to: navigation, search

This conceptual model is an attempt to incrementally add hierarchy and provenance capabilities to the existing SPDX model. Many of the <a href="http://spdx.org/wiki/spdx-20-use-cases">use cases</a> have been considered but further analysis is necessary to ensure that this model covers all scenarios.

<img src="http://spdx.org/system/files/conceptual-model_0.png"/>

This model supports hierarchy by allowing the assertion that a file in one package is the same entity as, or was built from, another package or one or more files in another package. Reuse is supported by allowing an SPDX file to include other SPDX files verbatim. Provenance of the files is supported by allowing explicit statements about who possesses right for a files and under what licenses they allow copying.

Reuse of SPDX data by inclusion of other SPDX files means that an SPDX file would contain an rdf or tag-value encoded dataset for the package(s) it directly describes, and additionally any number of other SPDX files for components it contains. Those sub-packages might, in turn, include other SPDX files.

<img src="http://spdx.org/system/files/file-layout_0.png"/>

Provenance of the SPDX data is supported by allowing each SPDX dataset to be cryptographically signed. Those signed datasets are included verbatim so their sources are easily identified. Datasets are signed at each level and those signatures enclose all the sub datasets so all the analysis is covered by the signature.<p>