Snippet
Summary
Describes a certain part of a file.
Description
A Snippet describes a certain part of a file and can be used when the file is known to have some content that has been included from another original source. Snippets are useful for denoting when part of a file may have been originally created under another license or copied from a place with a known vulnerability.
Metadata
https://rdf.spdx.org/v3/Software/Snippet
| Name | Snippet |
| Instantiability | Concrete |
| SubclassOf | /Software/SoftwareArtifact |
Properties
| Property | Type | minCount | maxCount |
|---|---|---|---|
| byteRange | /Core/PositiveIntegerRange | 0 | 1 |
| lineRange | /Core/PositiveIntegerRange | 0 | 1 |
| snippetFromFile | File | 1 | 1 |