core:ExternalRef leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Core/ExternalRef

Label

ExternalRef

Description

A reference to a resource outside the scope of SPDX-3.0 content related to an Element.

Targets (1)

Node Constraints

value type sh:BlankNodeOrIRI

Property Constraints (4)

Focus nodes of this shape (core:ExternalRef) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
core:comment Provide consumers with comments by the creator of the Element about the Element. 0 1 xsd:string
sh:Literal
core:contentType Provides information about the content type of an Element or a Property. 0 1 xsd:string
sh:Literal
sh:pattern ^[^\/]+\/[^\/]+$
core:externalRefType Specifies the type of the external reference. 0 1 core:ExternalRefType
sh:IRI
sh:in core:ExternalRefType/altDownloadLocation, core:ExternalRefType/altWebPage, core:ExternalRefType/binaryArtifact, core:ExternalRefType/bower, core:ExternalRefType/buildMeta, core:ExternalRefType/buildSystem, core:ExternalRefType/chat, core:ExternalRefType/certificationReport, core:ExternalRefType/componentAnalysisReport, core:ExternalRefType/cwe, core:ExternalRefType/documentation, core:ExternalRefType/dynamicAnalysisReport, core:ExternalRefType/eolNotice, core:ExternalRefType/exportControlAssessment, core:ExternalRefType/funding, core:ExternalRefType/issueTracker, core:ExternalRefType/mailingList, core:ExternalRefType/mavenCentral, core:ExternalRefType/metrics, core:ExternalRefType/npm, core:ExternalRefType/nuget, core:ExternalRefType/license, core:ExternalRefType/other, core:ExternalRefType/privacyAssessment, core:ExternalRefType/productMetadata, core:ExternalRefType/purchaseOrder, core:ExternalRefType/qualityAssessmentReport, core:ExternalRefType/releaseNotes, core:ExternalRefType/releaseHistory, core:ExternalRefType/riskAssessment, core:ExternalRefType/runtimeAnalysisReport, core:ExternalRefType/secureSoftwareAttestation, core:ExternalRefType/securityAdvisory, core:ExternalRefType/securityAdversaryModel, core:ExternalRefType/securityFix, core:ExternalRefType/securityOther, core:ExternalRefType/securityPenTestReport, core:ExternalRefType/securityPolicy, core:ExternalRefType/securityThreatModel, core:ExternalRefType/socialMedia, core:ExternalRefType/sourceArtifact, core:ExternalRefType/staticAnalysisReport, core:ExternalRefType/support, core:ExternalRefType/vcs, core:ExternalRefType/vulnerabilityDisclosureReport, core:ExternalRefType/vulnerabilityExploitabilityAssessment
core:locator Provides the location of an external reference. 0 * xsd:string
sh:Literal

Implementation

@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

core:ExternalRef a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A reference to a resource outside the scope of SPDX-3.0 content related to an Element."@en ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path core:locator ],
        [ sh:class core:ExternalRefType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/altDownloadLocation> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/altWebPage> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/binaryArtifact> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/bower> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/buildMeta> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/buildSystem> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/chat> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/certificationReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/componentAnalysisReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/cwe> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/documentation> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/dynamicAnalysisReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/eolNotice> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/exportControlAssessment> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/funding> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/issueTracker> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/mailingList> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/mavenCentral> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/metrics> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/npm> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/nuget> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/license> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/other> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/privacyAssessment> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/productMetadata> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/purchaseOrder> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/qualityAssessmentReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/releaseNotes> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/releaseHistory> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/riskAssessment> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/runtimeAnalysisReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/secureSoftwareAttestation> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityAdvisory> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityAdversaryModel> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityFix> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityOther> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityPenTestReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityPolicy> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/securityThreatModel> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/socialMedia> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/sourceArtifact> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/staticAnalysisReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/support> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/vcs> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/vulnerabilityDisclosureReport> <https://spdx.org/rdf/3.0.1/terms/Core/ExternalRefType/vulnerabilityExploitabilityAssessment> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path core:externalRefType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:comment ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:contentType ;
            sh:pattern "^[^\\/]+\\/[^\\/]+$" ] .