https://spdx.org/rdf/3.0.1/terms/Software/Package
Refers to any unit of content that can be associated with a distribution of
software.
Focus nodes of this shape (software:Package) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| software:downloadLocation | Identifies the download Uniform Resource Identifier for the package at the time that the document was created. | 0 | 1 | xsd:anyURI sh:Literal |
|
| software:homePage | A place for the SPDX document creator to record a website that serves as the package's home page. | 0 | 1 | xsd:anyURI sh:Literal |
|
| software:packageUrl | Provides a place for the SPDX data creator to record the package URL string (in accordance with the Package URL specification) for a software Package. | 0 | 1 | xsd:anyURI sh:Literal |
|
| software:packageVersion | Identify the version of a package. | 0 | 1 | xsd:string sh:Literal |
|
| software:sourceInfo | Records any relevant background information or additional comments about the origin of the package. | 0 | 1 | xsd:string sh:Literal |
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix software: <https://spdx.org/rdf/3.0.1/terms/Software/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
software:Package a owl:Class,
sh:NodeShape ;
rdfs:comment """Refers to any unit of content that can be associated with a distribution of
software."""@en ;
rdfs:subClassOf software:SoftwareArtifact ;
sh:nodeKind sh:IRI ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:sourceInfo ],
[ sh:datatype xsd:anyURI ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:homePage ],
[ sh:datatype xsd:anyURI ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:downloadLocation ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:packageVersion ],
[ sh:datatype xsd:anyURI ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
sh:path software:packageUrl ] .