core:ExternalMap leaf node


URI

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

Label

ExternalMap

Description

A map of Element identifiers that are used within an SpdxDocument but defined
external to that SpdxDocument.

Shapes (1)

Property Shapes

By the associated SHACL property shapes, instances of core:ExternalMap can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
core:ExternalMap
core:definingArtifact owl:ObjectProperty Artifact representing a serialization instance of SPDX data containing the definition of a particular Element. 0 1 core:Artifact
sh:IRI
core:Artifact
core:externalSpdxId owl:DatatypeProperty Identifies an external Element used within an SpdxDocument but defined external to that SpdxDocument. 1 1 xsd:anyURI
sh:Literal
xsd:anyURI
core:locationHint owl:DatatypeProperty Provides an indication of where to retrieve an external Element. 0 1 xsd:anyURI
sh:Literal
xsd:anyURI
core:verifiedUsing owl:ObjectProperty Provides an IntegrityMethod with which the integrity of an Element can be asserted. 0 * core:IntegrityMethod
sh:BlankNodeOrIRI
core:IntegrityMethod

Implementation

@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

core:ExternalMap a owl:Class,
        sh:NodeShape ;
    rdfs:comment """A map of Element identifiers that are used within an SpdxDocument but defined
external to that SpdxDocument."""@en ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:property [ sh:class core:Artifact ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path core:definingArtifact ],
        [ sh:datatype xsd:anyURI ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:locationHint ],
        [ sh:datatype xsd:anyURI ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:externalSpdxId ],
        [ sh:class core:IntegrityMethod ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:verifiedUsing ] .